Skip to content

Commit 81c8aba

Browse files
arnodirlamaltxtech
authored andcommitted
Update docs
1 parent 7a8daa1 commit 81c8aba

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ response = chat.with_schema(ProductSchema).ask "Analyze this product", with: "pr
100100
## Features
101101

102102
* **Chat:** Conversational AI with `RubyLLM.chat`
103-
* **Vision:** Analyze images and screenshots
103+
* **Vision:** Analyze images and videos
104104
* **Audio:** Transcribe and understand speech
105105
* **Documents:** Extract from PDFs, CSVs, JSON, any file type
106106
* **Image generation:** Create images with `RubyLLM.paint`

docs/_advanced/models.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ The registry stores crucial information about each model, including:
4242
* **`name`**: A human-friendly name.
4343
* **`context_window`**: Max input tokens (e.g., `128_000`).
4444
* **`max_tokens`**: Max output tokens (e.g., `16_384`).
45-
* **`supports_vision`**: If it can process images.
45+
* **`supports_vision`**: If it can process images and videos.
4646
* **`supports_functions`**: If it can use [Tools]({% link _core_features/tools.md %}).
4747
* **`input_price_per_million`**: Cost in USD per 1 million input tokens.
4848
* **`output_price_per_million`**: Cost in USD per 1 million output tokens.
@@ -323,4 +323,4 @@ image = RubyLLM.paint(
323323
* **Your Responsibility:** Ensure the model ID is correct for the target endpoint.
324324
* **Warning Log:** A warning is logged indicating validation was skipped.
325325

326-
Use these features when the standard registry doesn't cover your specific model or endpoint needs. For standard models, rely on the registry for validation and capability awareness. See the [Chat Guide]({% link _core_features/chat.md %}) for more on using the `chat` object.
326+
Use these features when the standard registry doesn't cover your specific model or endpoint needs. For standard models, rely on the registry for validation and capability awareness. See the [Chat Guide]({% link _core_features/chat.md %}) for more on using the `chat` object.

docs/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ chat.ask "What's the best way to learn Ruby?"
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"
105106
chat.ask "Describe this meeting", with: "meeting.wav"
106107
chat.ask "Summarize this document", with: "contract.pdf"
107108
chat.ask "Explain this code", with: "app.rb"

0 commit comments

Comments
 (0)