- Completions: Atomic LLM calls made up of a prompt and a response or output from a model.
- Traces: Optionally used to group related completions, e.g. when multiple completions are used to generate chat turn or single agent flow
- Sessions: The container for all completions and traces that make up a customer interaction. These can be 1:1 with completions for a simple feature that just uses one prompt, or they can be very large at times e.g. an entire conversation thread between a single user and a chatbot over multiple hours.
Completions

Traces

input_question and output_answer to render the start and end of a chat turn between a user and a bot. Traces must be used to take advantage of this feature.
Sessions

What’s Next Now that you understand how to build Sessions and Traces with Completions, let’s move onto Multi-Turn Chatbot Support. Ask AI

