We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bisheng-backend | File "/usr/local/lib/python3.10/site-packages/bisheng_langchain/vectorstores/milvus.py", line 485, in add_texts bisheng-backend | embeddings = self.embedding_func.embed_documents(texts) bisheng-backend | | | | -> ['环氧胶黏剂 第2版_14214335_1-100.docx\n环氧胶黏剂:实用配方与制备实例(第二版)\n----------\nEPOXY ADHESIVE\n\n环氧胶黏剂\n\nEPOXY ADHESIVE\n\n环氧胶黏剂 \n\n... bisheng-backend | | | -> <function BishengEmbedding.embed_documents at 0x7f2faca5cdc0> bisheng-backend | | -> BishengEmbedding(model_id='8', model='text-embedding-v3', embedding_ctx_length=8192, max_retries=6, request_timeout=200, mode... bisheng-backend | -> <bisheng_langchain.vectorstores.milvus.Milvus object at 0x7f2f65ec4b20> bisheng-backend | bisheng-backend | File "/app/bisheng/interface/utils.py", line 127, in wrapper bisheng-backend | return func(*args, **kwargs) bisheng-backend | | | -> {} bisheng-backend | | -> (BishengEmbedding(model_id='8', model='text-embedding-v3', embedding_ctx_length=8192, max_retries=6, request_timeout=200, mod... bisheng-backend | -> <function BishengEmbedding.embed_documents at 0x7f2faca5cd30> bisheng-backend | bisheng-backend | File "/app/bisheng/interface/embeddings/custom.py", line 163, in embed_documents bisheng-backend | raise Exception(f'embedding error: {e}') bisheng-backend | bisheng-backend | Exception: embedding error: status_code: 400 bisheng-backend | code: InvalidParameter bisheng-backend | message: batch size is invalid, it should not be larger than 6.: payload.input.contents
The text was updated successfully, but these errors were encountered:
换个别的类型的文件,例如txt, pdf试试。
看错误信息应该走的自定义embedding, 但是出错了。
Sorry, something went wrong.
No branches or pull requests
bisheng-backend | File "/usr/local/lib/python3.10/site-packages/bisheng_langchain/vectorstores/milvus.py", line 485, in add_texts
bisheng-backend | embeddings = self.embedding_func.embed_documents(texts)
bisheng-backend | | | | -> ['环氧胶黏剂 第2版_14214335_1-100.docx\n环氧胶黏剂:实用配方与制备实例(第二版)\n----------\nEPOXY ADHESIVE\n\n环氧胶黏剂\n\nEPOXY ADHESIVE\n\n环氧胶黏剂 \n\n...
bisheng-backend | | | -> <function BishengEmbedding.embed_documents at 0x7f2faca5cdc0>
bisheng-backend | | -> BishengEmbedding(model_id='8', model='text-embedding-v3', embedding_ctx_length=8192, max_retries=6, request_timeout=200, mode...
bisheng-backend | -> <bisheng_langchain.vectorstores.milvus.Milvus object at 0x7f2f65ec4b20>
bisheng-backend |
bisheng-backend | File "/app/bisheng/interface/utils.py", line 127, in wrapper
bisheng-backend | return func(*args, **kwargs)
bisheng-backend | | | -> {}
bisheng-backend | | -> (BishengEmbedding(model_id='8', model='text-embedding-v3', embedding_ctx_length=8192, max_retries=6, request_timeout=200, mod...
bisheng-backend | -> <function BishengEmbedding.embed_documents at 0x7f2faca5cd30>
bisheng-backend |
bisheng-backend | File "/app/bisheng/interface/embeddings/custom.py", line 163, in embed_documents
bisheng-backend | raise Exception(f'embedding error: {e}')
bisheng-backend |
bisheng-backend | Exception: embedding error: status_code: 400
bisheng-backend | code: InvalidParameter
bisheng-backend | message: batch size is invalid, it should not be larger than 6.: payload.input.contents
The text was updated successfully, but these errors were encountered: