Spaces:
Paused
Paused
MEOW commited on
Update app.py
Browse files
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}/
|
| 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
|