Skip to main content

research_town.configs package

Submodules

research_town.configs.config module

Bases: BaseModel

brainstorm_idea : Dict[str, str | List[str]]

discuss : Dict[str, str | List[str]]

summarize_idea : Dict[str, str | List[str]]

model_computed_fields : ClassVar[dict[str, ComputedFieldInfo]] *= *

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_config : ClassVar[ConfigDict] *= 'extra': 'allow' *

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].

This replaces Model._fields_ from Pydantic V1.

review_literature : Dict[str, str | List[str]]

write_bio : Dict[str, str | List[str]]

write_metareview_decision : Dict[str, str | List[str]]

write_metareview_ethical : Dict[str, str | List[str]]

write_metareview_strength : Dict[str, str | List[str]]

write_metareview_summary : Dict[str, str | List[str]]

write_metareview_weakness : Dict[str, str | List[str]]

write_proposal : Dict[str, str | List[str]]

write_proposal_cot : Dict[str, str | List[str]]

write_proposal_react : Dict[str, str | List[str]]

write_proposal_reflexion : Dict[str, str | List[str]]

write_rebuttal : Dict[str, str | List[str]]

write_review_ethical : Dict[str, str | List[str]]

write_review_score : Dict[str, str | List[str]]

write_review_strength : Dict[str, str | List[str]]

write_review_summary : Dict[str, str | List[str]]

write_review_weakness : Dict[str, str | List[str]]

Bases: BaseModel

agent_prompt_template : AgentPromptTemplate

check_agent_prompt_template_placeholder() → None

check_eval_prompt_template_placeholder() → None

eval_prompt_template : EvalPromptTemplate

load_from_yaml(yaml_config_path: str) → None

merge_from_other_cfg(other_cfg: Dict[str, Any]) → None

model_computed_fields : ClassVar[dict[str, ComputedFieldInfo]] *= *

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_config : ClassVar[ConfigDict] *= 'extra': 'allow' *

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].

This replaces Model._fields_ from Pydantic V1.

param : ParamConfig

save_to_yaml(yaml_config_path: str) → None

Bases: BaseModel

idea_quality : Dict[str, str | List[str]]

insight_quality : Dict[str, str | List[str]]

metareview_quality : Dict[str, str | List[str]]

model_computed_fields : ClassVar[dict[str, ComputedFieldInfo]] *= *

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_config : ClassVar[ConfigDict] *= 'extra': 'allow' *

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].

This replaces Model._fields_ from Pydantic V1.

paper_quality : Dict[str, str | List[str]]

rebuttal_quality : Dict[str, str | List[str]]

review_quality : Dict[str, str | List[str]]

Bases: BaseModel

base_llm : str

domain : str

max_env_run_num : int

max_token_num : int | None

member_num : int

model_computed_fields : ClassVar[dict[str, ComputedFieldInfo]] *= *

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_config : ClassVar[ConfigDict] *= 'extra': 'allow' *

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].

This replaces Model._fields_ from Pydantic V1.

result_path : str

return_num : int | None

reviewer_num : int

stream : bool | None

temperature : float | None

top_p : float | None

write_proposal_strategy : str

research_town.configs.config.merge_a_into_b(a: Dict[str, Any], b: Dict[str, Any]) → None

Merge dictionary a into dictionary b recursively.

Module contents

Bases: BaseModel

brainstorm_idea : Dict[str, str | List[str]]

discuss : Dict[str, str | List[str]]

summarize_idea : Dict[str, str | List[str]]

model_computed_fields : ClassVar[dict[str, ComputedFieldInfo]] *= *

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_config : ClassVar[ConfigDict] *= 'extra': 'allow' *

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].

This replaces Model._fields_ from Pydantic V1.

review_literature : Dict[str, str | List[str]]

write_bio : Dict[str, str | List[str]]

write_metareview_decision : Dict[str, str | List[str]]

write_metareview_ethical : Dict[str, str | List[str]]

write_metareview_strength : Dict[str, str | List[str]]

write_metareview_summary : Dict[str, str | List[str]]

write_metareview_weakness : Dict[str, str | List[str]]

write_proposal : Dict[str, str | List[str]]

write_proposal_cot : Dict[str, str | List[str]]

write_proposal_react : Dict[str, str | List[str]]

write_proposal_reflexion : Dict[str, str | List[str]]

write_rebuttal : Dict[str, str | List[str]]

write_review_ethical : Dict[str, str | List[str]]

write_review_score : Dict[str, str | List[str]]

write_review_strength : Dict[str, str | List[str]]

write_review_summary : Dict[str, str | List[str]]

write_review_weakness : Dict[str, str | List[str]]

Bases: BaseModel

agent_prompt_template : AgentPromptTemplate

check_agent_prompt_template_placeholder() → None

check_eval_prompt_template_placeholder() → None

eval_prompt_template : EvalPromptTemplate

load_from_yaml(yaml_config_path: str) → None

merge_from_other_cfg(other_cfg: Dict[str, Any]) → None

model_computed_fields : ClassVar[dict[str, ComputedFieldInfo]] *= *

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_config : ClassVar[ConfigDict] *= 'extra': 'allow' *

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].

This replaces Model._fields_ from Pydantic V1.

param : ParamConfig

save_to_yaml(yaml_config_path: str) → None

Bases: BaseModel

idea_quality : Dict[str, str | List[str]]

insight_quality : Dict[str, str | List[str]]

metareview_quality : Dict[str, str | List[str]]

model_computed_fields : ClassVar[dict[str, ComputedFieldInfo]] *= *

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_config : ClassVar[ConfigDict] *= 'extra': 'allow' *

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].

This replaces Model._fields_ from Pydantic V1.

paper_quality : Dict[str, str | List[str]]

rebuttal_quality : Dict[str, str | List[str]]

review_quality : Dict[str, str | List[str]]