返回顶部
g

graphitiGraphiti知识图谱操作

Knowledge graph operations via Graphiti API. Search facts, add episodes, and extract entities/relationships.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.1
安全检测
已通过
2,513
下载量
免费
免费
2
收藏
概述
安装方式
版本历史

graphiti

Graphiti 知识图谱

使用 Graphiti 的 REST API 和动态服务发现来查询和管理您的知识图谱。

前提条件

  • - Neo4j 数据库(图存储)
  • Qdrant(向量搜索)
  • Graphiti 服务正在运行(默认:http://localhost:8001)

工具

graphiti_search

搜索知识图谱以获取相关事实。

使用方法:
bash
bash 命令:
GRAPHITI_URL=\$({baseDir}/references/env-check.sh)
curl -s -X POST \\$GRAPHITI_URL/facts/search\ \
-H Content-Type: application/json \
-d {\query\: \您的查询\, \max_facts\: 10} | jq .

graphiti_add

向知识图谱添加新的事件/记忆。

使用方法:
bash
bash 命令:
GRAPHITI_URL=\$({baseDir}/references/env-check.sh)
curl -s -X POST \\$GRAPHITI_URL/messages\ \
-H Content-Type: application/json \
-d {\name\: \事件名称\, \content\: \事件内容\} | jq .

动态配置

该技能使用环境发现来自动查找 Graphiti:

  1. 1. Clawdbot 配置:clawdbot config get skills.graphiti.baseUrl
  2. 环境变量:$GRAPHITI_URL
  3. 默认回退:http://localhost:8001

要更改 Graphiti URL:
bash
export GRAPHITI_URL=http://10.0.0.10:8001

或者


clawdbot config set skills.graphiti.baseUrl http://10.0.0.10:8001

示例

搜索信息:
bash
bash 命令:
GRAPHITI_URL=\$({baseDir}/references/env-check.sh)
curl -s -X POST \\$GRAPHITI_URL/facts/search\ \
-H Content-Type: application/json \
-d {\query\: \告诉我关于 Essam Masoudy 的信息\, \max_facts\: 5}

添加记忆:
bash
bash 命令:
GRAPHITI_URL=\$({baseDir}/references/env-check.sh)
curl -s -X POST \\$GRAPHITI_URL/messages\ \
-H Content-Type: application/json \
-d {\name\: \项目更新\, \content\: \已完成 Clawdbot 集成的第一阶段\}

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 graphiti-1776392226 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 graphiti-1776392226 技能

通过命令行安装

skillhub install graphiti-1776392226

下载

⬇ 下载 graphiti v1.0.1(免费)

文件大小: 3 KB | 发布时间: 2026-4-17 15:05

v1.0.1 最新 2026-4-17 15:05
graphiti 1.0.1 – Documentation and metadata update.

- Updated README.md with usage instructions, prerequisites, dynamic configuration, and examples for searching and adding episodes to the knowledge graph.
- No functional or API changes; documentation improvements only.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部