alex4321 / langchain-openai-limiter

MIT License
12 stars 5 forks source link

Issue when working with Huge Embeddings #3

Open Yanni8 opened 8 months ago

Yanni8 commented 8 months ago

The Library works great for small Embeddings. But it fails when trying to embedd an number of text chunks, where the total text token lenghth > remaining tokens. Is there any way to prevent this from happening. This isn't an issue for all chat models, but it is really annoying when working with Embeddings