Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tutorial/01_your_first_workflow/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ That's it! Everything happens inside the `execute do ... end` block.

## Your First Chat Cog

The `chat` cog sends a prompt to a cloud-based LLM and gets a response back. Here's a simplest example:
The `chat` cog sends a prompt to a cloud-based LLM and gets a response back. Here's a simple example:

```ruby
execute do
Expand Down
4 changes: 2 additions & 2 deletions tutorial/02_chaining_cogs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ end
```

This returns the cog's output, or `nil` if the cog didn't run (we'll learn about conditionally skipping steps in a later
lesson.
lesson).

### Different Output Methods

Different cog types provide different types of output. Here are few highlights:
Different cog types provide different types of output. Here are a few highlights:

- `chat(:name).response` - The text response from a chat cog
- `agent(:name).response` - The text response from an agent cog
Expand Down
2 changes: 1 addition & 1 deletion tutorial/03_targets_and_params/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ execute do
agent(:process) do
files = targets.join("\n")
format = kwarg(:format) || "detailed"
"Process these files and provide a #{format} report:\n#{files}) "
"Process these files and provide a #{format} report:\n#{files} "
end

cmd(:grep_pattern) do
Expand Down
2 changes: 1 addition & 1 deletion tutorial/08_iterative_workflows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ execute(:process_numbers) do
ruby(:check) do |_, _, index|
# Skip processing for multiples of 3
if index % 3 == 0
puts " Skipping every third 3 iteration"
puts " Skipping every third iteration"
next!
end
puts "Processing #{index}"
Expand Down
Loading