FFAI
Getting Started
Quick Start
Tutorials
Building a RAG Pipeline with FFAI
Memory Vector Recall: Remember What Was Discussed
Building a DAG Execution Pipeline with FFAI
Building an Agent with Tool Calling
Getting Structured Output from LLMs
Async Patterns with FFAI
Conditional Execution with the Condition DSL
Guides
Installation
Configuration
Memory Vector Recall
Vector Store Backends
RAG Search Strategies
Chunking Strategies
Fallback Models & Client Switching
Cost & Usage Tracking
History & Query API
Response Validation
API Reference
API Reference
Clients
Clients.AsyncFFLiteLLMClient
Clients.BaseLiteLLMClient
Clients.FFLiteLLMClient
Clients.FFMistralSmall
Clients.model_defaults
ConversationHistory
FFAI
FFAIClientBase
OrderedPromptHistory
agent
agent.agent_loop
agent.agent_result
agent.response_validator
config
core
core._async
core.async_client_base
core.async_executor
core.client_base
core.condition_evaluator
core.conversation_manager
core.embeddings
core.execution_result
core.execution_state
core.graph
core.graph_execution_helpers
core.history
core.history.conversation
core.history.ordered
core.history.permanent
core.history.recorder
core.history_exporter
core.memory
core.memory.memory
core.memory.persist
core.memory.turn_store
core.memory.types
core.prompt_builder
core.prompt_node
core.prompt_utils
core.response_context
core.response_executor
core.response_options
core.response_result
core.response_utils
core.structured_output
core.types
core.usage
observability
observability.log_context
observability.telemetry
rag
rag.client_adapter
rag.embed
rag.format
rag.indexing
rag.indexing.bm25
rag.indexing.contextual
rag.indexing.deduplication
rag.indexing.hierarchical
rag.prompts
rag.rag
rag.search
rag.search.hybrid
rag.search.query_expansion
rag.search.rerankers
rag.splitters
rag.splitters.base
rag.splitters.character
rag.splitters.code
rag.splitters.factory
rag.splitters.hierarchical
rag.splitters.markdown
rag.splitters.recursive
rag.store
rag.types
retry_utils
tools
tools.tool_registry
FFAI
API Reference
rag.prompts
View page source
rag.prompts
Define the default RAG prompt template.
Define the default RAG prompt template.