Skip to main content

OvokCreateChatSession

No behavioral description is attached to this declaration. The public signature, parameter and return types, and source location below document its published contract.

Kind: Type alias
Package: @ovok/core

Import​

import { OvokCreateChatSession } from '@ovok/core';

TypeScript shape​

type OvokCreateChatSession = {
assistant: OvokChatAssistant;
participant: string;
title?: string;
messages: {
sender: string;
content: string;
mode?: "assistant" | "user" | "system";
}[];
};

This is a type-level export; it has no call parameters.

Public members​

MemberTypeDetails
assistantOvokChatAssistant—
participantstring—
titlestringOptional. —
messages{ sender: string; content: string; mode?: "assistant" | "user" | "system"; }[]—

Learn the workflow​

Continue with Client Configuration for the workflow context and examples.

Source​

View the declaration in the SDK source.