LeoWalker commited on
Commit
3bcf0cc
·
verified ·
1 Parent(s): 386b978

updated to perplexity new model

Browse files
Files changed (1) hide show
  1. helpers.py +1 -1
helpers.py CHANGED
@@ -59,7 +59,7 @@ def query_perplexity(query):
59
  "Authorization": f"Bearer {PERPLEXITY_API_KEY}",
60
  }
61
  data = {
62
- "model": "llama-3-sonar-large-32k-online",
63
  "stream": False,
64
  "max_tokens": 1024,
65
  "frequency_penalty": 1,
 
59
  "Authorization": f"Bearer {PERPLEXITY_API_KEY}",
60
  }
61
  data = {
62
+ "model": "llama-3.1-sonar-small-128k-online",
63
  "stream": False,
64
  "max_tokens": 1024,
65
  "frequency_penalty": 1,