Table of Contents

Class IndexRequest

Namespace
JD.AI.Gateway.Endpoints
Assembly
JD.AI.Gateway.dll
public record IndexRequest : IEquatable<IndexRequest>
Inheritance
IndexRequest
Implements
Inherited Members

Constructors

IndexRequest(string, string, float[], string?, string?, IDictionary<string, string>?)

public IndexRequest(string Id, string Text, float[] Embedding, string? Source = null, string? Category = null, IDictionary<string, string>? Metadata = null)

Parameters

Id string
Text string
Embedding float[]
Source string
Category string
Metadata IDictionary<string, string>

Properties

Category

public string? Category { get; init; }

Property Value

string

Embedding

public float[] Embedding { get; init; }

Property Value

float[]

Id

public string Id { get; init; }

Property Value

string

Metadata

public IDictionary<string, string>? Metadata { get; init; }

Property Value

IDictionary<string, string>

Source

public string? Source { get; init; }

Property Value

string

Text

public string Text { get; init; }

Property Value

string