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(