Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -17,8 +17,13 @@ HELICON_API_KEY = os.getenv("HELICON_API_KEY")
|
|
17 |
SUPABASE_USER = os.environ['SUPABASE_USER']
|
18 |
SUPABASE_PASSWORD = os.environ['SUPABASE_PASSWORD']
|
19 |
|
20 |
-
|
21 |
-
|
|
|
|
|
|
|
|
|
|
|
22 |
|
23 |
SysPromptJson = "You are now in the role of an expert AI who can extract structured information from user request. Both key and value pairs must be in double quotes. You must respond ONLY with a valid JSON file. Do not add any additional comments."
|
24 |
SysPromptList = "You are now in the role of an expert AI who can extract structured information from user request. All elements must be in double quotes. You must respond ONLY with a valid python List. Do not add any additional comments."
|
|
|
17 |
SUPABASE_USER = os.environ['SUPABASE_USER']
|
18 |
SUPABASE_PASSWORD = os.environ['SUPABASE_PASSWORD']
|
19 |
|
20 |
+
# Groq model names
|
21 |
+
llm_default_small = "llama3-8b-8192"
|
22 |
+
llm_default_medium = "llama3-70b-8192"
|
23 |
+
|
24 |
+
# Together Model names (fallback)
|
25 |
+
llm_fallback_small = "meta-llama/Llama-3-8b-chat-hf"
|
26 |
+
llm_fallback_medium = "meta-llama/Llama-3-70b-chat-hf"
|
27 |
|
28 |
SysPromptJson = "You are now in the role of an expert AI who can extract structured information from user request. Both key and value pairs must be in double quotes. You must respond ONLY with a valid JSON file. Do not add any additional comments."
|
29 |
SysPromptList = "You are now in the role of an expert AI who can extract structured information from user request. All elements must be in double quotes. You must respond ONLY with a valid python List. Do not add any additional comments."
|