File size: 813 Bytes
87b6d59
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
"""
 /*************************************************************************
 *
 * CONFIDENTIAL
 * __________________
 *
 *  Copyright (2024-2025) AI Labs, IronOne Technologies, LLC
 *  All Rights Reserved
 *
 *  Author  : Theekshana Samaradiwakara
 *  Description : This file contains the server application routing logic. 
 *  CreatedDate : 17/10/2024
 *  LastModifiedDate : 
 *************************************************************************/
"""

from langchain.agents import Tool
from reggpt.routers.qa import run_qa_chain_answer_only

qa_agent_tools = [
    Tool(
        name="qa_chain",
        func=run_qa_chain_answer_only,
        description="Useful for when you need to answer questions about Rules and regulations made by central bank. Input should be a fully formed question.",
    ),
]