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
Interpolation is not happen properly in the storage folder names.
Steps to Reproduce
create a crew using "crewai create crew <crew_name>
configure watsonx memory (you can cross-verify with any provider)
configure "CREWAI_STORAGE_DIR"
configure embedder in crew
@crew
def crew(self) -> Crew:
"""Creates the WxCrewaiEmbedd crew"""
# To learn how to add knowledge sources to your crew, check out the documentation:
# https://docs.crewai.com/concepts/knowledge#what-is-knowledge
return Crew(
agents=self.agents, # Automatically created by the @agent decorator
tasks=self.tasks, # Automatically created by the @task decorator
process=Process.sequential,
verbose=True,
memory=True,
embedder={
"provider": "watson",
"config": {
"model": embedding_model_watsonx,
"api_url": base_url,
"api_key": apikey,
"project_id": projId,
}
},
)
Expected behavior
It need to interpolate the folder name according to the crew input.
Screenshots/Code snippets
Operating System
macOS Sonoma
Python Version
3.12
crewAI Version
0.100.0
crewAI Tools Version
0.33.0
Virtual Environment
Venv
Evidence
Possible Solution
my input is
def run():
"""
Run the crew.
"""
inputs = {
'topic': 'AI LLMs',
'current_year': str(datetime.now().year)
}
try:
WxCrewaiEmbedd().crew().kickoff(inputs=inputs)
except Exception as e:
raise Exception(f"An error occurred while running the crew: {e}")
The folder should be like "AI LLMs_Senior_Data_Researcher_AI LLMs_Reporting_Analyst" but its created the folder like {topic}Senior_Data_Researcher{topic}_Reporting_Analyst
Additional context
The folder should be like "AI LLMs_Senior_Data_Researcher_AI LLMs_Reporting_Analyst" but its created the folder like {topic}Senior_Data_Researcher{topic}_Reporting_Analyst
The text was updated successfully, but these errors were encountered:
Description
Interpolation is not happen properly in the storage folder names.
Steps to Reproduce
Expected behavior
It need to interpolate the folder name according to the crew input.
Screenshots/Code snippets
Operating System
macOS Sonoma
Python Version
3.12
crewAI Version
0.100.0
crewAI Tools Version
0.33.0
Virtual Environment
Venv
Evidence
Possible Solution
my input is
The folder should be like "AI LLMs_Senior_Data_Researcher_AI LLMs_Reporting_Analyst" but its created the folder like {topic}Senior_Data_Researcher{topic}_Reporting_Analyst
Additional context
The folder should be like "AI LLMs_Senior_Data_Researcher_AI LLMs_Reporting_Analyst" but its created the folder like {topic}Senior_Data_Researcher{topic}_Reporting_Analyst
The text was updated successfully, but these errors were encountered: