jdagdelen / hogchat

Chat with your PostHog data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:TypeScript 98.7%Language:CSS 1.2%Language:JavaScript 0.1%