admin管理员组

文章数量:1393850

I'm using a prompt that looks like this:

Give a relevance score for company "Warple", by looking up their website warpledata 

And code like this:

completion = client.chatpletions.create(
            model="gpt-4o",
            messages=[
                {
                    "role": "user",
                    "content": prompt
                }
            ],
            response_format={ "type": "json_object" }
        )

But I have a feeling the model is not using the website to gather more information. How do I enable this?

本文标签: large language modelHow do I allow web search for GPT using the openai SDKStack Overflow