mohsin / chatbot /chatbot_agent.py
MuhammadSaad16's picture
Add application file
cb3f557
from agents import Agent
from config.chabot_config import model
from instructions.chatbot_instructions import jobobike_dynamic_instructions
from guardrails.guardrails_input_function import guardrail_input_function
from tools.document_reader_tool import read_document_data, list_available_documents
jobobike_assistant = Agent(
name="JOBObike Assistant",
instructions=jobobike_dynamic_instructions,
model=model,
input_guardrails=[guardrail_input_function],
tools=[read_document_data, list_available_documents], # Document reading tools
)