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;
     name: string;
  };
}
  | {
  functionResponse: {
     name: string;
     response: object;
  };
}
  | {
  fileData: {
     fileUri: string;
     mimeType: string;
  };
}
  | {
  executableCode: object;
}
  | {
  codeExecutionResult: object;
};

Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/ai/google-gemini/types.ts#L74

Type declaration

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