mirror of
https://github.com/kennethreitz/instructor.git
synced 2026-06-05 22:50:18 +00:00
Update index.md (#199)
This commit is contained in:
+1
-1
@@ -87,7 +87,7 @@ assert isinstance(model, UserExtract)
|
||||
|
||||
The question of using Instructor is fundamentally a question of why to use Pydantic.
|
||||
|
||||
1. **Powered by type hints** — Instructor is powered by Pydantic, which is powered by type hints. Schema validation, prompting is controleld by type annotations; less to learn, less code ot write,and integrates with your IDE.
|
||||
1. **Powered by type hints** — Instructor is powered by Pydantic, which is powered by type hints. Schema validation, prompting is controleld by type annotations; less to learn, less code ot write, and integrates with your IDE.
|
||||
|
||||
2. **Powered by OpenAI** — Instructor is powered by OpenAI's function calling API. This means you can use the same API for both prompting and extraction.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user