Skip to content

Commit

Permalink
[0.1]
Browse files Browse the repository at this point in the history
  • Loading branch information
Kye Gomez authored and Kye Gomez committed Jul 8, 2024
1 parent 8849d5d commit a197d6f
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ $ pip install swarms-memory

## Usage



# License
MIT

Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ classifiers = [
[tool.poetry.dependencies]
python = "^3.10"
swarms = "*"
chromadb = "*"
loguru = "*"
sentence-transformers = "*"
pinecone = "*"


[tool.poetry.group.lint.dependencies]
Expand Down
5 changes: 3 additions & 2 deletions swarms_memory/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from swarms_memory.chroma_db_wrapper import ChromaDBWrapper
from swarms_memory.chroma_db_wrapper import ChromaMemory
from swarms_memory.pinecone_wrapper import PineconeMemory

__all__ = ["ChromaDBWrapper"]
__all__ = ["ChromaMemory", "PineconeMemory"]
6 changes: 4 additions & 2 deletions swarms_memory/pinecone_wrapper.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
from typing import List, Dict, Any, Callable, Optional
from typing import Any, Callable, Dict, List, Optional

import pinecone
from loguru import logger
from sentence_transformers import SentenceTransformer
from swarms.memory.base_vectordb import BaseVectorDatabase


class PineconeMemory:
class PineconeMemory(BaseVectorDatabase):
"""
A highly customizable wrapper class for Pinecone-based Retrieval-Augmented Generation (RAG) system.
Expand Down

0 comments on commit a197d6f

Please sign in to comment.