You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
schema error raised for IBM watsonx while using TXTSearchTool
To use TXTSearchTool , I need to use provider and embedder but looks like "watson" provider not available.
Description
schema error raised for IBM watsonx while using TXTSearchTool
To use TXTSearchTool , I need to use provider and embedder but looks like "watson" provider not available.
Steps to Reproduce
`textSerarch = TXTSearchTool(
txt='data/input_data/myData.md',
config=dict(
embedder=dict(
provider="watson",
config=dict(
model="watsonx/intfloat/multilingual-e5-large",
api_url="https://us-south.ml.cloud.ibm.com/",
api_key="<my_api_key>",
project_id="<my_pro_id>",
)
)
)
)
@agent
def api_spec_reviewer_agent(self) -> Agent:
return Agent(
llm=WatsonXConfig.llm,
config=self.agents_config[API_SPEC_REVIEWER_AGENT_KEY],
tools=[textSerarch],
allow_delegation=False,
verbose=False,
)`
Expected behavior
It should start creating vector embeddings and search when necessary.
Screenshots/Code snippets
Provided above
Operating System
Other (specify in additional context)
Python Version
3.12
crewAI Version
Sequoia 15.1.1
crewAI Tools Version
0.86.0
Virtual Environment
Venv
Evidence
Possible Solution
Add watson provider
Additional context
None
The text was updated successfully, but these errors were encountered: