### Answer
I don't have specific information about GPT-4.1 behavior for general questions outside of scripts or knowledge bases in the available sources. However, I can explain how knowledge bases work with agents in Retell AI.
When a knowledge base is linked to an agent, the agent will automatically try to retrieve information from the knowledge base before responding [(1) ](
) . The system uses the transcript so far to find the most relevant chunks from the knowledge base and feeds them to the LLM as context .
The knowledge base is intended to supply supporting information to the agent and should not be used to provide instructions or prompts to the agent . Instead, you should use the agent's prompt for instructions on how to handle different scenarios, including what to do when questions fall outside the intended scope.
You might want to adjust your agent's prompt to specify how it should handle general questions that aren't covered by your script or knowledge base. This could include instructions to politely redirect the conversation back to the intended topic or provide a specific response for out-of-scope questions.
Check out these potentially useful sources: [Knowledge Base](
) , [Update Agent](
) , [Empower AI with Dynamic Knowledge Bases | Retell AI](
)
Would you like a general answer based on my knowledge about how LLMs typically handle out-of-scope questions?