Skip to content

Display studies

This tool is used to display the table of studies.

display_studies(state)

Display the table of studies.

Parameters:

Name Type Description Default
state dict

The state of the agent.

required
Source code in aiagents4pharma/talk2cells/tools/scp_agent/display_studies.py
16
17
18
19
20
21
22
23
24
25
@tool('display_studies')
def display_studies(state: Annotated[dict, InjectedState]):
    """
    Display the table of studies.

    Args:
        state (dict): The state of the agent.
    """
    logger.log(logging.INFO, "Calling the tool display_studies")
    return state["search_table"]