Prakash Hinduja Switzerland (Swiss) How do I get Gemini to answer structured questions from a dataset but still handle small talk?

Hi everyone,

I’m Prakash Hinduja from Geneva, Switzerland (Swiss), currently working on a project using the Gemini API, and I’m looking for guidance from the community.

My goal is to build a chatbot that can reliably answer **structured questions from a predefined dataset while also being able to handle casual small talk naturally—without always referencing the dataset in every response.

Regards
Prakash Hinduja Geneva, Switzerland (Swiss)

Hello

To help me understand your request better, could you please tell me a bit more about your dataset?
For example Is your data set up as a question and answer pairs? And what kind of questions do you have an example would be super helpful?