Skip to content
This repository was archived by the owner on Nov 10, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions crewai_tools/tools/rag/rag_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,9 @@ def _create_embedding_function(embedding_config: dict, provider: str) -> Any:
if api_key:
factory_config["api_key"] = api_key

print(f"Creating embedding function with config: {factory_config}")

if provider == "chromadb":
embedding_func = get_embedding_function(factory_config)
print(f"Created embedding function: {embedding_func}")
print(f"Embedding function type: {type(embedding_func)}")
return embedding_func

elif provider == "qdrant":
Expand Down
Loading