Open slavakurilyak opened 8 months ago
import os
from interpreter import interpreter
interpreter.offline = True # Disables online features like Open Procedures
interpreter.llm.model = "sonar-small-chat" # Tells OI to send messages in OpenAI's format
interpreter.llm.api_key = os.environ["PERPLEXITY_API_KEY"]
interpreter.llm.api_base = "https://api.perplexity.ai"
interpreter.chat()
works for me :)
Is your feature request related to a problem? Please describe.
No response
Describe the solution you'd like
It would be great to see LLM-first web browser (aka
interpreter --os
mode) use the new Perplexity sonar models:pplx-7b-online
replaced bysonar-small-online
pplx-70b-online
replaced bysonar-medium-online
Describe alternatives you've considered
No response
Additional context
Here is the official announcement which goes into effect on Mar 15