airflow.providers.common.ai.example_dags.example_langchain_hook¶
Example DAGs demonstrating LangChainHook usage patterns.
Each DAG covers a single pattern: chat-only, embedding-only, dual chat +
embedding, and separate connections for chat and embeddings. For a richer
end-to-end demo (ReAct agent, HITL review, vector retrieval), see
example_langchain_tool_agent.py.
Functions¶
One hook instance serves both chat and embeddings when both models are set. |
|
Use separate connections when chat and embeddings live on different API keys. |
Module Contents¶
- airflow.providers.common.ai.example_dags.example_langchain_hook.example_langchain_embedding()[source]¶