We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49f174a commit 6201390Copy full SHA for 6201390
README.md
@@ -75,6 +75,11 @@ class Weather < RubyLLM::Tool
75
end
76
77
chat.with_tool(Weather).ask "What's the weather in Berlin? (52.5200, 13.4050)"
78
+
79
+# Stream responses in real-time
80
+chat.ask "Tell me a story about a Ruby programmer" do |chunk|
81
+ print chunk.content
82
+end
83
```
84
85
## Installation
docs/index.md
@@ -95,6 +95,11 @@ class Weather < RubyLLM::Tool
95
96
97
98
99
100
101
102
103
104
105
## Quick start
0 commit comments