IngestorService

gitinsp.domain.interfaces.application.IngestorService

Service responsible for ingesting and managing repository content in the RAG system Handles the processes of adding, removing, and listing repository collections

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def deleteRepository(repository: GitRepository): Try[Unit]

Removes a repository's content from the RAG system

Removes a repository's content from the RAG system

Value parameters

repository

The Git repository to delete from the system

Attributes

Returns

A Try indicating success or failure of the deletion process

def ingest(repository: GitRepository): Try[Unit]

Ingests a repository's content into the RAG system for AI retrieval

Ingests a repository's content into the RAG system for AI retrieval

Value parameters

repository

The Git repository to ingest

Attributes

Returns

A Try indicating success or failure of the ingestion process

def listCollections(): Try[List[String]]

Retrieves a list of all available collections in the system

Retrieves a list of all available collections in the system

Attributes

Returns

A list of collection names wrapped in a Try