From b16a660bf222f985921276c21f4862ee2dad2af5 Mon Sep 17 00:00:00 2001 From: Kye Date: Thu, 12 Oct 2023 14:33:29 -0400 Subject: [PATCH] clean up Former-commit-id: 756a8465171f23769ae474f5a523b670bf3243c4 --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index f929011a..b21a9e8d 100644 --- a/README.md +++ b/README.md @@ -103,6 +103,8 @@ for result in results: ### `Worker` - The `Worker` is an fully feature complete agent with an llm, tools, and a vectorstore for long term memory! +- Place your api key as parameters in the llm if you choose! +- And, then place the openai api key in the Worker for the openai embedding model ```python from langchain.llms import ChatOpenAI @@ -117,6 +119,8 @@ llm = ChatOpenAI( node = Worker( llm=llm, ai_name="Optimus Prime", + #openai key for the embeddings + openai_api_key="sk-eee" ai_role="Worker in a swarm", external_tools = None, human_in_the_loop = False,