Verba icon indicating copy to clipboard operation
Verba copied to clipboard

{'errors': {'error': [{'message': 'update vector: connection to: OpenAI API failed with status: 429 error: You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.'}]}, 'status': 'FAILED'}

Open fengyunzaidushi opened this issue 1 year ago • 3 comments

Description

image

(INFO) Importing... (INFO) Importing 1 files with BasicReader (INFO) Importing 2024-05-14-16-28-16_升级_Next.js_14.md (SUCCESS) Loaded 1 documents in 0.0s (INFO) Starting Chunking with TokenChunker (SUCCESS) Chunking completed with 19 chunks in 0.01s (INFO) Starting Embedding with ADAEmbedder (ERROR) Embedding not successful: Chunk mismatch for 81ef7a62-e2f3-408c-a48a-68771055e1a0 0 != 19 (ERROR) Chunk mismatch for 81ef7a62-e2f3-408c-a48a-68771055e1a0 0 != 19 when add documents,it show the error:

 {'errors': {'error': [{'message': 'update vector: connection to: OpenAI API failed with status: 429 error: You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.'}]}, 'status': 'FAILED'}

i use the third party openai provider, i am sure my key is availbale ans have enough quota. and i think is the base_url dit not work,

Is this a bug or a feature?

  • [x] Bug
  • [ ] Feature

Steps to Reproduce

git clone https://github.com/weaviate/Verba pip install -e .

i just modify the custome OPENAI_BASE_URL OPENAI_API_KEY to the file .env the .env path is same with the README.md image image

Additional context

fengyunzaidushi avatar May 20 '24 23:05 fengyunzaidushi

Try to reset Verba through the Overview tab to reset the schemas and to make sure that changes like BASE_URL are correctly configured. Let me know if this fixed your issue

thomashacker avatar May 21 '24 08:05 thomashacker

i click the five buton on the left,but still the same error. image

fengyunzaidushi avatar May 21 '24 08:05 fengyunzaidushi

Interesting! Did you check if both the API_KEY and BASE_URL are indeed correct? I would recommend writing a short script verifying that it works

thomashacker avatar May 22 '24 10:05 thomashacker