Skip to main content

GPT Memory

GPT Memory is a package that stores historical memory of your LLM conversations and uses these memories to improve subsequent interactions. The system automatically classifies the memories and generates abstracts to behave like how human making conversations.

Features

  • Historical Memory Storage: Stores and manages historical chat data.
  • Automatic Classification: Automatically classifies chat memories for better organization.
  • Abstract Generation: Generates abstracts of past conversations to enhance GPT's context handling.
  • Mood detection: Check user emotional status and store in history chat data.
  • Context generation: Generates context for current message based on historical conversation.

Installation

To install GPT Memory, use pip:

pip install gpt_memory

Usage

Importing and Using the Memory Class

To start using GPT Memory, import the Memory class and process a user message:

from gpt_memory import Memory

m = Memory()
response = m.process_message('user_message')

Example

Here’s a simple example of how to use the Memory class:

from gpt_memory import Memory

# Initialize the memory system
memory_system = Memory()

# Process a user message
response = memory_system.process_message('Hello, how are you?')

# Print the status and response
print(f"Response: {response}")

Contributing

If you would like to contribute to GPT Memory, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bugfix.
  3. Implement your changes.
  4. Submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For any questions or inquiries, please contact sun@raaslabs.com.

Metadata

Release files for gpt-memory 0.0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gpt-memory 0.0.10
File Size Uploaded Provenance
gpt_memory-0.0.10.tar.gz 10.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for gpt-memory 0.0.10
File Interpreter ABI Platform
gpt_memory-0.0.10-py3-none-any.whl Python 3 none any Details

Total release size: 20.7 kB

Release files / gpt_memory-0.0.10.tar.gz

Download URL gpt_memory-0.0.10.tar.gz
Size 10.3 kB
Tags Source
SHA-256 checksum
How to use checksums
76f1736c59d31becc1ee2b96b4b10d6bf26ff6ffa8b908abd167b25132813948
BLAKE2b-256 checksum
How to use checksums
e63f3219ae57afedfc82b9ad6e25153bb118261b156dda0c1242ab4dd395740d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.11.8

Release files / gpt_memory-0.0.10-py3-none-any.whl

Download URL gpt_memory-0.0.10-py3-none-any.whl
Size 10.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
194bbf31683e8e01f7857a570304d18edb1fa66d14e9cf74721e2768ac1a7652
BLAKE2b-256 checksum
How to use checksums
3e951c9a47b7ee2dd67570cb7c67d5cbaf0dc49577232301033507c9c0ed17ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.11.8

Security for gpt-memory 0.0.10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.10 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page