Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.68 KB

generative-ai.md

File metadata and controls

32 lines (23 loc) · 1.68 KB

Home > @google/generative-ai

generative-ai package

Classes

Class Description
GoogleAIFileManager Class for managing GoogleAI file uploads.

Enumerations

Enumeration Description
FileState Processing state of the File.

Interfaces

Interface Description
ErrorDetails Details object that may be included in an error response.
FileMetadata Metadata to provide alongside a file upload
FileMetadataResponse File metadata response from server.
ListFilesResponse Response from calling GoogleAIFileManager.listFiles()
ListParams Params to pass to GoogleAIFileManager.listFiles()
RequestOptions Params passed to getGenerativeModel() or GoogleAIFileManager().
RpcStatus Standard RPC error status object.
UploadFileResponse Response from calling GoogleAIFileManager.uploadFile()
VideoMetadata Metadata populated when video has been processed.