-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Create setup.py Requirement for PyPi Integration - setup.py * Create __init__.py Requirement for PyPi - reviewers please suggest edits if needed * Create tests folder For PyPi integration - see setup.py * init: .toml file and pypi foundation * fix: pip installing local dist/ directory * fix: update test folder * fix: version number * docs: add diagram images for README * docs: fix diagram image locations * fix: prepare for PyPI --------- Co-authored-by: kevinl424 <kevin.li.20742@gmail.com> Co-authored-by: seyeong-han <h960213@gmail.com>
- Loading branch information
1 parent
b07bed9
commit d87ebd4
Showing
31 changed files
with
215 additions
and
1,440 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
*.env | ||
.venv | ||
.DS_Store | ||
dist/ | ||
README_hidden.md | ||
**/__pycache__/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
[build-system] | ||
requires = [ | ||
"hatchling", | ||
] | ||
build-backend = "hatchling.build" | ||
|
||
[project] | ||
name = "memary" | ||
version = "0.1.1" | ||
authors = [ | ||
{ name="memary Labs", email="hello@memarylabs.com" }, | ||
] | ||
description = "Longterm Memory for Autonomous Agents" | ||
readme = "README_hidden.md" | ||
requires-python = ">=3.8, <=3.11.9" | ||
classifiers = [ | ||
"Programming Language :: Python :: 3", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
] | ||
dependencies = [ | ||
"neo4j==5.17.0", | ||
"python-dotenv==1.0.1", | ||
"pyvis==0.3.2", | ||
"streamlit==1.31.1", | ||
"llama-index==0.10.11", | ||
"llama-index-agent-openai==0.1.5", | ||
"llama-index-core==0.10.12", | ||
"llama-index-embeddings-openai==0.1.5", | ||
"llama-index-graph-stores-nebula==0.1.2", | ||
"llama-index-graph-stores-neo4j==0.1.1", | ||
"llama-index-legacy==0.9.48", | ||
"llama-index-llms-openai==0.1.5", | ||
"llama-index-multi-modal-llms-openai==0.1.3", | ||
"llama-index-program-openai==0.1.3", | ||
"llama-index-question-gen-openai==0.1.2", | ||
"llama-index-readers-file==0.1.4", | ||
"langchain==0.1.12", | ||
"langchain-openai==0.0.8", | ||
"llama-index-llms-perplexity==0.1.3", | ||
"pandas", | ||
"geocoder", | ||
"googlemaps", | ||
"ansistrip", | ||
"numpy", | ||
] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/kingjulio8238/memary" | ||
Issues = "https://github.com/kingjulio8238/memary/issues" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,4 +20,5 @@ llama-index-llms-perplexity==0.1.3 | |
pandas | ||
geocoder | ||
googlemaps | ||
ansistrip | ||
ansistrip | ||
numpy |
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from memary.memory.base_memory import BaseMemory | ||
from memary.memory.memory_stream import MemoryStream | ||
from memary.memory.entity_knowledge_store import EntityKnowledgeStore | ||
|
||
__all__ = ["BaseMemory", "MemoryStream", "EntityKnowledgeStore"] |
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
src/memory/entity_knowledge_store.py → src/memary/memory/entity_knowledge_store.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Empty file.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,57 @@ | ||
[] | ||
[ | ||
{ | ||
"entity": "Walt disney pictures", | ||
"count": 1, | ||
"date": "2024-05-08T19:17:52" | ||
}, | ||
{ | ||
"entity": "Disney", | ||
"count": 1, | ||
"date": "2024-05-08T19:17:52" | ||
}, | ||
{ | ||
"entity": "Voices of tim allen", | ||
"count": 1, | ||
"date": "2024-05-08T19:17:52" | ||
}, | ||
{ | ||
"entity": "Pixar", | ||
"count": 1, | ||
"date": "2024-05-08T19:17:52" | ||
}, | ||
{ | ||
"entity": "Voices of don rickles", | ||
"count": 1, | ||
"date": "2024-05-08T19:17:52" | ||
}, | ||
{ | ||
"entity": "Pixar animation studios", | ||
"count": 1, | ||
"date": "2024-05-08T19:17:52" | ||
}, | ||
{ | ||
"entity": "American computer-animated film", | ||
"count": 1, | ||
"date": "2024-05-08T19:17:52" | ||
}, | ||
{ | ||
"entity": "Toy story", | ||
"count": 1, | ||
"date": "2024-05-08T19:17:52" | ||
}, | ||
{ | ||
"entity": "1995 american computer-animated buddy comedy film", | ||
"count": 1, | ||
"date": "2024-05-08T19:17:52" | ||
}, | ||
{ | ||
"entity": "Voices of tom hanks", | ||
"count": 1, | ||
"date": "2024-05-08T19:17:52" | ||
}, | ||
{ | ||
"entity": "Entirely computer-animated feature film", | ||
"count": 1, | ||
"date": "2024-05-08T19:17:52" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Toy Story is a 1995 American computer-animated buddy comedy film produced by Pixar Animation Studios and released by Walt Disney Pictures. The feature film directorial debut of John Lasseter, it was the first entirely computer-animated feature film, as well as the first feature film from Pixar. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,46 @@ | ||
[] | ||
[ | ||
{ | ||
"entity": "American computer-animated film", | ||
"date": "2024-05-08T19:17:52" | ||
}, | ||
{ | ||
"entity": "Disney", | ||
"date": "2024-05-08T19:17:52" | ||
}, | ||
{ | ||
"entity": "Voices of tim allen", | ||
"date": "2024-05-08T19:17:52" | ||
}, | ||
{ | ||
"entity": "1995 american computer-animated buddy comedy film", | ||
"date": "2024-05-08T19:17:52" | ||
}, | ||
{ | ||
"entity": "Pixar", | ||
"date": "2024-05-08T19:17:52" | ||
}, | ||
{ | ||
"entity": "Voices of don rickles", | ||
"date": "2024-05-08T19:17:52" | ||
}, | ||
{ | ||
"entity": "Pixar animation studios", | ||
"date": "2024-05-08T19:17:52" | ||
}, | ||
{ | ||
"entity": "Entirely computer-animated feature film", | ||
"date": "2024-05-08T19:17:52" | ||
}, | ||
{ | ||
"entity": "Toy story", | ||
"date": "2024-05-08T19:17:52" | ||
}, | ||
{ | ||
"entity": "Walt disney pictures", | ||
"date": "2024-05-08T19:17:52" | ||
}, | ||
{ | ||
"entity": "Voices of tom hanks", | ||
"date": "2024-05-08T19:17:52" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,10 @@ | ||
[] | ||
[ | ||
{ | ||
"role": "user", | ||
"content": "tell me about toy story" | ||
}, | ||
{ | ||
"role": "user", | ||
"content": "rag: Toy Story is a 1995 American computer-animated buddy comedy film produced by Pixar Animation Studios and released by Walt Disney Pictures. The feature film directorial debut of John Lasseter, it was the first entirely computer-animated feature film, as well as the first feature film from Pixar." | ||
} | ||
] |
Oops, something went wrong.