docs: Config Docs Update (#148)

* Add a table & factor debug

* Congfig setting

* Update env example and configuration list.

Also change api priority

* Add a TODO for the rst

* CI: shorter line

* Update docs/installation_and_configuration.rst

* Update docs/installation_and_configuration.rst

* Update links & standard config

* Add TODO

* Fix bug

* Update rdagent/oai/llm_utils.py

---------

Co-authored-by: you-n-g <you-n-g@users.noreply.github.com>
This commit is contained in:
cyncyw
2024-08-02 15:49:58 +08:00
committed by GitHub
parent c6bf4e5015
commit 7adade22bf
6 changed files with 184 additions and 92 deletions
+2 -2
View File
@@ -20,7 +20,7 @@ class RDAgentSettings(BaseSettings):
log_trace_path: str | None = None
log_llm_chat_content: bool = True
use_azure: bool = True
use_azure: bool = False
use_azure_token_provider: bool = False
managed_identity_client_id: str | None = None
max_retry: int = 10
@@ -48,7 +48,7 @@ class RDAgentSettings(BaseSettings):
chat_token_limit: int = (
100000 # 100000 is the maximum limit of gpt4, which might increase in the future version of gpt
)
default_system_prompt: str = "You are an AI assistant who helps to answer user's questions about finance."
default_system_prompt: str = "You are an AI assistant who helps to answer user's questions."
# Embedding configs
embedding_openai_api_key: str = ""