SDLC / src /sdlc /ui /uiconfigfile.py
sunithalv's picture
Updated latest code changes
c8fb072
raw
history blame contribute delete
723 Bytes
from configparser import ConfigParser
class Config:
def __init__(self,config_file="./src/sdlc/ui/uiconfigfile.ini"):
self.config=ConfigParser()
self.config.read(config_file)
def get_llm_options(self):
return self.config["DEFAULT"].get("LLM_OPTIONS").split(",")
def get_groq_model_options(self):
return self.config["DEFAULT"].get("GROQ_MODEL_OPTIONS").split(",")
def get_openai_model_options(self):
return self.config["DEFAULT"].get("OPENAI_MODEL_OPTIONS").split(",")
def get_page_title(self):
return self.config["DEFAULT"].get("PAGE_TITLE")
def get_sdlc_nodes(self):
return self.config["DEFAULT"].get("SDLC_NODES")