Request event of LLM vendor API.

interface IRequest {
    body: ChatCompletionCreateParamsStreaming;
    created_at: string & Format<"date-time">;
    id: string;
    options?: RequestOptions;
    source: AgenticaEventSource;
    type: "request";
}

Hierarchy

  • IBase<"request">
    • IRequest

Properties

body: ChatCompletionCreateParamsStreaming

Request body.

created_at: string & Format<"date-time">

Creation timestamp of the event.

id: string

Primary key of the event.

options?: RequestOptions

Options for the request.

The source agent of the request.

type: "request"

Discriminator type.