NeoRagServiceProperties

data class NeoRagServiceProperties(val uri: String = "bolt://localhost:7687", val username: String = "neo4j", password: String, val chunkNodeName: String = "Chunk", val entityNodeName: String = "Entity", val name: String = "OgmRagService", val description: String = "RAG service using Neo4j OGM for querying and embedding", val contentElementIndex: String = "embabel-content-index", val entityIndex: String = "embabel-entity-index", val contentElementFullTextIndex: String = "embabel-content-fulltext-index", val entityFullTextIndex: String = "embabel-entity-fulltext-index", val ogmPackages: List<String> = listOf("not.a.real.package"), val maxChunkSize: Int = 1500, val overlapSize: Int = 200) : ContentChunker.Config

Parameters

chunkNodeName

the name of the node representing a chunk in the knowledge graph

entityNodeName

the name of a node representing an entity in the knowledge graph

ogmPackages

the packages to scan for Neo4j OGM entities. Defaults to none

Constructors

Link copied to clipboard
constructor(uri: String = "bolt://localhost:7687", username: String = "neo4j", password: String, chunkNodeName: String = "Chunk", entityNodeName: String = "Entity", name: String = "OgmRagService", description: String = "RAG service using Neo4j OGM for querying and embedding", contentElementIndex: String = "embabel-content-index", entityIndex: String = "embabel-entity-index", contentElementFullTextIndex: String = "embabel-content-fulltext-index", entityFullTextIndex: String = "embabel-entity-fulltext-index", ogmPackages: List<String> = listOf("not.a.real.package"), maxChunkSize: Int = 1500, overlapSize: Int = 200)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val maxChunkSize: Int = 1500
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val overlapSize: Int = 200
Link copied to clipboard
val uri: String
Link copied to clipboard