MEOW commited on
Commit
7d3d7dc
·
unverified ·
1 Parent(s): 7ca5f4c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ XAI_API_BASE = "https://api.x.ai/v1"
17
  # Construct specific endpoints
18
  XAI_API_KEY = os.getenv('XAI_API_KEY')
19
  XAI_API_URL_CHAT_COMPLETIONS = f"{XAI_API_BASE}/chat/completions"
20
- XAI_API_URL_EMBEDDINGS = f"{XAI_API_BASE}/embedding-models/{model_id}"
21
  #XAI_API_URL_CHAT_COMPLETIONS = f"{XAI_API_BASE}/chat/completions"
22
 
23
  # Custom embedding class for xAI
 
17
  # Construct specific endpoints
18
  XAI_API_KEY = os.getenv('XAI_API_KEY')
19
  XAI_API_URL_CHAT_COMPLETIONS = f"{XAI_API_BASE}/chat/completions"
20
+ XAI_API_URL_EMBEDDINGS = f"{XAI_API_BASE}/embeddings"
21
  #XAI_API_URL_CHAT_COMPLETIONS = f"{XAI_API_BASE}/chat/completions"
22
 
23
  # Custom embedding class for xAI