The Assistant API does not work correctly as the custom GPT does

I see. Well, in principle it should be possible to achieve all that with the Assistant if you are willing to do some coding. As said, you’d have to add a function call for web search if this is a critical component of your approach - in the current configuration of the Assistant, there is no way around that.

If you are intending to give it a try, here’s any example of the function description for the Bing search.

{
  "name": "BingSearch",
  "description": "Describe here under which circumstances to use the Bing search and what types of steps to perform as part of the search",
  "parameters": {
    "type": "object",
    "properties": {
      "query": {
        "type": "string",
        "description": "The search query"
      }
    },
    "required": [
      "query"
    ]
  }
}
1 Like