View Source API Reference rag v0.1.0
Modules
Functions to generate embeddings using Nx.Serving.batched_run/2.
Functions to generate embeddings using the OpenAI API.
Evaluation for RAG systems using the OpenAI API.
Represents a generation.
Functions to detect hallucinations in generated responses using LangChain.
Functions to detect hallucinations in generated responses using Nx.Serving.batched_run/2.
Functions to generate responses using LangChain.
Functions to generate responses using Nx.Serving.batched_run/2.
Functions to load and transform data from various sources and formats.
Functions to transform retrieval results.
Provides information about telemetry events.
Mix Tasks
Installs the rag library