Class ConfigurationController
- Namespace
- FoundationaLLM.Core.API.Controllers
- Assembly
- FoundationaLLM.Core.API.dll
Provides methods for retrieving and managing configuration.
[Authorize(AuthenticationSchemes = "Bearer", Policy = "MicrosoftEntraIDStandard")]
[ApiController]
[Route("instances/{instanceId}/[controller]")]
public class ConfigurationController : ControllerBase
- Inheritance
-
ConfigurationController
- Inherited Members
- Extension Methods
Constructors
ConfigurationController(IOrchestrationContext, IOptions<InstanceSettings>, ICoreService, ILogger<FilesController>)
The controller for managing files.
public ConfigurationController(IOrchestrationContext callContext, IOptions<InstanceSettings> instanceOptions, ICoreService coreService, ILogger<FilesController> logger)
Parameters
callContext
IOrchestrationContextThe IOrchestrationContext call context of the request being handled.
instanceOptions
IOptions<InstanceSettings>The options providing the InstanceSettings with instance settings.
coreService
ICoreServiceThe ICoreService core service.
logger
ILogger<FilesController>
Exceptions
Methods
GetCoreConfiguration(string)
Returns the core configuration.
[HttpGet]
public Task<IActionResult> GetCoreConfiguration(string instanceId)
Parameters
instanceId
stringThe FoundationaLLM instance identifier.