How to/Log your application
Log LLM generations in your AI application traces
Use generations to log individual calls to Large Language Models (LLMs)
Use spans to group units of work
Spans help you organize and track requests across microservices within traces. A trace represents the entire journey of a request through your system, while spans are smaller units of work within that trace.
Capture your RAG pipeline
Retrieval-Augmented Generation (RAG) is a technique that enhances large language models by retrieving relevant information from external sources before generating responses.