- Install oxy with
bash <(curl --proto '=https' --tlsv1.2 -LsSf https://get.oxy.tech) - Clone this repository with
git clone git@github.com:oxy-hq/oxy-customer-demo.git - Set the
OPENAI_API_KEYenvironment variable within your~/.zshrcfile - Run
oxy serveto start the demo server from within the repo root directory - Run
oxy buildto rebuild the embeddings - Open
http://localhost:3000in your browser - Agent demo:
- Select
sql-executoras agent - Ask a question, e.g. "what is the total number of views for all videos from december 2024?"
- Select
- Workflow demo:
- Select
monthly_reportfrom the right sidebar - Click "Run"
- Select
- To routing agent (uses sql-executor):
- how many more views did the Cushat channel get than the Downhill channel in December 2024
- make me a bar chart of the top channels and their views
- To routing agent (uses existing workflows):
- get views, minutes, mom data at a channel level for January 2025
- how many views did the Abrico channel have in Jan?
- how many more views did the Abrico channel have in January than the Cushat channel?
- (note: uses TWO workflows in conjunction to get the answer)
- AGENT: There are two agents:
sql-executorandsql-generator.sql-generatoris only used for workflows that require caching of sql --sql-executorshould be selected and used inoxy servefor demos. - WORKFLOW: The primary workflow to demo is
monthly-report/monthly-report.workflow.yml. - DATA + SEMANTIC LAYER: The source data is in
db/, and comes with the repo. There is ayoutube_filtered.sem.ymlsemantic layer file that can also be used for demonstrating the semantic layer.