mirror of
https://github.com/run-llama/product-specs-comparison.git
synced 2026-06-29 10:46:29 -04:00
main
Product Specs Comparison
A demo for LlamaIndex x PostHog LLM Analytics.
Set Up and Run
Clone the GitHub repository:
git clone https://github.com/run-llama/product-specs-comparison
cd product-specs-comparison
Install the project:
uv pip install .
Export the needed environment variables:
export OPENAI_API_KEY="..."
export LLAMA_CLOUD_API_KEY="..."
export POSTHOG_API_KEY="..."
export POSTHOG_HOST="..."
Or add the API keys to the config file.
You can also modify LlamaParse settings within the configuration file.
Once the environment variables are set, you can start the web server with:
webserver-run
This will run the web server locally on port 8000. Optionally you can provide a --port, --host and --log-level value to configure the web server.
You can then upload two or three files containing tech products specs (such as the ones in data) and compare them with a custom prompt.
Description
Languages
HTML
60.6%
Python
37.9%
Makefile
1.5%