Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 833 Bytes

README.md

File metadata and controls

36 lines (23 loc) · 833 Bytes

HogChat

image

A way to talk with your PostHog data

Running locally

Create a .env file with the following:

OPENAI_API_KEY=""
POSTHOG_API_KEY=""
POSTHOG_PROJECT_ID=""

Then run

pnpm install
pnpm dev

Known problems:

  • GPT returns the wrong casing for HogQL functions i.e AVG( instead of avg(
  • The context window can be too small

Your app should now be running on localhost:3000.

Authors

This app was created by Rhys Sullivan. If you like it, be sure to checkout my other projects Answer Overflow and Typelytics