Skip to content

Commit

Permalink
Tj202/docs view (#63)
Browse files Browse the repository at this point in the history
* Adding notice

* Removed wrong notice

* Added sphinx doc and updated llmgen keyspace
  • Loading branch information
TJ202 authored Jan 27, 2025
1 parent 75bdf79 commit 98d0727
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions docs/source/guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,17 @@ Agent analysts will follow this workflow:

This view is commonly used as input into frameworks like Ragas.

.. admonition:: LLMGenerations ``(session, llm_generations)``

The ``LLMGenerations`` view provides each group of messages generated by the LLM per session.
Each llm generations record contains:

i) the session ID ``session`` and

ii) list of llm generated messages with common grouping id per session ``llm_generations``.

This view is commonly used to dive deeper into the LLM workings and though process.

.. admonition:: ToolCalls ``(sid, vid, tool_calls)``

The ``ToolCalls`` view provides one record per session (alt. conversation).
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CREATE OR REPLACE ANALYTICS VIEW LLMGenerations AS
CREATE OR REPLACE ANALYTICS VIEW `[BUCKET_NAME]`.`[SCOPE_NAME]`.LLMGenerations AS
SELECT
session,
grouping_id,
Expand Down

0 comments on commit 98d0727

Please sign in to comment.