From c0f48cbd804797dd83fe5ef4aee73f8a7dbd5652 Mon Sep 17 00:00:00 2001 From: DavdGao Date: Fri, 15 Mar 2024 12:22:31 +0800 Subject: [PATCH] add reminder for openai api usage in example --- examples/compatible_with_langchain/READMD.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/compatible_with_langchain/READMD.md b/examples/compatible_with_langchain/READMD.md index 7da6427be..9dafa0880 100644 --- a/examples/compatible_with_langchain/READMD.md +++ b/examples/compatible_with_langchain/READMD.md @@ -6,6 +6,9 @@ to create agents with third-party libraries. In this example, we will show how to create an assistant agent with LangChain in AgentScope, and interact with user in a conversation. +**Note** we use OpenAI API for LangChain in this example. Developers can +modify it according to their own needs. + ## Install LangChain Before running the example, please install LangChain by the following command: @@ -22,5 +25,3 @@ In its `reply` function, developers only need parse the input message and wrap the output message into `agentscope.message.Msg` class. After that, developers can build the conversation in AgentScope, and the `LangChainAgent` is the same as other agents in AgentScope. - -