From a25c1a1e08b9706352a982553de83e83910402e4 Mon Sep 17 00:00:00 2001 From: Kye Date: Fri, 6 Oct 2023 13:23:22 -0400 Subject: [PATCH] examples fixg Former-commit-id: f3197e14bebdd822a8ec1e85a5398d843bc2b0bd --- README.md | 4 ++-- example.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 25fc6b09..5f0a833b 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ We have a small gallery of examples to run here, [for more check out the docs to ```python from swarms.workers import Worker from swarms.swarms import MultiAgentDebate, select_speaker -from langchain.models import OpenAIChat +from langchain.llms import OpenAIChat llm = OpenAIChat( model_name='gpt-4', @@ -105,7 +105,7 @@ for result in results: - The `Worker` is an fully feature complete agent with an llm, tools, and a vectorstore for long term memory! ```python -from langchain.models import ChatOpenAI +from langchain.llms import ChatOpenAI from swarms import Worker llm = ChatOpenAI( diff --git a/example.py b/example.py index a6e78dcc..5e795dea 100644 --- a/example.py +++ b/example.py @@ -1,4 +1,4 @@ -from langchain.models import OpenAIChat +from langchain.llms import OpenAIChat from swarms import Worker llm = OpenAIChat(