Oxy commands
Agent interaction
Once you have your agents, config, and data configured, you can ask this agent questions by running oxy run path/to/agent.agent.yml "<prompt>"
, as shown below:
Database Synchronization
The sync
command collects semantic information from your databases, making their structure available to your agents.
Basic usage:
Sync a specific database:
Sync specific datasets within a database:
By default, files that already exist will be skipped. To overwrite existing files:
To overwrite existing files for a specific database:
The sync command will show warnings when files are skipped (already exist) or when files are overwritten (when using the -o
flag).
For more detailed information about database synchronization, see the Database Sync documentation.
Run queries
Run a raw query on target database
Run a query rendered from a Jinja template
Workflow usage
To execute a workflow, you can run:
Embedding management
To embed files from into a local vector store you can use oxy build
. We’re downloading our models from huggingface hub so you may need to login using:
or simply copy your plaintext token into $HOME/.cache/huggingface/token
file, then run oxy build
to index the data.
The generated embeddings can be verified using