Skip to content

run-llama/product-specs-comparison

Repository files navigation

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.

About

Demo for LlamaIndex x PostHog LLM observability

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors