Skip to content

Commit feeb133

Browse files
committed
changes as per PR review comment on #260
1 parent bf490b8 commit feeb133

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/_core_features/chat.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ You can also analyze video files or URLs with vision-capable models. RubyLLM wil
154154

155155
```ruby
156156
# Ask about a local video file
157-
chat = RubyLLM.chat(model: 'gemini-2.0-flash')
157+
chat = RubyLLM.chat(model: 'gemini-2.5-flash')
158158
response = chat.ask "What happens in this video?", with: "path/to/demo.mp4"
159159
puts response.content
160160

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,14 +95,14 @@ RubyLLM gives you one beautiful API for all of them. Same interface whether you'
9595

9696
```ruby
9797
# Just ask questions
98-
chat = RubyLLM.chat(model: "gemini-2.0-flash")
98+
chat = RubyLLM.chat
9999
chat.ask "What's the best way to learn Ruby?"
100100
```
101101

102102
```ruby
103103
# Analyze any file type
104104
chat.ask "What's in this image?", with: "ruby_conf.jpg"
105-
chat.ask "What's happening in this video?", with: "presentation.mp4"
105+
chat.ask "What's happening in this video?", with: "video.mp4"
106106
chat.ask "Describe this meeting", with: "meeting.wav"
107107
chat.ask "Summarize this document", with: "contract.pdf"
108108
chat.ask "Explain this code", with: "app.rb"

0 commit comments

Comments
 (0)