Skip to content

Load Arguments

A utility module for defining the dataclasses for the arguments to set up initial settings

ArgumentData dataclass

Dataclass for storing the argument data.

Source code in aiagents4pharma/talk2knowledgegraphs/tools/load_arguments.py
10
11
12
13
14
15
16
17
18
19
20
21
22
@dataclass
class ArgumentData:
    """
    Dataclass for storing the argument data.
    """

    extraction_name: Annotated[
        str,
        """An AI assigned _ separated name of the subgraph extraction
                                    based on human query and the context of the graph reasoning
                                    experiment.
                                    This must be set before the subgraph extraction is invoked.""",
    ]