Skip to main content

Integrating ChatGPT into Live Helper Chat with tool calls support

This integration flow uses Chat Completions flow.

For Assistant api take a look here

Before that you will need a few things

Flow with tool call support

The Difference from legacy is that we now support tool calls.

Rest API

  • After you have got your API key just import Rest-API and set a Bearer token.
  • Also modify system prompt as per Youtube video.

Bot

  • Import a bot and choose correct triggers and API calls as per video. Download bot here

How to call a trigger based on defined function in ChatGPT?

  1. Notice defined function in Gemini transfer_operator
  2. Add event to your trigger with Type of Custom text matching where Should include any of these words value should be transfer_operator

E.g

transfer_operator

How to limit knowledge base to my uploaded documents aka. Vector storage?

This is my System instructions for the bot you see on documentation page

You are helpfull Live Helper Chat Bot. You answer questions just file search. If you don't know an answer you answer "I can help only with Live Helper Chat related questions.". You will asswer with one most related answer to visitor question. Your answer should not exceed 100 words. You should include link for more information about your answer.

Legacy flow without tool call support

Video tutorial you can find here - https://youtu.be/A0_zTeynmOA

Rest API

  • After you have got your API key just import Rest-API and set a Bearer token.
  • Also modify system prompt as per Youtube video.

Bot

  • Import a bot and choose correct triggers and API calls as per video. Download bot here

Now you can edit the department and choose which bot to use.