diff --git a/notebook/distributed_debate.ipynb b/notebook/distributed_debate.ipynb index c76e9a6d8..08ded268f 100644 --- a/notebook/distributed_debate.ipynb +++ b/notebook/distributed_debate.ipynb @@ -46,39 +46,24 @@ "metadata": {}, "outputs": [], "source": [ - "# model_configs = [\n", - "# {\n", - "# \"type\": \"openai\",\n", - "# \"name\": \"gpt-3.5-turbo\",\n", - "# \"parameters\": {\n", - "# \"api_key\": \"xxx\",\n", - "# \"organization_id\": \"xxx\",\n", - "# \"temperature\": 0.0\n", - "# }\n", - "# },\n", - "# {\n", - "# \"type\": \"openai\",\n", - "# \"name\": \"gpt-4\",\n", - "# \"parameters\": {\n", - "# \"api_key\": \"xxx\",\n", - "# \"organization_id\": \"xxx\",\n", - "# \"temperature\": 0.0\n", - "# }\n", - "# }\n", - "# ]\n", "model_configs = [\n", " {\n", - " \"type\": \"post_api\",\n", + " \"type\": \"openai\",\n", " \"name\": \"gpt-3.5-turbo\",\n", - " \"api_url\": \"https://api.mit-spider.alibaba-inc.com/chatgpt/api/ask\",\n", - " \"headers\": {\n", - " \"Content-Type\": \"application/json\",\n", - " \"Authorization\": \"Bearer eyJ0eXAiOiJqd3QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VybmFtZSI6IjIyNTE4NiIsInBhc3N3b3JkIjoiMjI1MTg2IiwiZXhwIjoyMDA2OTMzNTY1fQ.wHKJ7AdJ22yPLD_-1UHhXek4b7uQ0Bxhj_kJjjK0lRM\"\n", - " },\n", - " \"json_args\": {\n", - " \"model\": \"gpt-3.5-turbo\"\n", - " },\n", - " \"messages_key\": \"messages\"\n", + " \"parameters\": {\n", + " \"api_key\": \"xxx\",\n", + " \"organization_id\": \"xxx\",\n", + " \"temperature\": 0.0\n", + " }\n", + " },\n", + " {\n", + " \"type\": \"openai\",\n", + " \"name\": \"gpt-4\",\n", + " \"parameters\": {\n", + " \"api_key\": \"xxx\",\n", + " \"organization_id\": \"xxx\",\n", + " \"temperature\": 0.0\n", + " }\n", " }\n", "]" ]