From 754a468595a6dfbc75e8cad94d472ae36c9189f0 Mon Sep 17 00:00:00 2001 From: evelynmitchell Date: Mon, 17 Jun 2024 20:26:29 -0600 Subject: [PATCH 1/5] change prompt in first example, readme to avoid refusal --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4a457bee..7ca462c7 100644 --- a/README.md +++ b/README.md @@ -103,7 +103,7 @@ llm = OpenAIChat( agent = Agent(llm=llm, max_loops=1, autosave=True, dashboard=True) # Run the workflow on a task -agent.run("Generate a 10,000 word blog on health and wellness.") +agent.run("Generate a 10,000 word article on health and wellness for men under 50.") ``` From 461c40a9eb74b9a5171d04417911f749b5ad1a46 Mon Sep 17 00:00:00 2001 From: evelynmitchell Date: Mon, 17 Jun 2024 20:35:55 -0600 Subject: [PATCH 2/5] add init to playground for chromadb --- playground/__init__.py | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 playground/__init__.py diff --git a/playground/__init__.py b/playground/__init__.py new file mode 100644 index 00000000..c1359528 --- /dev/null +++ b/playground/__init__.py @@ -0,0 +1,3 @@ + +from playground.memory import * # noqa: E402, F403 + From 7e8380ca20adbd4961db76cea1e5a8313c1ee710 Mon Sep 17 00:00:00 2001 From: evelynmitchell Date: Mon, 17 Jun 2024 20:35:59 -0600 Subject: [PATCH 3/5] LTmemory example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7ca462c7..4d44f62f 100644 --- a/README.md +++ b/README.md @@ -114,7 +114,7 @@ agent.run("Generate a 10,000 word article on health and wellness for men under 5 import os from dotenv import load_dotenv from swarms import Agent, OpenAIChat -from playground.memory.chromadb_example import ChromaDB +from swarms.playground.memory.chromadb_example import ChromaDB import logging import os import uuid From a6b2cff8112b911ba14f734f1482850ee05528a6 Mon Sep 17 00:00:00 2001 From: evelynmitchell Date: Mon, 24 Jun 2024 17:24:39 -0600 Subject: [PATCH 4/5] add chromadb to imports --- pyproject.toml | 1 + requirements.txt | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 9d4ca4b0..ea378e6e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -53,6 +53,7 @@ docstring_parser = "0.16" fastapi = "*" openai = ">=1.30.1,<2.0" termcolor = "*" +chromadb = "*" [tool.poetry.group.lint.dependencies] diff --git a/requirements.txt b/requirements.txt index 09a4fc1d..97ab8704 100644 --- a/requirements.txt +++ b/requirements.txt @@ -27,4 +27,5 @@ mypy-protobuf>=3.0.0 pytest>=8.1.1 termcolor>=2.4.0 pandas>=2.2.2 -fastapi>=0.110.1 \ No newline at end of file +fastapi>=0.110.1 +chromadb \ No newline at end of file From 44d02f4d83303b71e220c1167ee5f23e411fb087 Mon Sep 17 00:00:00 2001 From: evelynmitchell Date: Mon, 24 Jun 2024 17:29:22 -0600 Subject: [PATCH 5/5] add anthropic to requirements --- pyproject.toml | 2 +- requirements.txt | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index ea378e6e..a5be57f1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,7 +54,7 @@ fastapi = "*" openai = ">=1.30.1,<2.0" termcolor = "*" chromadb = "*" - +anthropic = "*" [tool.poetry.group.lint.dependencies] black = ">=23.1,<25.0" diff --git a/requirements.txt b/requirements.txt index 97ab8704..df29590a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -28,4 +28,5 @@ pytest>=8.1.1 termcolor>=2.4.0 pandas>=2.2.2 fastapi>=0.110.1 -chromadb \ No newline at end of file +chromadb +anthropic \ No newline at end of file