File size: 565 Bytes
8770644
 
 
 
 
 
 
 
 
 
 
 
 
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 launchlabs_dynamic_instructions
from guardrails.guardrails_input_function import guardrail_input_function
from tools.document_reader_tool import read_document_data, list_available_documents

launchlabs_assistant = Agent(
    name="Launchlabs Assistant",
    instructions=launchlabs_dynamic_instructions,
    model=model,
    input_guardrails=[guardrail_input_function],
    tools=[read_document_data, list_available_documents],  # Document reading tools
)