mirror of
https://github.com/langchain-ai/langchain.git
synced 2026-10-12 12:55:19 +03:00
I modified the logic of the batch calculation for embedding according to this cookbook https://github.com/openai/openai-cookbook/blob/main/examples/Embedding_long_inputs.ipynb