Skip to content

Installation

  • Python 3.8 or higher
  • Pinecone account with an active index
  • Pinecone API key

Clone the Gilial repository and install dependencies:

Terminal window
git clone https://github.com/aadyantmaity/Gilial.git
cd Gilial
pip install -r requirements.txt

Set your Pinecone credentials as environment variables:

Terminal window
export PINECONE_API_KEY="your-api-key-here"
export PINECONE_INDEX_NAME="your-index-name"
export PINECONE_ENVIRONMENT="us-west-1" # or your region

Start the Gilial backend:

Terminal window
python backend/main.py

You should see output like:

INFO: Uvicorn running on http://0.0.0.0:8000

The API is now ready to accept requests!

Test the connection:

Terminal window
curl http://localhost:8000/status

If you get a JSON response with your index info, you’re ready to go.