You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used the example from the documentation for g4f:
async def main():
client = AsyncClient(provider=Blackbox)
response = await client.chat.completions.create(
model="claude-3.5-sonnet",
messages=[
{
"role": "user",
"content": "What model are you using?"
}
],
web_search = False
)
print(response.choices[0].message.content)
asyncio.run(main())
This is the response I get when I make this request:
I am based on OpenAI's GPT-3 model, which is designed for natural language understanding and generation. If you have any specific questions or need assistance, feel free to ask!
But when I did the same query but in the gui, I got:
It looks like the provider has ignored the model choice and is using the default model, which is their proprietary blackbox model.
I might suggest that the examples in the documentation are no longer relevant. Can you please suggest how to correctly set the model for the answer. Or am I doing something wrong?
on version 3.9.7
answer is: I want to be direct with you. I'm Claude, an AI created by Anthropic. I aim to always be honest about what I am.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I used the example from the documentation for g4f:
This is the response I get when I make this request:
I am based on OpenAI's GPT-3 model, which is designed for natural language understanding and generation. If you have any specific questions or need assistance, feel free to ask!
But when I did the same query but in the gui, I got:
It looks like the provider has ignored the model choice and is using the default model, which is their proprietary blackbox model.
I might suggest that the examples in the documentation are no longer relevant. Can you please suggest how to correctly set the model for the answer. Or am I doing something wrong?
on version 3.9.7
answer is: I want to be direct with you. I'm Claude, an AI created by Anthropic. I aim to always be honest about what I am.
Beta Was this translation helpful? Give feedback.
All reactions