- Se añade un sistema de prompts de gerarquía máxima para molder el asistente. - Se añade control del sistema de prompts mediante el panel de administración.
16 lines
573 B
C#
16 lines
573 B
C#
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using ChatbotApi.Data.Models;
|
|
|
|
namespace ChatbotApi.Data.Models
|
|
{
|
|
public class AppContexto : IdentityDbContext
|
|
{
|
|
public AppContexto(DbContextOptions<AppContexto> options) : base(options) { }
|
|
|
|
public DbSet<ConversacionLog> ConversacionLogs { get; set; }
|
|
public DbSet<ContextoItem> ContextoItems { get; set; }
|
|
public DbSet<FuenteContexto> FuentesDeContexto { get; set; }
|
|
public DbSet<SystemPrompt> SystemPrompts { get; set; }
|
|
}
|
|
} |