eosphoros-ai / DB-GPT-Hub

A repository that contains models, datasets, and fine-tuning techniques for DB-GPT, with the purpose of enhancing model performance in Text-to-SQL
MIT License
1.33k stars 180 forks source link

how to configure azure llm and embedding model ? #220

Open aaadrain opened 7 months ago

aaadrain commented 7 months ago

my .env file : LLM_MODEL=proxyllm PROXY_API_KEY=cxxxxxx2 PROXY_API_BASE=https://{domain}.openai.azure.com/ proxy_server_url=https://{domain}.openai.azure.com/ PROXY_API_TYPE=azure PROXY_API_VERSION=2023-07-01-preview PROXYLLM_BACKEND=gpt-4

PROXY_BACKEND=text-embedding-ada-002 PROXY_DEPLOYMENT=text-embedding-ada-002

log shows: Retrying request to /embeddings in 0.848285 seconds or when i changed proxy_server_url, it show 404.