Graphlit can accelerate your Generative AI app development by providing an API-first platform that offers intelligent text extraction, vector-based search, and RAG conversations, along with audio and video transcription support.Langtrace integrates directly with Graphlit, providing comprehensive tracing and monitoring capabilities for your RAG (Retrieval-Augmented Generation) applications. Track everything from data ingestion to conversation completion with detailed performance metrics.
import asyncioasync def main(): try: # Setup RAG environment specification_id = await setup_rag() # Process a question response = await process_conversation( specification_id, "What are the key points from the document?" ) print(response) except Exception as e: print(f"Error: {e}")# Run the pipelineasyncio.run(main())
You can now view your traces on the Langtrace dashboard, including: