https://github.com/space-banane/openweb-memory-importer
Import a array of strings into your Open Web UI
https://github.com/space-banane/openweb-memory-importer
memory ollama openwebui python
Last synced: 4 months ago
JSON representation
Import a array of strings into your Open Web UI
- Host: GitHub
- URL: https://github.com/space-banane/openweb-memory-importer
- Owner: Space-Banane
- License: other
- Created: 2025-02-02T15:44:25.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-07T18:04:13.000Z (over 1 year ago)
- Last Synced: 2025-07-19T10:12:51.633Z (11 months ago)
- Topics: memory, ollama, openwebui, python
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Open Web UI Memory Importer
Import an array of strings into your Open Web UI instance through its API.
## Description
A simple Python script to import memories into Open Web UI through its API. This tool allows batch importing of string arrays as individual memories.
## Features
- Batch import of memories
- Rate-limited requests (0.4s delay between imports)
- Simple API integration
- JSON response handling
## Usage
1. Replace the `user_info` array with your desired memory strings
2. Set your authorization token in the headers
3. Run the script to import memories
## Requirements
- Python 3.9+ (Probably works with older versions, haven't tested yet)
- `requests` library
- Running Open Web UI instance
## Note
Ensure your Open Web UI is running on `localhost:3000` or modify the URL accordingly.