Spaces:
Running
Running
File size: 741 Bytes
7eb1167 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | # config.py
from dataclasses import dataclass
from pathlib import Path
@dataclass
class Config:
max_loop: int = 10
batchsize: int = 10
searchdocs: int = 2
run_times: int = 1 # current run number (for directory naming)
database_path: str = Path(__file__).resolve().parent.parent / "database"
run_directory: str = Path(__file__).resolve().parent.parent / "runs"
case_dir: str = ""
max_time_limit = 36000 # Max time limit after which the openfoam run will be terminated
model_provider: str = "openai"# [openai, ollama, bedrock]
# model_version should be in ["gpt-4o", "deepseek-r1:32b-qwen-distill-fp16", "qwen2.5:32b-instruct"]
model_version: str = "gpt-4o"
temperature: float = 0.6
|