Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tj202/pr views #40

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
15 changes: 15 additions & 0 deletions libs/agentc_core/agentc_core/analytics/ddls/llm_generations.sqlpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
CREATE OR REPLACE ANALYTICS VIEW LlmGenerations AS
SELECT
session,
llm_generations
FROM (
SELECT
session,
grouping AS grouping_id,
documents
FROM `[BUCKET_NAME]`.`[SCOPE_NAME]`.`[LOG_COLLECTION_NAME]`
GROUP BY session, grouping
GROUP AS documents
) AS msg_group
GROUP BY session
GROUP AS llm_generations;
Loading