ragflow icon indicating copy to clipboard operation
ragflow copied to clipboard

[Bug]: Azure OpenAI model only GPT3.5 on web demo

Open robertobalestri opened this issue 1 year ago • 2 comments

Is there an existing issue for the same bug?

  • [X] I have checked the existing issues.

Branch name

main

Commit ID

2e33ed3

Other environment information

No response

Actual behavior

Get this error because i have only deployed instances of gpt-4o and 4o-mini.

Fail to access model(azure-gpt-35-turbo) using this api key.ERROR: Error code: 404 - {'error': {'code': 'DeploymentNotFound', 'message': 'The API deployment for this resource does not exist. If you created the deployment within the last 5 minutes, please wait a moment and try again.'}}

Expected behavior

The user should be able to use other models instead of GPT 3.5.

Steps to reproduce

Just try to insert you api key and deployment name under settings.

Additional information

No response

robertobalestri avatar Oct 08 '24 10:10 robertobalestri

What's the version of the docker image? It is fixed in latest version. You need to mannually delete all records in DB of table llm and restart the system.

KevinHuSh avatar Oct 09 '24 02:10 KevinHuSh

No, i'm talking about the web demo that is not updated

robertobalestri avatar Oct 09 '24 13:10 robertobalestri