Class ResourceFilter
- Namespace
- FoundationaLLM.Common.Models.ResourceProviders
- Assembly
- FoundationaLLM.Common.dll
Filters resources based on the specified criteria.
public class ResourceFilter
- Inheritance
-
ResourceFilter
- Derived
- Inherited Members
- Extension Methods
Properties
DefaultResource
Gets or sets a value that specifies whether the default resource should be retrieved or not.
[JsonPropertyName("default")]
public bool? DefaultResource { get; set; }
Property Value
- bool?
Remarks
If set, this value has precedence over the ObjectIDs property. If not set, the ObjectIDs property is used to filter resources.
Name
Gets or sets the name of the resource to filter by.
[JsonPropertyName("name")]
public string? Name { get; set; }
Property Value
Remarks
The value can be a full name, a partial name, or a name pattern (depending on the support provided by the resource provider).
ObjectIDs
Gets or sets a list of object IDs to filter resources.
[JsonPropertyName("object_ids")]
public List<string>? ObjectIDs { get; set; }
Property Value
Remarks
The DefaultResource property has precendece over this property. If the DefaultResource property is set, this property is ignored.