Skip to content

Commit

Permalink
fixing readme
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiobayona committed Apr 25, 2024
1 parent a1e79d8 commit 7f85f6b
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,20 +54,16 @@ user = client.chat(
response_model: UserDetail
)

puts(user.inspect)
{"name"=>"Jason", "age"=>25}
user.name # => "Jason"
user.age # => 25
```

## Why use Instructor?


1. **OpenAI Integration** — Integrates seamlessly with OpenAI's API, facilitating efficient data management and manipulation.

2. **Customizable** — It offers significant flexibility. Users can tailor validation processes and define unique error messages.

3. **Widespread Adoption** — As a primary component in Ruby on Rails, it's widely used and backed by a substantial community.

4. **Tested and Trusted** — Its reliability is proven by extensive real-world application, underscored by its high adoption rate in Ruby-based projects.
2. **Customizable** — It offers significant flexibility. Users can tailor validation, and express complex relationships between models.

## More Examples

Expand Down

0 comments on commit 7f85f6b

Please sign in to comment.