An example implementation of RAG with Structured Outputs #3
jylee-bcm
started this conversation in
Tip/Notebook
Replies: 1 comment
-
|
another idea might be posting this jupyter notebook into the git at |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Recently, I implemented a small RAG (Retrieval-Augmented Generation) application using ChatGPT with minimal code. The database it references contains information about patients and medical articles. When you query something related to a patient's condition, such as diseases or symptoms, it accurately retrieves relevant articles featuring similar cases and generates content based on those articles.
I wanted to share it with the group as I utilized the technique of structured outputs, which I recently presented at a basic level, and the code is quite compact (under 100 lines), so there’s plenty of room for improvement or extension.
Link: https://colab.research.google.com/drive/19MDbFZSfASDA69pea5oijzlCIwkjKCA6?usp=sharing
Feel free to leave comments!
Example Input
Example Output
Beta Was this translation helpful? Give feedback.
All reactions