Skip to content

Commit acd4785

Browse files
committed
Clarify readme
1 parent c517e60 commit acd4785

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,15 @@
77
Organize prompts into easy-to-use templates for [RubyLLM](https://github.com/crmne/ruby_llm).
88

99
```ruby
10-
chat = RubyLLM.chat
11-
chat.with_template(:extract_metadata, document: @document).complete
12-
13-
# ----------------------------------
14-
# Retrieves the following files:
15-
# ----------------------------------
1610
# prompts/
1711
# extract_metadata/
1812
# ├── system.txt.erb # System message
1913
# ├── user.txt.erb # User prompt
2014
# ├── assistant.txt.erb # Assistant message (optional)
2115
# └── schema.rb # RubyLLM::Schema definition (optional)
2216

17+
chat = RubyLLM.chat
18+
chat.with_template(:extract_metadata, document: @document).complete
2319
```
2420

2521
## Features

0 commit comments

Comments
 (0)