定制 neuron-core/graph-retrieval 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

neuron-core/graph-retrieval

最新稳定版本:0.1.0

Composer 安装命令:

composer require neuron-core/graph-retrieval

包简介

Neuron AI retrieval component augmented with structured information from a knowledge graph database.

README 文档

README

This module implements the GraphRAG retrieval strategy for the Neuron AI PHP framework.

Requirements

  • PHP: ^8.1
  • Neuron: ^3.0

Installation

Install the latest version of the package:

composer require neuron-core/graph-retrieval

How to use GraphRetrieval in your agent

Return an instance of GraphRetrieval from the RAG method retrieval():

use NeuronAI\RAG\RAG;
use NeuronAI\RAG\Retrieval\RetrievalInterface;
use NeuronAI\RAG\GraphStore\Neo4jGraphStore;
use NeuronCore\GraphRetrieval\GraphRetrieval;

class GraphRAGAgent extends RAG
{
    protected function retrieval(): RetrievalInterface
    {
        return new GraphRetrieval(
            $this->resolveVectorStore(),
            $this->resolveEmbeddingsProvider(),
            $this->resolveProvider(),
            new Neo4jGraphStore()
        );
    }

    protected function embeddings(): EmbeddingsProviderInterface
    {
        return new ...
    }

    protected function vectorStore(): VectorStoreInterface
    {
        return new ...
    }
}

What is Neuron?

Neuron is a PHP framework for creating and orchestrating AI Agents. It allows you to integrate AI entities in your existing PHP applications with a powerful and flexible architecture. We provide tools for the entire agentic application development lifecycle, from LLM interfaces, to data loading, to multi-agent orchestration, to monitoring and debugging.

In addition, we provide tutorials and other educational content to help you get started using AI Agents in your projects.

Go to the official documentation

Video Tutorial

Neuron & Inspector

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 0
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-12-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固