instructor-ai / instructor-rb

Structured outputs for LLMs
https://useinstructor.com/
MIT License
51 stars 2 forks source link

Proof of concept using Ruby #6

Closed sergiobayona closed 5 months ago

sergiobayona commented 8 months ago

Working example using Ruby to extract unstructured data from a prompt then correctly parsing and loading the response values into a Ruby object.


Ellipsis :rocket: This PR description was created by Ellipsis for commit 6471e729d16041eb444297ce055daee8cb5ba5a5.

Summary:

This PR introduces a Ruby implementation for extracting structured data from unstructured text using OpenAI's API, along with usage instructions and basic tests.

Key points: