Interface IAIModelManagementClient
- Namespace
- FoundationaLLM.Client.Management.Interfaces
- Assembly
- FoundationaLLM.Client.Management.dll
Provides methods to manage AI model resources.
public interface IAIModelManagementClient
- Extension Methods
Methods
GetAIModelAsync(string)
Retrieves a specific AI model by name.
Task<ResourceProviderGetResult<AIModelBase>> GetAIModelAsync(string aiModelName)
Parameters
aiModelName
stringThe name of the AI model to retrieve.
Returns
GetAIModelsAsync()
Retrieves all AI model resources.
Task<List<ResourceProviderGetResult<AIModelBase>>> GetAIModelsAsync()
Returns
- Task<List<ResourceProviderGetResult<AIModelBase>>>
All AI model resources to which the caller has access and which have not been marked as deleted.
UpsertAIModel(AIModelBase)
Upserts an AI model resource. If an AI model does not exist, it will be created. If an AI model configuration does exist, it will be updated.
Task<ResourceProviderUpsertResult> UpsertAIModel(AIModelBase aiModel)
Parameters
aiModel
AIModelBaseThe API endpoint configuration resource to create or update.
Returns
- Task<ResourceProviderUpsertResult>
Returns a ResourceProviderUpsertResult, which contains the Object ID of the resource.