Represents a single interaction within a chat session.

Fields

question
string
required

The question asked during the chat interaction.

answer
string
required

The answer provided in response to the question.

interaction_timestamp
string
required

The timestamp marking when the interaction occurred.

date_created
datetime
required

The datetime when the interaction was created.

last_updated
datetime
required

The datetime when the interaction was last updated.

scope
ChatScope | None

The scope of the chat interaction, defining the context or domain: ChatScope

sources
list[ChatSource]

A list of sources associated with the chat interaction: ChatSource