From 463a1a8fe475bbf2cc0375387b7d047660c99db1 Mon Sep 17 00:00:00 2001 From: ian Date: Fri, 29 Mar 2024 19:30:44 +0700 Subject: [PATCH] minor updates --- docs/development/contributing.md | 4 +--- libs/kotaemon/tests/test_agent.py | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/docs/development/contributing.md b/docs/development/contributing.md index d43a7a3c2..99a4e9131 100644 --- a/docs/development/contributing.md +++ b/docs/development/contributing.md @@ -13,7 +13,7 @@ engineering UI for AI developers in a project to quickly create a prompt engineering tool for DMs and QALs. It also provides a command to quickly spin up a project code base. For a full list and description of these utilities, - please refer to the [Development/Utilities](/development/ultilities) section. + please refer to the [Utilities](/development/utilities) section. ```mermaid mindmap @@ -70,5 +70,3 @@ mindmap - Use squash and merge option - 1st line message is the PR title. - The text area is the PR description. - -![image](images/274787925-e2593010-d7ef-46e3-8719-6fcae0315b5d.png) diff --git a/libs/kotaemon/tests/test_agent.py b/libs/kotaemon/tests/test_agent.py index 06a89c435..0cc65fa52 100644 --- a/libs/kotaemon/tests/test_agent.py +++ b/libs/kotaemon/tests/test_agent.py @@ -224,8 +224,8 @@ def test_wrapper_agent_langchain(openai_completion, llm, mock_google_search): side_effect=_openai_chat_completion_responses_react_langchain_tool, ) def test_react_agent_with_langchain_tools(openai_completion, llm): - from langchain.tools import DuckDuckGoSearchRun, WikipediaQueryRun - from langchain.utilities import WikipediaAPIWrapper + from langchain_community.tools import DuckDuckGoSearchRun, WikipediaQueryRun + from langchain_community.utilities import WikipediaAPIWrapper wikipedia = WikipediaQueryRun(api_wrapper=WikipediaAPIWrapper()) search = DuckDuckGoSearchRun()