mirror of
https://github.com/kennethreitz/instructor.git
synced 2026-06-05 22:50:18 +00:00
First draft of Chain Of Density
This commit is contained in:
File diff suppressed because one or more lines are too long
+8
-2
@@ -10,13 +10,19 @@ Currently we have the following notebooks avaliable
|
||||
|
||||
2. `Tips` - Quick demonstration of how to use enums, `Pydantic` models and structured prompting to get specific output formats
|
||||
|
||||
3.
|
||||
3. `Applications Rag`: Learn how to generate nested models with `Pydantic` by rewriting user queries
|
||||
|
||||
4. `Knowledge Graphs`: Dive deep into the use of LLMs to break down complex topics into simple knowledge graphs
|
||||
|
||||
5. `Validation` : Learn how to use Pydantic's inbuilt validators to perform more complex validation and checks on the outputs of your functions
|
||||
|
||||
6. `Chain Of Density` : Learn how to produce high quality summaries that consistently beat out human-generated ones using `Chain of Density` summarization.
|
||||
|
||||
|
||||
|
||||
## Installation
|
||||
|
||||
We utilise the Graphviz package in this tutorial series. If you don't have it on hand, you should download it. Mac users can do so by running `brew install graphviz` while Linux users can try `sudo apt install graphviz` ( modify to your system specific package manager). Here is a link to their official [documentation](Install Graphviz based on your operation system https://graphviz.org/download/)
|
||||
We utilise the Graphviz package in this tutorial series. If you don't have it on hand, you should download it. Mac users can do so by running `brew install graphviz` while Linux users can try `sudo apt install graphviz` ( modify to your system specific package manager). Here is a link to their official [documentation](https://graphviz.org/download/)
|
||||
|
||||
If you're encountering an error like the following when trying to run graphviz after installing it, just restart the notebook and verify you've got graphviz installed by running `dot -v` in your shell.
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -3,4 +3,6 @@ jupyter
|
||||
instructor
|
||||
openai>=1.1.0
|
||||
pydantic
|
||||
graphviz
|
||||
graphviz
|
||||
spacy
|
||||
nltk
|
||||
Reference in New Issue
Block a user