[9d3784]: / aiagents4pharma / talk2knowledgegraphs / tools / load_arguments.py

Download this file

23 lines (18 with data), 623 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
"""
A utility module for defining the dataclasses
for the arguments to set up initial settings
"""
from dataclasses import dataclass
from typing import Annotated
@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.""",
]