Problems with executing actions in GPT: 'Starting Action' without response from the server when using Knowledge document

“Why does my GPT, which has a Knowledge document and two actions connected to a database with contacts and properties, not properly execute the actions or make the HTTP call when trying to answer questions about contacts or properties? When I don’t include the Knowledge document, the GPT seems to work fine, but when I add it, it only displays the message ‘Starting Action,’ with no response from the server. Even with this message, the GPT responds again based on the Knowledge instead of the action. What could be causing this issue?”

Detailed information:

Problem with integrating Knowledge documents into a GPT with access to external data in NocoDB

I am working on integrating a Knowledge document into a GPT that must execute actions and queries in real time against an external database in NocoDB. I have noticed that when adding the Knowledge document, the GPT stops executing the expected action and only responds based on the document, without making the HTTP call.

Behavior without Knowledge document

When I make a query without the Knowledge document, the response is as expected:

Query:

“Give me the contacts of Massanassa”

Response (Debug):

[debug] Calling HTTP endpoint

{

“domain”: “app.nocodb.xxx”,

“method”: “get”,

“path”: “/api/v2/tables/mboyvll6apnueko/records”,

“operation”: “getContactsList”,

“operation_hash”: “04bc0d49a597ced1f62cd9ae6d3e580a3b3476a6”,

“is_consequential”: false,

“params”: {

“where”: “(locality,eq,Massanassa)”

}

}

[debug] Response received

{

“response_data”: {

“list”: [

{

“contact_type”: “Volunteer Coordination”,

“contact_name”: “María Rodríguez”,

“phone_number”: “+34 645-749-155”,

“locality”: “Massanassa”,

“address”: “Calle Mayor, 48”,

“map_url”: “googledomain/maps/search/?api=1&query=Calle+Mayor,+48,+Massanassa,+Valencia”

}

],

“status_code”: 200

}

}

Chat output:

Here are the contacts registered in Massanassa:

  1. María Rodríguez - Volunteer Coordination, Phone: +34 645-749-155, Address: Calle Mayor, 48

Behavior with the Knowledge document

When I activate the Knowledge document and make related queries, the GPT only responds with general information about the document, without performing the Action:

Query:

“I’m going to Valencia tomorrow, I want information about volunteering”

GPT Response:

For your visit to Valencia, here is relevant information about volunteering and accommodation:

  1. Volunteering and Assistance:
  • There are regional contact numbers on WhatsApp that have been established to coordinate and request help in various areas, which facilitates communication and access to local resources.

  • The Red Cross and other emergency services are available to offer immediate assistance and guidance in case of need.

  1. Accommodations for Volunteers and Affected People:
  • Valencia has shelters and refuge centers available for both those affected by DANA and volunteers.

  • It is recommended to contact the accommodation centers beforehand to verify availability.

Additional query:

“What regional numbers do you have?”

Response (Debug):

[debug] Calling HTTP endpoint

{

“domain”: “app.nocodb.xxx”,

“method”: “get”,

“path”: “/api/v2/tables/mboyvll6apnueko/records”,

“operation”: “getContactsList”,

“operation_hash”: “04bc0d49a597ced1f62cd9ae6d3e580a3b3476a6”,

“is_consequential”: false,

“params”: {

“where”: “(contact_type,eq,regional)”,

“fields”: “contact_name,phone_number,locality,province”,

“limit”: 5

}

}

Starting action

Chat response:

The available document mentions that regional contact numbers have been established through WhatsApp to coordinate aid and facilitate access to local resources in various affected areas.

For region-specific numbers, I would recommend checking with the local coordinating organization or emergency contact points available in the Valencia area.

Note: By having Knowledge enabled, the GPT the action is triggered but is not getting any response, is not even receiving a status code, and only responds using the Knowledge document.

Need

I am looking for a way to configure the GPT so that it can simultaneously use the Knowledge document and perform HTTP actions as needed, prioritizing the action when real-time information is required from the database. If you have examples of specific prompts or steps to achieve this integration, it would be very helpful.

Regards