Closed ezequiroga closed 3 weeks ago
Hi, do you mean a gpt you have built?
You should probably build a custom tool that interacts with the assistant
Hi guys, exactly. I have my own Assistant in OpenAI Platform with an specific domain GPT and I would like to use it by the CrewAI agents, because it has specific domain knowledge.
Hi guys, exactly. I have my own Assistant in OpenAI Platform with an specific domain GPT and I would like to use it by the CrewAI agents, because it has specific domain knowledge.
Yes - so just create a custom tool
from crewai_tools import BaseTool
class AssistantChatTool(BaseTool):
name: str = "Assistant Chat Tool"
description: str = "Talks to an OpenAI assistant with specific domain knowledge"
def _run(self, query: str) -> str:
# your code
This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
Great, I'll do that.
Thank you!!!
Hi, I would like to know if it possible to configure an
Agent
to use anOpenAI Assistant
.Thanks!