This is an automated email from the ASF dual-hosted git repository.
xtsong pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/flink-agents.git
The following commit(s) were added to refs/heads/main by this push:
new ca18e7cf Fix constant name in RAG example (#475)
ca18e7cf is described below
commit ca18e7cf2946fb4dc8ba5f2e962d758619ba9d6b
Author: Alan Z. <[email protected]>
AuthorDate: Sun Jan 25 17:14:12 2026 -0800
Fix constant name in RAG example (#475)
---
python/flink_agents/examples/rag/rag_agent_example.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/python/flink_agents/examples/rag/rag_agent_example.py
b/python/flink_agents/examples/rag/rag_agent_example.py
index ec31881d..0e44f909 100644
--- a/python/flink_agents/examples/rag/rag_agent_example.py
+++ b/python/flink_agents/examples/rag/rag_agent_example.py
@@ -78,7 +78,7 @@ Please provide a helpful answer based on the context
provided."""
def text_embedder() -> ResourceDescriptor:
"""Embedding model setup for generating text embeddings."""
return ResourceDescriptor(
- clazz=Constant.OllamaEmbeddingModelSetup,
+ clazz=Constant.OLLAMA_EMBEDDING_MODEL_SETUP,
connection="ollama_embedding_connection",
model=OLLAMA_EMBEDDING_MODEL,
)