mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-08-28 05:25:04 +00:00
| docs | ||
| examples | ||
| memoryscope | ||
| tests | ||
| .flake8 | ||
| .gitignore | ||
| .pre-commit-config.yaml | ||
| docker-compose.yml | ||
| Dockerfile | ||
| LICENSE | ||
| poetry.lock | ||
| pyproject.toml | ||
| README.md | ||
| README_ZH.md | ||
| requirements.txt | ||
English | 中文
MemoryScope
🚀 Installation
(1) Docker-Compose (Recommended)
-
Clone the project and edit the config.
git clone https://... nano config/demo_config_cn.yaml -
Edit
docker-compose.ymlto change environment variable.DASHSCOPE_API_KEY: "sk-0000000000" -
Run
docker-compose upto build and launch the memory-scope cli interface.
(2) Docker
-
Clone the project and edit the config.
git clone https://... nano config/demo_config_cn.yaml -
Build the
Dockerfilewith command:sudo docker build --network=host -t memoryscope . -
Run
ElasticSearchContainer with command:docker run -p 9200:9200 \ -e "discovery.type=single-node" \ -e "xpack.security.enabled=false" \ -e "xpack.license.self_generated.type=trial" \ docker.elastic.co/elasticsearch/elasticsearch:8.13.2 -
Launch the built image with command:
sudo docker run -it --rm --net=host memoryscope
💡 Contribute
Contributions are always encouraged!
We highly recommend install pre-commit hooks in this repo before committing pull requests. These hooks are small house-keeping scripts executed every time you make a git commit, which will take care of the formatting and linting automatically.
poetry install --with dev
pre-commit install
📖 Citation
Reference to cite if you use MemoryScope in a paper:
@software{MemoryScope,
author = {},
month = {08},
title = {{MemoryScope}},
url = {https://github.com/modelscope/MemoryScope},
year = {2024}
}