lmnr-ai / lmnr

Laminar - open-source all-in-one platform for engineering AI products. Crate data flywheel for you AI app. Traces, Evals, Datasets, Labels. YC S24.
https://www.lmnr.ai
Apache License 2.0
1.19k stars 60 forks source link

insert human eval scores to clickhouse #163

Closed dinmukhamedm closed 3 weeks ago

dinmukhamedm commented 3 weeks ago

[!IMPORTANT] Inserts human evaluation scores into ClickHouse when Feature.FULL_BUILD is enabled, with new client and environment configurations.

  • Behavior:
    • Inserts human evaluation scores into ClickHouse in route.ts if Feature.FULL_BUILD is enabled.
    • Uses clickhouseClient to insert data into evaluation_scores table.
  • Environment:
    • Adds CLICKHOUSE_URL and CLICKHOUSE_USER to .env.local.example.
    • Updates docker-compose-full.yml and docker-compose-local-build.yml to include ClickHouse environment variables.
  • Dependencies:
    • Adds @clickhouse/client to package.json dependencies.
  • Client:
    • New clickhouseClient in client.ts configured for asynchronous inserts if Feature.FULL_BUILD is enabled.

This description was created by Ellipsis for a19833d6bfd03a7ef052f2bcd2bd0b7e163156d5. It will automatically update as commits are pushed.