fix: add optional graphrag toggle in dockerfile (#377)

* fix: toggle graphrag install in Docker build

* fix: update Dockerfile

* fix: remove unused logics in chat_fn

* fix: disable duckduckgo test due to API limit
This commit is contained in:
Tuan Anh Nguyen Dang (Tadashi_Cin)
2024-10-10 16:09:57 +07:00
committed by GitHub
parent 3ff6af8acf
commit 6da9db489f
5 changed files with 39 additions and 132 deletions

View File

@@ -98,15 +98,15 @@ _openai_chat_completion_responses_react_langchain_tool = [
"Action: wikipedia\n"
"Action Input: Cinnamon AI company\n"
),
(
"The information retrieved from Wikipedia is not "
"about Cinnamon AI company, but about Blue Prism, "
"a British multinational software corporation. "
"I need to try another source to gather information "
"about Cinnamon AI company.\n"
"Action: duckduckgo_search\n"
"Action Input: Cinnamon AI company\n"
),
# (
# "The information retrieved from Wikipedia is not "
# "about Cinnamon AI company, but about Blue Prism, "
# "a British multinational software corporation. "
# "I need to try another source to gather information "
# "about Cinnamon AI company.\n"
# "Action: duckduckgo_search\n"
# "Action Input: Cinnamon AI company\n"
# ),
FINAL_RESPONSE_TEXT,
]
]