MCPcopy Create free account
hub / github.com/nlweb-ai/NLWeb / __init__

Method __init__

AskAgent/python/core/config.py:155–167  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

153 "config_webserver.yaml", "config_nlweb.yaml", "config_conv_store.yaml", "config_oauth.yaml"]
154
155 def __init__(self):
156 load_dotenv()
157 # Set config directory - can be overridden by NLWEB_CONFIG_DIR environment variable
158 self.config_directory = self._get_config_directory()
159 self.base_output_directory = self._get_base_output_directory()
160 self.load_llm_config()
161 self.load_embedding_config()
162 self.load_retrieval_config()
163 self.load_webserver_config()
164 self.load_nlweb_config()
165 self.load_sites_config()
166 self.load_conversation_storage_config()
167 self.load_oauth_config()
168
169 def _get_config_directory(self) -> str:
170 """

Callers

nothing calls this directly

Calls 10

_get_config_directoryMethod · 0.95
load_llm_configMethod · 0.95
load_embedding_configMethod · 0.95
load_retrieval_configMethod · 0.95
load_webserver_configMethod · 0.95
load_nlweb_configMethod · 0.95
load_sites_configMethod · 0.95
load_oauth_configMethod · 0.95

Tested by

no test coverage detected