instructor icon indicating copy to clipboard operation
instructor copied to clipboard

structured outputs for llms

Results 148 instructor issues
Sort by recently updated
recently updated
newest added

This PR fixes two issues with the current implementation: - In `ANTHROPIC_TOOLS` mode when Claude didn't provide a tool invocation, an index error occurs - `utils.update_total_usage` only works with OpenAI's...

bug
enhancement
size:L

**Is your feature request related to a problem? Please describe.** [Pyright](https://github.com/microsoft/pyright) is effectively the default type-checker for Python in VSCode, through Pylance. It's likely many Instructor users have Pylance/Pyright enabled...

enhancement

https://github.com/jxnl/instructor/issues/619 ---- | :rocket: This description was created by [Ellipsis](https://www.ellipsis.dev) for commit 52131d0f3628e6050c93c9ca749f783dcf344177 | |--------| ### Summary: This PR adds support for IBM Watson AI in the instructor library, including...

enhancement
size:M

**Is your feature request related to a problem? Please describe.** I'm currently working on a project using Gemini, and if this library supported Gemini that would've been great. Will likely...

enhancement

addresses #612 ---- | :rocket: This description was created by [Ellipsis](https://www.ellipsis.dev) for commit 291e3e59f937417d5dae99b3786850a40d091e41 | |--------| ### Summary: The pull request introduces a new `strict` parameter, defaulting to `True`, to...

enhancement
size:S

**Describe the solution you'd like** I would like to see IBM watsonx API support. **Describe alternatives you've considered** From initial research, it does not look like there is any tools...

enhancement

**Is your feature request related to a problem? Please describe.** Anthropic's models regularly have control characters in their strings, producing invalid JSON that causes validation to fail. **Describe the solution...

documentation
enhancement
question

- [x] This is actually a bug report. - [ ] I am not getting good LLM Results - [ ] I have tried asking for help in the community...

bug

- [X] This is actually a bug report. - [ ] I am not getting good LLM Results - [ ] I have tried asking for help in the community...

bug
documentation

| | :rocket: This PR description was created by [Ellipsis](https://www.ellipsis.dev) for commit 20bb86d4f6b606689bf0d9ec3802f3e2b66fba5b. | |--------|--------| ### Summary: This PR introduces middleware to the Instructor library, updates the `instructor` package, provides...

experimental