File size: 557 Bytes
356e05f
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
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
)