Welcome to the LLM Interfaces for Databases project! This README provides instructions on how to set up and run the application using Docker.
Although there is a tab for Llama, it is still under development.
Before running the application, please ensure you have the following:
- Database File: Place the
isrecon_all.duckdbfile in the root directory of the repository. - API Keys: The application uses locally stored API Keys for both LLama and Open AI. These have to be generated by the user after creating/signing up to an account for both programs. In case you would like to avoid doing that, please contact the team and we would happily provide you access to both. Save the keys in a .env file in the root directory.
- Docker
Follow these steps to start the application:
-
Start Docker Daemon
- Make sure your Docker Daemon is running on your machine.
-
Build the Docker Image
- Open your terminal and navigate to the root directory of the repository.
- Run the following command to build the Docker image:
docker build -t app . - This command will create a Docker image tagged as
app.
-
Run the Docker Container
- After the image is built, run the following command to start the application:
docker run -p 8501:8501 -v /path/to/local/directory:/app app
- This command will create and start a Docker container from the
appimage. - The 'directory' folder is where your DuckDB database must be placed.
- After the image is built, run the following command to start the application:
For any questions or issues, please feel free to reach out to the project maintainers.
Enjoy using the LLM Interfaces for Databases!