Logging RAG Workflows
If you’re looking to log RAG workflows it’s easy to add a retriever step. Here’s an example with RAG:Logging Agent Workflows
We also support logging Agent workflows. As above, a workflow starts with a user message, contains various steps taken by the system and ends with a response to the user.When logging entire sessions, such as multi-turn conversations between a user and an agent, the session should be split into a sequence of Workflows, delimited by the user’s messages. Below is an example on how to log an agentic workflow (say in the middle of a multi-turn conversation) made of the following steps:
- the user query
- an LLM call with tools, and the LLM decides to call tools
- a tool execution
- an LLM call without tools, where the LLM responds back to the user.