Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/michaelkernaghan/croquet-rag
RAG implementation for enhanced croquet chat.
https://github.com/michaelkernaghan/croquet-rag
Last synced: about 2 months ago
JSON representation
RAG implementation for enhanced croquet chat.
- Host: GitHub
- URL: https://github.com/michaelkernaghan/croquet-rag
- Owner: michaelkernaghan
- Created: 2024-05-06T23:06:50.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-05-08T19:52:44.000Z (8 months ago)
- Last Synced: 2024-05-09T18:51:13.205Z (8 months ago)
- Language: Python
- Size: 9.68 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Langchain RAG Tutorial
Install dependencies.
```python
pip install -r requirements.txt
```Create the Chroma DB.
```python
python create_database.py
```Query the Chroma DB.
```python
python query_data.py "How does Alice meet the Mad Hatter?"
```You'll also need to set up an OpenAI account (and set the OpenAI key in your environment variable) for this to work.