Module kgforge.config

Expand source code
from kgforge.config.config import KGConfig

__all__ = ["KGConfig"]

Sub-modules

kgforge.config.config

Classes

class KGConfig

A configuration object.

Expand source code
class KGConfig:
    """A configuration object."""

    DEFAULT_CONCEPTS: List[str] = ["contribution", "methods", "datasets", "findings"]

    DEFAULT_PROMPTS: List[Prompt] = [
        Prompt(
            concept="contribution",
            question="What is the main contribution of this paper?",
        ),
        Prompt(concept="methods", question="What methods were used?"),
        Prompt(concept="datasets", question="What datasets were used?"),
        Prompt(concept="findings", question="What are the key findings?"),
    ]

Class variables

var DEFAULT_CONCEPTS : List[str]
var DEFAULT_PROMPTS : List[Prompt]