-
-
Notifications
You must be signed in to change notification settings - Fork 730
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
264 additions
and
190 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
We would love for you to contribute to `Instructor`. | ||
|
||
## Issues | ||
|
||
If you find a bug, please file an issue on [our issue tracker on GitHub](https://github.com/jxnl/instructor/issues). | ||
|
||
To help us reproduce the bug, please provide a minimal reproducible example, including a code snippet and the full error message. | ||
|
||
1. The `response_model` you are using. | ||
2. The `messages` you are using. | ||
3. The `model` you are using. | ||
|
||
## Pull Requests | ||
|
||
We welcome pull requests! There is plenty to do, and we are happy to discuss any contributions you would like to make. | ||
|
||
If it is not a small change, please start by [filing an issue](https://github.com/jxnl/instructor/issues) first. | ||
|
||
If you need ideas, you can check out the [help wanted](https://github.com/jxnl/instructor/labels/help%20wanted) or [good first issue](https://github.com/jxnl/instructor/labels/good%20first%20issue) labels. | ||
|
||
# Contributors | ||
|
||
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --> | ||
<!-- prettier-ignore-start --> | ||
<!-- markdownlint-disable --> | ||
|
||
<!-- markdownlint-restore --> | ||
<!-- prettier-ignore-end --> | ||
|
||
<!-- ALL-CONTRIBUTORS-LIST:END --> | ||
|
||
<a href="https://github.com/jxnl/instructor/graphs/contributors"> | ||
<img src="https://contrib.rocks/image?repo=jxnl/instructor" /> | ||
</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Getting help with Instructor | ||
|
||
If you need help getting started with Instructor or with advanced usage, the following sources may be useful. | ||
|
||
## :material-creation: Concepts | ||
|
||
The [concepts](concepts/index.md) section explains the core concepts of Instructor and how to prompt with models. | ||
|
||
## :material-chef-hat: Cookbooks | ||
|
||
The [cookbooks](examples/index.md) are a great place to start. They contain a variety of examples that demonstrate how to use Instructor in different scenarios. | ||
|
||
## :material-book: Blog | ||
|
||
The [blog](blog/index.md) contains articles that explain how to use Instructor in different scenarios. | ||
|
||
## :material-github: GitHub Discussions | ||
|
||
[GitHub discussions](https://github.com/jxnl/instructor/discussions) are useful for asking questions, your question and the answer will help everyone. | ||
|
||
## :material-github: GitHub Issues | ||
|
||
[GitHub issues](https://github.com/jxnl/instructor/issues) are useful for reporting bugs or requesting new features. | ||
|
||
## :material-twitter: Twitter | ||
|
||
You can also reach out to me on [Twitter](https://twitter.com/jxnlco) if you have any questions or ideas. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Installation is as simple as: | ||
|
||
```bash | ||
pip install instructor | ||
``` | ||
|
||
Instructor has a few dependencies: | ||
|
||
- [`openai`](https://pypi.org/project/openai/): OpenAI's Python client. | ||
- [`typer`](https://pypi.org/project/typer/): Build great CLIs. Easy to code. Based on Python type hints. | ||
- [`docstring-parser`](https://pypi.org/project/docstring-parser/): A parser for Python docstrings, to improve the experience of working with docstrings in jsonschema. | ||
- [`pydantic`](https://pypi.org/project/pydantic/): Data validation and settings management using python type annotations. | ||
|
||
If you've got Python 3.9+ and `pip` installed, you're good to go. |
Oops, something went wrong.