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 Message model.
Message
IMessageService.cs
_dbContextFactory
IDbContextFactory<NumaContext>
DbContextFactory
NumaContext
public MessageService( IDbContextFactory<NumaContext> dbContextFactory ) { _dbContextFactory = dbContextFactory ?? throw new ArgumentNullException( nameof( dbContextFactory ) ); }
MessageService
GetMessagesByConversationIdAsync
CreatedDatetime
string
Task<List<Message>>
AddMessageAsync
Task
using Numa.Models; namespace Numa.Interfaces { public interface IMessageService { Task<List<Message>> GetMessagesByConversationIdAsync( string conversationId ); Task AddMessageAsync(Message newMessage); } }