Chat API
This document provides a guide on using the Chat endpoint to create a Chatbot that responds to input queries considering previous context. It covers setting up the SDK, defining model settings, generating responses, and various ways of using the Chat endpoint, including interacting directly, continuing conversations, and using document and connector modes. It also explains streaming responses from the Chat endpoint and provides next steps for building products.
In this guide, we show how to use the Chat endpoint to create a simple Chatbot that, given an input query, responds to it considering the previous context.
Getting Set Up
Section titled “Getting Set Up”First, let's install the SDK (the examples below are in Python, Typescript, and Go):