File size: 394 Bytes
744b763
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from langchain_core.tools import tool
from src.utils.logger import logger


def enough_information(name: str, info: str):
    """
    Call tool nếu đã thu thập đủ thông tin cần thiết
    Args:
        name (str): Tên chatbot cần tạo
        info (str): Thông tin đã thu thập được
    """
    logger.info(f"Created successful {info}")
    return "Created successful"