To run locally, rename .env.example to .env and add your ChatGPT API key.
- Creates a vector database using PostgreSQL.
- Downloads Airbnb data from Buenos Aires City.
- Creates pre-filters using the OpenAI API.
- Performs RAG (Retrieval-Augmented Generation) with the filtered data.
- Do post filtering
- Perform reranking based in user custom weights
- Responds to user queries.
- Perform unit testing over the promps using Langsmith, only the promp that extract filters is being tested with one example case for now. More examples and more promps will be added in the future
- Abstract classes to handle multiple LLMs.
- Add memory to the chats using LangChain's built-in features.
- Expand CI and implement CD.
- Create a Flask UI to get the responses the all the intermediate steps
Do a post request to this endpoint
http://localhost:8000/chatbot/
with a body like this
{ "query": "I want an department in Argentina" }
Or you can use the web interface in
http://localhost:8000/webpage/
where you can check all the intermediate results

