Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Handles logic related to the Citation model.
Citation
ICitationService.cs
_dbContextFactory
IDbContextFactory<NumaContext>
DbContextFactory
NumaContext
public CitationService( IDbContextFactory<NumaContext> dbContextFactory ) { _dbContextFactory = dbContextFactory ?? throw new ArgumentNullException( nameof( dbContextFactory ) ); }
CitationService
AddNewCitationsAsync
List<Citation>
Task
GetCitationsByConversdationIdAsync
Message
Conversation
string
List<Message>
Task<Dictionary<string, List<Citation>>>
using Numa.Models; namespace Numa.Interfaces { public interface ICitationService { Task AddNewCitationsAsync( List<Citation> citations ); Task<Dictionary<string, List<Citation>>> GetCitationsByConversdationIdAsync( string conversationId, List<Message> messages ); } }