跳到正文
TakoAPI
返回技能列表

aister-vector-memory

由 alekhm 提供

Search & Research
635下载量由 clawskills.sh 提供
1浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Vector memory for Aister — search by meaning, not by grep!

描述

该技能的功能

Adds semantic search to Aister's memory using PostgreSQL with pgvector and the e5-large-v2 embedding model. Queries match by meaning rather than exact keywords. Supports both English and Russian.

Finds relevant memory entries even when the query shares no words with the stored text, unlike grep or keyword search.

何时使用

  • Finding past notes when you remember the topic but not the exact wording
  • Searching stored preferences and settings by description
  • Recalling what was written about a project without knowing precise terms
  • Looking up identity or behavior notes by concept
  • Retrieving context from memory files before starting a new conversation

示例工作流

输入

User asks: /search_memory my communication style

智能体
  1. 1

    Converts the query to a 1024-dimension vector using e5-large-v2

  2. 2

    Runs cosine similarity search against stored vectors in PostgreSQL

  3. 3

    Filters results above the 0.5 similarity threshold

  4. 4

    Returns up to 5 matching memory chunks with source context

输出

Excerpts from MEMORY.md or USER.md describing the user's communication preferences, ranked by semantic similarity

前置要求

  • PostgreSQL 16 with pgvector extension (requires root or sudo to install)
  • VECTOR_MEMORY_DB_PASSWORD environment variable set to the PostgreSQL user password

安装

clawhub install alekhm/aister-vector-memory

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接