fromopenaiimportOpenAIclient=OpenAI(base_url="https://api.threerouter.com/v1",api_key="tr-...",)resp=client.chat.completions.create(model="deepseek-v4-flash",messages=[{"role":"user","content":"Explain RAG in 2 sentences."}],)print(resp.choices[0].message.content)
Top comments (0)
Subscribe
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Top comments (0)