Skip to content
Snippets Groups Projects
Unverified Commit d4e79d9d authored by James Briggs's avatar James Briggs Committed by GitHub
Browse files

Update semantic_router/encoders/openai.py

parent 254fea19
No related branches found
No related tags found
No related merge requests found
......@@ -80,7 +80,6 @@ class OpenAIEncoder(BaseEncoder):
if truncate:
# check if any document exceeds token limit and truncate if so
for i in range(len(docs)):
# logger.info(f"Document {i+1} length: {len(docs[i])}")
docs[i] = self._truncate(docs[i])
# logger.info(f"Document {i+1} trunc length: {len(docs[i])}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment