heymenn commited on
Commit
b792ddc
1 Parent(s): da35bf4

Update excel_chat.py

Browse files
Files changed (1) hide show
  1. excel_chat.py +1 -2
excel_chat.py CHANGED
@@ -69,10 +69,9 @@ def ask_llm(query, user_input, client_index, user, keys):
69
  elif "Perplexity" in client_index:
70
  client = OpenAI(api_key=os.environ["PERPLEXITY_ALMAA"], base_url="https://api.perplexity.ai")
71
  model_map = {
72
- "Perplexity Mixtral": "mixtral-8x7b-instruct",
73
  "Perplexity Llama3 70b": "llama-3-70b-instruct",
74
  "Perplexity Llama3 8b": "llama-3-8b-instruct",
75
- "Perplexity Llama3 Sonar Small": "llama-3-sonar-small-32k-chat"
76
  "Perplexity Llama3 Sonar Large": "llama-3-sonar-large-32k-chat"
77
  }
78
  response = client.chat.completions.create(
 
69
  elif "Perplexity" in client_index:
70
  client = OpenAI(api_key=os.environ["PERPLEXITY_ALMAA"], base_url="https://api.perplexity.ai")
71
  model_map = {
 
72
  "Perplexity Llama3 70b": "llama-3-70b-instruct",
73
  "Perplexity Llama3 8b": "llama-3-8b-instruct",
74
+ "Perplexity Llama3 Sonar Small": "llama-3-sonar-small-32k-chat",
75
  "Perplexity Llama3 Sonar Large": "llama-3-sonar-large-32k-chat"
76
  }
77
  response = client.chat.completions.create(