Find a file
2024-07-18 17:44:04 +08:00
config [dev] add en config 2024-07-14 18:31:09 +08:00
docs feat: Add new modules and update README 2024-07-18 14:59:00 +08:00
examples [dev] init dir & config 2024-06-17 20:12:58 +08:00
memory_scope feat: Add new modules and update README 2024-07-18 17:44:04 +08:00
tests support int type value retrieval in ES 2024-07-15 21:43:25 +08:00
.flake8 code format 2024-07-14 16:52:30 +08:00
.gitignore update sphinx generator 2024-07-17 17:00:38 +08:00
.pre-commit-config.yaml code format 2024-07-14 16:52:30 +08:00
docker-compose.yml fix arg in docker compose 2024-07-10 01:06:18 +08:00
Dockerfile update dockerfile 2024-07-18 15:42:59 +08:00
LICENSE update sphinx generator 2024-07-17 17:00:38 +08:00
pyproject.toml [feature] add project init poetry support 2024-07-09 20:11:52 +08:00
README.md update docker run readme 2024-07-18 15:52:42 +08:00
README_ZH.md code format 2024-07-14 16:52:30 +08:00
requirements.txt delete default service params 2024-07-11 21:09:23 +08:00
setup.py init commit 2024-06-17 19:10:36 +08:00

English | 中文

MemoryScope

Installation

(1) Docker-Compose (Recommanded)

  1. Clone the project and edit the config.

    git clone https://...
    nano config/demo_config_cn.yaml
    
  2. Edit docker-compose.yml to change environment variable.

    DASHSCOPE_API_KEY: "sk-0000000000"
    
  3. Run docker-compose up to build and launch the memory-scope cli interface.

(2) Docker

  1. Clone the project and edit the config.

    git clone https://...
    nano config/demo_config_cn.yaml
    
  2. Build the Dockerfile with command:

    sudo docker build --network=host -t memoryscope .
    
  3. Run ElasticSearch Container 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
    
  4. Launch the built image with command:

    sudo docker run -it --rm --net=host memoryscope