Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 692 Bytes

File metadata and controls

26 lines (19 loc) · 692 Bytes

Embedding Model

Make sure you are in this directory. Also make sure to put veritas-trial-deployment.json under the secrets/ folder in the root directory. To run the embedding model:

make build
make run

This should bring you within the Docker container. Then inside the container, run:

python cli.py embed  # Time-consuming without GPUs
python cli.py upload
python cli.py store

You can test querying the vector database or perform an evaluation:

python cli.py query "Get me some trials related to mental disorder"
python cli.py eval

Note

  • Use --help on cli.py to and its subcommands to get an overview of what each subcommand does.