-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
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
[Bug]: Embedding error in file parsing #1835
Labels
bug
Something isn't working
Comments
Same issue. |
Updates? |
yeah, same issue here :/, with M1 chip |
cike8899
added a commit
to cike8899/ragflow
that referenced
this issue
Aug 7, 2024
1 task
KevinHuSh
pushed a commit
that referenced
this issue
Aug 7, 2024
gpt-4o is not a embedding model. |
Thanks! |
Halfknow
pushed a commit
to Halfknow/ragflow
that referenced
this issue
Nov 11, 2024
### What problem does this PR solve? fix: Embedding error in file parsing infiniflow#1835 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there an existing issue for the same bug?
Branch name
main
Commit ID
unknown
Other environment information
Actual behavior
user_default_llm
inservice_conf.yaml:
factory: 'OpenAI'
api_key: MY_API_KEY
SUCCESS
in parsing status but shows an embedding error:[ERROR]Embedding error:Error code: 403 - {'error': {'message': 'You are not allowed to generate embeddings from this model', 'type': 'invalid_request_error', 'param': None, 'code': None}}
Tried again after configuring OpenAI API key on the Model Providers page. The same error happened.
Expected behavior
Succesful parsing.
Steps to reproduce
Additional information
Error message:
[ERROR]Embedding error:Error code: 403 - {'error': {'message': 'You are not allowed to generate embeddings from this model', 'type': 'invalid_request_error', 'param': None, 'code': None}}
I've verified that my OpenAI API key works and has credit.
The text was updated successfully, but these errors were encountered: