Skip to content

Commit

Permalink
remove irrelevant code
Browse files Browse the repository at this point in the history
  • Loading branch information
mzaispace committed Sep 14, 2024
1 parent 6f26130 commit 6062675
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion dbgpt/rag/embedding/embeddings.py
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,6 @@ def embed_documents(self, texts: List[str], max_batch_chunks_size=25) -> List[Li
resp = TextEmbedding.call(
model=self.model_name, input=batch_texts, api_key=self._api_key
)
print(resp)
if "output" not in resp:
raise RuntimeError(resp["message"])

Expand Down

0 comments on commit 6062675

Please sign in to comment.