{"id":22330828,"url":"https://github.com/mor10/false-memory","last_synced_at":"2025-04-12T12:24:13.700Z","repository":{"id":265560410,"uuid":"896246064","full_name":"mor10/false-memory","owner":"mor10","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-29T22:47:32.000Z","size":23,"stargazers_count":7,"open_issues_count":3,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T07:11:08.539Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mor10.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-29T21:40:03.000Z","updated_at":"2024-12-14T12:26:08.000Z","dependencies_parsed_at":"2024-11-29T23:36:25.684Z","dependency_job_id":null,"html_url":"https://github.com/mor10/false-memory","commit_stats":null,"previous_names":["mor10/false-memory"],"tags_count":0,"template":false,"template_full_name":"mor10/cs-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mor10%2Ffalse-memory","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mor10%2Ffalse-memory/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mor10%2Ffalse-memory/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mor10%2Ffalse-memory/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mor10","download_url":"https://codeload.github.com/mor10/false-memory/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248565563,"owners_count":21125517,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-04T04:08:16.524Z","updated_at":"2025-04-12T12:24:13.675Z","avatar_url":"https://github.com/mor10.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AI False Memory Demonstration\n\nThis project explores how AI chat applications handle memory through two different implementations: a traditional chat with persistent memory and an experimental chat where memories can be manipulated in real-time.\n\n## Overview\n\n- `memory-chat`: A traditional chat application with persistent memory storage\n- `false-memory-chat`: An experimental chat where memory can be altered during conversations\n\n## Quick Start\n\n### GitHub Codespaces\n\nThis project is optimized for GitHub Codespaces, providing a pre-configured environment with all necessary dependencies.\n\n[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/mor10/false-memory?quickstart=1)\n\n### Manual installation\n\n1. Clone the repository\n\n2. Install Python dependencies\n   ```sh\n   pip install\n   ```\n\n## API Integration\n\nThis project integrates with [GitHub Models](https://github.com/marketplace/models), making it immediately usable for GitHub users:\n- No API key required\n- Authentication handled through GitHub\n- Automatic endpoint configuration\n\n## False Memory Chat\n\nThe `false-memory-chat` demonstrates how AI memory can be manipulated in real-time, allowing for exploration of how context affects AI responses.\n\n### Running the False Memory Chat\n\n```sh\npython false_memory_chat.py\n```\n\n### Real-time Memory Manipulation\n\n1. Start the chat application\n2. Open `chat_memory.json` in your preferred editor\n3. Modify the conversation history:\n   ```json\n   [\n     {\"role\": \"user\", \"content\": \"What's your favorite color?\"},\n     {\"role\": \"assistant\", \"content\": \"I love blue!\"},\n     // Add or modify messages while chat is running\n   ]\n   ```\n4. Changes take effect in the next interaction\n\n### Available Commands\n- `history`: Display current chat history\n- `count`: Show number of messages in memory\n- `exit`: Close the application\n\n## Traditional Memory Chat\n\nThe `memory-chat` demonstrates conventional chat memory implementation where conversation history is maintained internally during the session.\n\n### Running the Memory Chat\n\n```sh\npython memory_chat.py\n```\n\n## Technical Details\n\n### API Configuration\n```python\nbase_url = \"https://models.inference.ai.azure.com\"\nmodel_name = \"gpt-4o-mini\"\n```\n\n## Contributing\n\nContributions are welcome! Feel free to:\n- Submit bug reports\n- Propose new features\n- Create pull requests\n\n## License\n\nThis project is open source and available under the GNU GPL 3.0 License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmor10%2Ffalse-memory","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmor10%2Ffalse-memory","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmor10%2Ffalse-memory/lists"}