Readonly
ctx: GenericActionCtx<DataModel>Readonly
sessionOptional
Readonly
deleteDefaults to internal.langchain.db.deleteMany
Optional
Readonly
index?: IndexNameDefaults to "bySessionId"
Optional
Readonly
insert?: InsertMutationDefaults to internal.langchain.db.insert
Optional
Readonly
lookup?: LookupQueryDefaults to internal.langchain.db.lookup
Optional
Readonly
messageDefaults to "message"
Optional
Readonly
sessionDefaults to "sessionId"
Optional
Readonly
table?: TableNameDefaults to "messages"
Type that defines the config required to initialize the ConvexChatMessageHistory class. At minimum it needs a sessionId and an ActionCtx.