- Merge Introduction prompt, RAG prompt and context block into one System message; - Keep the user question as the following User message; - Prevent consecutive System roles in AskWithContextAsync and AskWithContextAsEnumerable; - Update the GetContextHistory XML documentation to describe the new message layout; - Preserve the existing context retrieval and response flow. - ...
24 lines
710 B
C#
24 lines
710 B
C#
using xCommons.Providers;
|
|
using xCommons.Configurations;
|
|
using xIdentityService.Interfaces;
|
|
using xIdentityHelper.Controllers;
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
namespace xAiApi.Controllers {
|
|
/// <summary>
|
|
/// Test all Authentication Policies ...
|
|
/// </summary>
|
|
public class TestIdentity : XTestIdentityControllerBase {
|
|
public TestIdentity (
|
|
ILogger<TestIdentity> logger,
|
|
XAppConfiguration appConfiguration,
|
|
IXIdentityProvider identityProvider,
|
|
XValidationProvider validationProvider
|
|
) : base (
|
|
logger,
|
|
appConfiguration,
|
|
identityProvider,
|
|
validationProvider
|
|
) { }
|
|
}
|
|
} |