Class FileSearchResult
Inherited Members
Namespace: Glitch9.AIDevKit
Assembly: Glitch9.AIDevKit.dll
Syntax
public class FileSearchResult
Properties
| Edit this page View SourceAttributes
Optional. Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard. Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters, booleans, or numbers.
Declaration
[JsonProperty("attributes")]
public ServerDictionary Attributes { get; set; }
Property Value
| Type | Description |
|---|---|
| ServerDictionary |
FileId
Optional. The unique ID of the file.
Declaration
[JsonProperty("file_id")]
public string FileId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Filename
Optional. The name of the file.
Declaration
[JsonProperty("filename")]
public string Filename { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Score
Optional. The relevance score of the file - a value between 0 and 1.
Declaration
[JsonProperty("score")]
public float? Score { get; set; }
Property Value
| Type | Description |
|---|---|
| float? |
Text
Optional. The text that was retrieved from the file.
Declaration
[JsonProperty("text")]
public string Text { get; set; }
Property Value
| Type | Description |
|---|---|
| string |