Readonly
ctx: GenericActionCtx<DataModel>Optional
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"
Readonly
sessionOptional
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.