InMemoryConversationStore
Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new InMemoryConversationStore(): InMemoryConversationStore;Returns
Section titled “Returns”InMemoryConversationStore
Methods
Section titled “Methods”closeConversation()
Section titled “closeConversation()”closeConversation(conversationId): Promise<void>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
Returns
Section titled “Returns”Promise<void>
Implementation of
Section titled “Implementation of”ConversationStore.closeConversation
listSessions()
Section titled “listSessions()”listSessions(conversationId): Promise<Session[]>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
Returns
Section titled “Returns”Promise<Session[]>
Implementation of
Section titled “Implementation of”ConversationStore.listSessions
resolveConversationId()
Section titled “resolveConversationId()”resolveConversationId(opts): Promise<string>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
{ |
|
|
|
|
|
|
|
|
|
Returns
Section titled “Returns”Promise<string>
Implementation of
Section titled “Implementation of”ConversationStore.resolveConversationId
upsertSession()
Section titled “upsertSession()”upsertSession(session): Promise<void>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
Returns
Section titled “Returns”Promise<void>