ElasticRAG is a project designed to provide a flexible and scalable solution for integrating Elasticsearch with LlamaIndex for Retrieval-Augmented Generation (RAG) applications.
- Integration with Elasticsearch for scalable vector storage
- Support for LlamaIndex and Langchain for advanced query processing
- FastAPI-based API for easy deployment and interaction
To install the project, follow these steps:
- Clone the repository:
git clone https://github.com/yourusername/elasticrag.git
- Navigate to the project directory:
cd elasticrag
- Install the dependencies:
pip install -r requirements.txt
To use the project, follow these steps:
- Start the development server:
uvicorn main:app --reload
- Open your browser and navigate to
http://localhost:8000
.
GET /
- Home endpoint to check if the server is running.GET /query
- Endpoint to query the LLM with a question. Example:curl -X GET "http://localhost:8000/query?question=Your+question+here"
We welcome contributions! Please follow these steps to contribute:
- Fork the repository.
- Create a new branch:
git checkout -b feature-branch
- Make your changes and commit them:
git commit -m "Description of your changes"
- Push to the branch:
git push origin feature-branch
- Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.