rag eval
This commit is contained in:
@@ -5,8 +5,8 @@ from autogen_ext.code_executors.docker import DockerCommandLineCodeExecutor
|
||||
|
||||
# Define your API keys and configurations
|
||||
OPENAI_API_KEY = "sk-4aJj5ygdQ9rw6lS6920712Ef9bB848439522E72318439eCd"
|
||||
OPENAI_BASE_URL = "http://8.218.238.241:17935/v1"
|
||||
# OPENAI_BASE_URL = "https://vip.apiyi.com/v1"
|
||||
# OPENAI_BASE_URL = "http://154.44.26.195:17935/v1"
|
||||
OPENAI_BASE_URL = "https://vip.apiyi.com/v1"
|
||||
|
||||
# MODEL = "chatgpt-4o-latest"
|
||||
MODEL = "gpt-4o-2024-11-20"
|
||||
@@ -21,4 +21,4 @@ CACHE = None # None 就是关闭 41是默认值开启
|
||||
WORK_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), ".coding")
|
||||
if not os.path.exists(WORK_DIR):
|
||||
os.mkdir(WORK_DIR)
|
||||
code_executor = DockerCommandLineCodeExecutor(bind_dir=Path(WORK_DIR))
|
||||
# code_executor = DockerCommandLineCodeExecutor(bind_dir=Path(WORK_DIR))
|
||||
Reference in New Issue
Block a user