AxAIGoogleGeminiContentPart Generated TypeScript API reference. typescript api api/reference build/apidocs/TypeAlias.AxAIGoogleGeminiContentPart.md type AxAIGoogleGeminiContentPart

AxAIGoogleGeminiContentPart

TypeScript
type AxAIGoogleGeminiContentPart = object & 
  | {
  text: string;
  thought?: boolean;
}
  | {
  thought: string;
}
  | {
  inlineData: {
     data: string;
     mimeType: string;
  };
}
  | {
  functionCall: {
     args: object;
     id?: string;
     name: string;
  };
}
  | {
  functionResponse: {
     id?: string;
     name: string;
     response: object;
  };
}
  | {
  fileData: {
     fileUri: string;
     mimeType: string;
  };
}
  | {
  audioTranscription: {
     text: string;
  };
}
  | {
  executableCode: object;
}
  | {
  codeExecutionResult: object;
};

Defined in: https://github.com/ax-llm/ax/blob/f60ce12a5a7a0de6d7bf420400ca77934ea61504/src/ax/ai/google-gemini/types.ts#L101

Type Declaration

NameType
metadata?{ videoMetadata: object; }
thought?boolean
thought_signature?string
Docs