dimagi / open-chat-studio

A web based platform for building Chatbots backed by Large Language Models
BSD 3-Clause "New" or "Revised" License
14 stars 7 forks source link

API: Endpoints to create a session with custom history #475

Closed SmittieC closed 2 months ago

SmittieC commented 3 months ago

We need the ability to create a new session for an experiment with a custom conversation history. The user needs to specify the experiment for which they want to create the session as well as the AI+human messages to populate the conversation history with.

We also need to pass in the session id when the user chat through the api to select which session they should chat to

Instead of deleting experiment sessions, we could rather hide them from the experiment session view

SmittieC commented 3 months ago

Hold off for now

SmittieC commented 3 months ago

There's a section at the bottom of this doc with the API spec.