Skip to content

Commit dd7777b

Browse files
committed
Clarify readme
1 parent 994df48 commit dd7777b

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,14 +117,12 @@ end
117117
```ruby
118118
chat = RubyLLM.chat
119119
chat.with_template(:extract_metadata, document: @document, additional_context: "Focus on technical details").complete
120-
```
121120

122-
Under the hood, RubyLLM::Template will render the templates with the context variables and apply them to the chat instance using native RubyLLM methods:
121+
# Under the hood, RubyLLM::Template will render the templates with the context variables and apply them to the chat instance using native RubyLLM methods:
123122

124-
```ruby
125-
chat.add_message(:system, rendered_system_message)
126-
chat.add_message(:user, rendered_user_message)
127-
chat.add_schema(instantiated_schema)
123+
# chat.add_message(:system, rendered_system_message)
124+
# chat.add_message(:user, rendered_user_message)
125+
# chat.add_schema(instantiated_schema)
128126
```
129127

130128

0 commit comments

Comments
 (0)