Skip to content

Commit ac84978

Browse files
committed
README.md
1 parent dc5fd5f commit ac84978

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@ Here's a simple CLI demo app using Instructor to extract structured data from te
3030
- Integrate LLM support into your existing PHP code with minimal friction - no framework, no extensive code changes
3131
- Framework agnostic - use it with Laravel, Symfony, your custom framework, or - with no framework at all
3232

33+
### Various extraction modes
34+
35+
- Supports multiple extraction modes to allow working with various models depending on their capabilities
36+
- `Mode::Json` - use response_format to get LLM follow provided JSON Schema
37+
- `Mode::JsonSchema` - use strict JSON Schema mode to get LLM follow provided JSON Schema
38+
- `Mode::Tools` - use tool calling API to get LLM follow provided JSON Schema
39+
- `Mode::MdJson` - extract via prompting LLM to nudge it to generate provided JSON Schema
40+
3341
### Flexible inputs
3442

3543
- Process various types of input data: text, series of chat messages or images using the same, simple API

0 commit comments

Comments
 (0)