├── .env.example ├── .gitignore ├── .pre-commit-config.yaml ├── LICENSE ├── README.md ├── chatgpt_memory ├── __init__.py ├── constants.py ├── datastore │ ├── __init__.py │ ├── config.py │ ├── datastore.py │ └── redis.py ├── environment.py ├── errors.py ├── llm_client │ ├── __init__.py │ ├── config.py │ ├── llm_client.py │ └── openai │ │ ├── __init__.py │ │ ├── conversation │ │ ├── __init__.py │ │ ├── chatgpt_client.py │ │ └── config.py │ │ └── embedding │ │ ├── __init__.py │ │ ├── config.py │ │ └── embedding_client.py ├── memory │ ├── __init__.py │ ├── manager.py │ └── memory.py └── utils │ ├── openai_utils.py │ └── reflection.py ├── examples └── simple_usage.py ├── pyproject.toml ├── rest_api.py ├── tests ├── conftest.py ├── test_llm_embedding_client.py ├── test_memory_manager.py └── test_redis_datastore.py └── ui.py /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuum-llms/chatgpt-memory/HEAD/.env.example -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuum-llms/chatgpt-memory/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuum-llms/chatgpt-memory/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuum-llms/chatgpt-memory/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuum-llms/chatgpt-memory/HEAD/README.md -------------------------------------------------------------------------------- /chatgpt_memory/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chatgpt_memory/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuum-llms/chatgpt-memory/HEAD/chatgpt_memory/constants.py -------------------------------------------------------------------------------- /chatgpt_memory/datastore/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuum-llms/chatgpt-memory/HEAD/chatgpt_memory/datastore/__init__.py -------------------------------------------------------------------------------- /chatgpt_memory/datastore/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuum-llms/chatgpt-memory/HEAD/chatgpt_memory/datastore/config.py -------------------------------------------------------------------------------- /chatgpt_memory/datastore/datastore.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuum-llms/chatgpt-memory/HEAD/chatgpt_memory/datastore/datastore.py -------------------------------------------------------------------------------- /chatgpt_memory/datastore/redis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuum-llms/chatgpt-memory/HEAD/chatgpt_memory/datastore/redis.py -------------------------------------------------------------------------------- /chatgpt_memory/environment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuum-llms/chatgpt-memory/HEAD/chatgpt_memory/environment.py -------------------------------------------------------------------------------- /chatgpt_memory/errors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuum-llms/chatgpt-memory/HEAD/chatgpt_memory/errors.py -------------------------------------------------------------------------------- /chatgpt_memory/llm_client/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuum-llms/chatgpt-memory/HEAD/chatgpt_memory/llm_client/__init__.py -------------------------------------------------------------------------------- /chatgpt_memory/llm_client/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuum-llms/chatgpt-memory/HEAD/chatgpt_memory/llm_client/config.py -------------------------------------------------------------------------------- /chatgpt_memory/llm_client/llm_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuum-llms/chatgpt-memory/HEAD/chatgpt_memory/llm_client/llm_client.py -------------------------------------------------------------------------------- /chatgpt_memory/llm_client/openai/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chatgpt_memory/llm_client/openai/conversation/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chatgpt_memory/llm_client/openai/conversation/chatgpt_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuum-llms/chatgpt-memory/HEAD/chatgpt_memory/llm_client/openai/conversation/chatgpt_client.py -------------------------------------------------------------------------------- /chatgpt_memory/llm_client/openai/conversation/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuum-llms/chatgpt-memory/HEAD/chatgpt_memory/llm_client/openai/conversation/config.py -------------------------------------------------------------------------------- /chatgpt_memory/llm_client/openai/embedding/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chatgpt_memory/llm_client/openai/embedding/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuum-llms/chatgpt-memory/HEAD/chatgpt_memory/llm_client/openai/embedding/config.py -------------------------------------------------------------------------------- /chatgpt_memory/llm_client/openai/embedding/embedding_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuum-llms/chatgpt-memory/HEAD/chatgpt_memory/llm_client/openai/embedding/embedding_client.py -------------------------------------------------------------------------------- /chatgpt_memory/memory/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuum-llms/chatgpt-memory/HEAD/chatgpt_memory/memory/__init__.py -------------------------------------------------------------------------------- /chatgpt_memory/memory/manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuum-llms/chatgpt-memory/HEAD/chatgpt_memory/memory/manager.py -------------------------------------------------------------------------------- /chatgpt_memory/memory/memory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuum-llms/chatgpt-memory/HEAD/chatgpt_memory/memory/memory.py -------------------------------------------------------------------------------- /chatgpt_memory/utils/openai_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuum-llms/chatgpt-memory/HEAD/chatgpt_memory/utils/openai_utils.py -------------------------------------------------------------------------------- /chatgpt_memory/utils/reflection.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuum-llms/chatgpt-memory/HEAD/chatgpt_memory/utils/reflection.py -------------------------------------------------------------------------------- /examples/simple_usage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuum-llms/chatgpt-memory/HEAD/examples/simple_usage.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuum-llms/chatgpt-memory/HEAD/pyproject.toml -------------------------------------------------------------------------------- /rest_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuum-llms/chatgpt-memory/HEAD/rest_api.py -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuum-llms/chatgpt-memory/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/test_llm_embedding_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuum-llms/chatgpt-memory/HEAD/tests/test_llm_embedding_client.py -------------------------------------------------------------------------------- /tests/test_memory_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuum-llms/chatgpt-memory/HEAD/tests/test_memory_manager.py -------------------------------------------------------------------------------- /tests/test_redis_datastore.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuum-llms/chatgpt-memory/HEAD/tests/test_redis_datastore.py -------------------------------------------------------------------------------- /ui.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuum-llms/chatgpt-memory/HEAD/ui.py --------------------------------------------------------------------------------