Hi,
I have the new AI options working well in my XAF Blazor project for the RichTextEditor (excellent by the way!)
but have not been able to get the new AI functions to work in Reports…
There are examples for Reporting AI option for non-XAF blazor apps but I am unable to get these working from XAF
Am I missing something ? or, are there any XAF blazor reporting examples showing the new AI options ?
In my startup.cs I have the following code… but when I design or run reports the AI options are not visible…
Codeservices.AddDevExpressAI((config) =>
{
var client = new ChatClientOllamaAIService("http://localhost:11434/api/chat", "llama3.2");
config.RegisterChatClientOllamaAIService("http://localhost:11434/api/chat", "llama3.2");
config.AddBlazorReportingAIIntegration(config =>
{
config.SummarizeBehavior = SummarizeBehavior.Abstractive;
config.AvailabelLanguages = new List<LanguageItem>()
{
new LanguageItem() { Key = "de", Text = "German" },
new LanguageItem() { Key = "es", Text = "Spanish" },
new LanguageItem() { Key = "en", Text = "English" }
};
});
});
Thanks in advance
bw
Peter