struct
Google::GenerativeAI::Files
- Google::GenerativeAI::Files
- Struct
- Value
- Object
Defined in:
gemini.crConstructors
Instance Method Summary
- #api_key : String
- #client : Client
- #get(name : String)
- #http : HTTP::Client
- #list(page_size : Int | Nil = nil, page_token : String | Nil = nil)
- #upload(file : Path, content_type : String)
Constructor Detail
def self.new(client : Google::GenerativeAI::Client, http : HTTP::Client = client.http, api_key : String = client.api_key)
#