Integrating Gemini into Live Helper Chat with tool calls support
A good place to start your journey with Gemini is to read the official documentation.
Notes
- Gemini does not have UI like OpenAI where you can upload your docs. You can see their samples how to use a large context window and attach to running bot your docs.
Installation
- Import Rest API
- Import Bot and choose just imported Rest API in import window.
- Replace in newly imported
Rest API
callYOUR_API_KEY
with your API KEY - Adjust
Rest API
call system prompts.
Important
- For debug you can just edit Rest API in back office and check
Log all request and their responses as system messages.
How to call a trigger based on defined function in Gemini?
- Notice defined function in Gemini
transfer_operator
- Add event to your trigger with
Type
ofCustom text matching
whereShould include any of these words
value should betransfer_operator
E.g