This commit is contained in:
2026-02-02 07:12:05 -05:00
parent c26e4e5ef0
commit bd8c8616d0
3 changed files with 8 additions and 8 deletions

View File

@@ -101,7 +101,7 @@ def chunk_text(
)
def generate_embeddings_batch(
chunks: list,
embeddings_url: str = "http://embeddings-predictor.ai-ml.svc.cluster.local",
embeddings_url: str = "http://ai-inference-serve-svc.ai-ml.svc.cluster.local:8000/embeddings",
batch_size: int = 32
) -> list:
"""Generate embeddings for all chunks."""