I want to integrate tavily.com into my GPT. I keep getting the following error which I do not have enough information to debug. I copied in the yamal fioe
debug] Response received
{
“function_name”: “searchData”,
“domain”: “api.tavily.com”,
“message”: “The requested action requires approval”,
“action_id”: “g-88b37b889b4908f284862be51c41648ff56fa945”
} Action Schema
openapi: 3.0.3
info:
version: 1.0.0
title: Randolph Hill Search System
termsOfService: Terms of Use | SmartBear Software
contact:
email: [my email]
license:
name: Apache 2.0
url: Apache License, Version 2.0
servers:
url: https://api.tavily.com
paths:
/search:
post:
operationId: searchData
description: API will search the internet for information requested.
parameters:
- name: api_key
in: query
description: Your unique API key.
required: true
schema:
type: string
example: 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
- name: query
in: query
description: The search query string.
required: true
schema:
type: string
example: Joe Biden meeting with President Xi Jinping
- name: max_results
in: query
description: The maximum number of search results to return.
required: false
schema:
type: integer
example: 5
responses:
‘200’:
description: Successful response
content:
application/json:
schema:
type: object
properties:
query:
type: string
follow_up_questions:
type: array
items:
type: string
answer:
type: string
images:
type: array
items:
type: string
results:
type: array
items:
type: object
properties:
title:
type: string
url:
type: string
content:
type: string
score:
type: number
raw_content:
type: string
response_time:
type: number
components:
schemas: {}
Same here. I don’t even see any connection in the logs on my server.
Edit: I’ve tried use regular chat to access the API, and it appear that it use only Bing for connection (maybe it is only regular chat functionality and GPTs use stand alone crowler). But due to fact that domain is not present in bing it failed to access it. Also it wrote to me that not being able to read robots.txt means that by default it won’t process any link from this domain.
I’ve changed the domain of the api from .name1.com.mx to .name2.mx , pointing to another ip. and i’m getting still the same mistake , somehow discarding a blacklist on the domain name.
It seems the problem originated from the OpenAPI declaration. I rewrote the declaration using the weather example as a basis, and the problem was solved.