Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shreyashankar/motion-sigmod-demo
SIGMOD Demo 2024 Submission for Motion
https://github.com/shreyashankar/motion-sigmod-demo
Last synced: about 1 month ago
JSON representation
SIGMOD Demo 2024 Submission for Motion
- Host: GitHub
- URL: https://github.com/shreyashankar/motion-sigmod-demo
- Owner: shreyashankar
- Created: 2024-01-30T06:39:44.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-06-11T18:37:15.000Z (7 months ago)
- Last Synced: 2024-06-12T06:05:49.987Z (7 months ago)
- Language: Python
- Size: 407 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SIGMOD 2024 Demo Submission for Motion
This repository contains the artifacts for the SIGMOD 2024 demo submission for Motion. The demo is an interactive e-commerce LLM pipeline that showcases the capabilities of [Motion](https://github.com/dm4ml/motion). Motion is a Python-native framework to define, maintain, and execute LLM pipelines with reactive prompts.
## How to run the demo
First, you will need to install the dependencies with the following command:
```bash
pip install -r requirements.txt
```For Motion, you will need to make sure Redis is running (I use Docker for this).
Next, you will need to define API keys in a `.env` file in the root of the repository. The `.env` file should look like this:
```
AZURE_OPENAI_ENDPOINT=...
AZURE_OPENAI_KEY=...
AZURE_API_VERSION=...
SERPER_API_KEY=...
```Then, you can run the demo with the following command:
```bash
streamlit run dashboard.py
```Here is a screenshot of the Streamlit after several queries:
![Streamlit](screenshot.png)