Class TextRequestBuilder

Constructors

Properties

request: AITextTraceStepRequest = ...

Methods

  • Parameters

    • chat: Readonly<Readonly<{
          content: string;
          role: "system";
      } | {
          content: string;
          name?: string;
          role: "user";
      } | {
          content: null | string;
          functionCalls?: {
              function: {
                  arguments?: string | object;
                  name: string;
              };
              id: string;
              type: "function";
          }[];
          name?: string;
          role: "assistant";
      } | {
          content: string;
          functionId: string;
          role: "function";
      }>>

    Returns this