Spaces:
Running
Running
| # config.py | |
| from dataclasses import dataclass | |
| from pathlib import Path | |
| 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 | |