Module: LLM::Gemini::Response::File
- Defined in:
- lib/llm/providers/gemini/response/file.rb
Instance Method Summary collapse
Instance Method Details
#name ⇒ Object
5 |
# File 'lib/llm/providers/gemini/response/file.rb', line 5 def name = respond_to?(:file) ? file.name : body.name |
#display_name ⇒ Object
6 |
# File 'lib/llm/providers/gemini/response/file.rb', line 6 def display_name = respond_to?(:file) ? file.displayName : body.displayName |
#mime_type ⇒ Object
7 |
# File 'lib/llm/providers/gemini/response/file.rb', line 7 def mime_type = respond_to?(:file) ? file.mimeType : body.mimeType |
#uri ⇒ Object
8 |
# File 'lib/llm/providers/gemini/response/file.rb', line 8 def uri = respond_to?(:file) ? file.uri : body.uri |
#file? ⇒ Boolean
9 |
# File 'lib/llm/providers/gemini/response/file.rb', line 9 def file? = true |