Interface IManagementClient
- Namespace
- FoundationaLLM.Client.Management.Interfaces
- Assembly
- FoundationaLLM.Client.Management.dll
Provides high-level methods to interact with the Management API.
public interface IManagementClient
- Extension Methods
Properties
AIModels
Contains methods to interact with AIModel resources.
IAIModelManagementClient AIModels { get; }
Property Value
Agents
Contains methods to interact with Agent resources.
IAgentManagementClient Agents { get; }
Property Value
Attachments
Contains methods to interact with Attachment resources.
IAttachmentManagementClient Attachments { get; }
Property Value
Configuration
Contains methods to interact with Configuration resources.
IConfigurationManagementClient Configuration { get; }
Property Value
DataSources
Contains methods to interact with DataSource resources.
IDataSourceManagementClient DataSources { get; }
Property Value
Prompts
Contains methods to interact with Prompt resources.
IPromptManagementClient Prompts { get; }
Property Value
Vectorization
Contains methods to interact with Vectorization resources.
IVectorizationManagementClient Vectorization { get; }
Property Value
Methods
GetResourceByObjectId<T>(string)
Retrieves a resource by its ObjectId.
Task<T> GetResourceByObjectId<T>(string objectId) where T : ResourceBase
Parameters
objectId
stringThe resource's Object ID (full resource path).
Returns
- Task<T>
Returns a deserialized resource object.
Type Parameters
T
The type of resource to retrieve. It must be derived from ResourceBase.
GetResourceWithActionsAndRolesByObjectId<T>(string)
Retrieves a resource by its ObjectId, including actions and roles.
Task<ResourceProviderGetResult<T>> GetResourceWithActionsAndRolesByObjectId<T>(string objectId) where T : ResourceBase
Parameters
objectId
stringThe resource's Object ID (full resource path).
Returns
- Task<ResourceProviderGetResult<T>>
Returns a deserialized resource object and its list of allowed actions and roles.
Type Parameters
T
The type of resource to retrieve. It must be derived from ResourceBase.