Interface: Conversation<CustomData>
ragCore.Conversations.Conversation
Conversation between the user and the chatbot as stored in the database.
Type parameters
Name | Type |
---|---|
CustomData | extends ConversationCustomData = ConversationCustomData |
Properties
_id
• _id: ObjectId
Defined in
mongodb-rag-core/build/conversations/ConversationsService.d.ts:116
createdAt
• createdAt: Date
The date the conversation was created.
Defined in
mongodb-rag-core/build/conversations/ConversationsService.d.ts:120
customData
• Optional
customData: CustomData
Custom data to include in the Conversation persisted to the database. You can pass this data to the () method.
Defined in
mongodb-rag-core/build/conversations/ConversationsService.d.ts:127
messages
• messages: Message
[]
Messages in the conversation.
Defined in
mongodb-rag-core/build/conversations/ConversationsService.d.ts:118
requestOrigin
• Optional
requestOrigin: string
The hostname that the request originated from.
Defined in
mongodb-rag-core/build/conversations/ConversationsService.d.ts:122