Skip to content

RhysSullivan/hogchat

Repository files navigation

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

About

Chat with your PostHog data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published