ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { CancellationToken } from 'vscode';
import { createServiceIdentifier } from '../../../util/common/services';
import { TelemetryCorrelationId } from '../../../util/common/telemetryCorrelationId';
/**
* Fully qualified type of the embedding.
*
* This includes both the model identifier and the dimensions.
*/
export class EmbeddingType {
public static readonly text3small_512 = new EmbeddingType('text-embedding-3-small-512');
public static readonly metis_1024_I16_Binary = new EmbeddingType('metis-1024-I16-Binary');
id
id
other EmbeddingType
id otherid
Metis_I16_Binary
model
dimensions
quantization
query EmbeddingQuantization
document EmbeddingQuantization
wellKnownEmbeddingMetadata Object
EmbeddingTypetext3small_512id
model
dimensions
quantization
query
document
EmbeddingTypemetis_1024_I16_Binaryid
model Metis_I16_Binary
dimensions
quantization
query
document
type EmbeddingType EmbeddingTypeInfo
wellKnownEmbeddingMetadatatypeid
type EmbeddingType
value EmbeddingVector
value value Embedding
value value
asEmbedding value Embedding
asEmbeddingtype
asEmbeddingvalue asEmbeddingvaluelength
type EmbeddingType
values Embedding
embeddingType EmbeddingType
value
IEmbeddingsComputer
inputType EmbeddingInputType
_serviceBrand
type EmbeddingType
inputs
options ComputeEmbeddingsOptions
telemetryInfo TelemetryCorrelationId
token CancellationToken
Embeddings
a EmbeddingVector b EmbeddingVector
alength blength
dotProduct
len Mathalength blength
i i len i
dotProduct ai bi
dotProduct
queryEmbedding Embedding otherEmbedding Embedding EmbeddingDistance
queryEmbeddingtypeotherEmbeddingtype
embeddingType queryEmbeddingtype
value otherEmbeddingvalue queryEmbeddingvalue
queryEmbedding Embedding
items ReadonlyArray Embedding
maxResults
options
minDistance
maxSpread
value distance EmbeddingDistance
minThreshold optionsminDistance
results items
value embedding distance EmbeddingDistance value
distance embedding queryEmbedding value
entry entrydistancevalue minThreshold
a b bdistancevalue adistancevalue
maxResults
entry
distance entrydistance
value entryvalue
resultslength optionsmaxSpread
minScore resultsdistancevalue optionsmaxSpread
out resultsx xdistancevalue minScore
out
results