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.
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.