Agency is a collection of multiple RAG modules. Every module is responsible for computing a the search result for a specific data source. All of the modules are exposed via a gRPC server.
- Python
- gRPC Server
- Llama Index
- Qdrant Vector Database
- Postgres Database
- Nebula Graph Database
- Python 3
- Embedding LLM
- Splade Embedding LLM
- Summarization LLM
- Reranker LLM
- Clinical Trials
- Clinical Trials PostgresDB
- Clinical Trials QdrantDB
- SQL LLM Model
- Drug Discovery
- Drug Nebula Graphdb
- Cypher LLM Model
- Web Search
- Pubmed PostgresDB
- Pubmed QdrantDB
-
Install Curieo Agency using Docker
- Make sure Docker is installed.
- Build the Docker image
docker build -t curieo-agency .
- Run the Docker container
docker run -p 50051:50051 -d curieo-agency
-
Install Cureio Agency without Docker
- Make sure
pyenv
is installed. - Create a new virtual environment
python3 -m venv .venv
- Activate the env
source .venv/bin/activate
- Install poetry and uvicorn
pip install poetry
- Install dependencies
poetry install
- Make sure
# configure the environment variables
cp .env.template .env
# Copy the environment variables from the aws secret file
# https://eu-central-1.console.aws.amazon.com/secretsmanager/secret?name=search-agency-development-env®ion=eu-central-1
# and turn on curieo vpn
# start the server
poetry run app
# Update the following line in the Makefile for the TAG
TAG =
# Build and upload the image to the ECR
make -f Makefile_ECR
# Change the TAG in the helm/values.yaml file in the root directory
image: 698471419283.dkr.ecr.eu-central-1.amazonaws.com/curieo-agency:<TAG>
# Create a new deployment in the Kubernetes from the root directory
helm install agency ./helm -n <NAMESPACE> --values ./helm/values.yaml
# Update the already existing deployment in the Kubernetes from the root directory
helm upgrade agency ./helm -n <NAMESPACE> --values ./helm/values.yaml