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 { createServiceIdentifier } from '../../../util/common/services';
import { CancellationToken } from '../../../util/vs/base/common/cancellation';
import { Uri } from '../../../vscodeTypes';
import { ITokenizerProvider, TokenizationEndpoint } from '../../tokenizer/node/tokenizer';
import { FileChunk } from '../common/chunk';
import { MAX_CHUNK_SIZE_TOKENS, NaiveChunker } from './naiveChunker';
interface NaiveChunkingOptions {
/**
* The desired maximum length of each chunk in tokens
*/
readonly maxTokenLength
validateChunkLengths
includeExtraBodyOutsideRange
endpoint TokenizationEndpoint fileUri Uri text options NaiveChunkingOptions token CancellationToken FileChunk
INaiveChunkingService
_serviceBrand
naiveChunkers
tokenizerProvider ITokenizerProvider
endpoint TokenizationEndpoint uri Uri text options NaiveChunkingOptions token CancellationToken FileChunk
maxTokenLength optionsmaxTokenLength
out endpointuri text maxTokenLength token
optionsvalidateChunkLengths
out maxTokenLength endpoint
outx xtext
endpoint TokenizationEndpoint NaiveChunker
cached naiveChunkersendpointtokenizer
cached
cached
chunker endpoint tokenizerProvider
naiveChunkersendpointtokenizer chunker
chunker
chunks FileChunk maxTokenLength endpoint TokenizationEndpoint
chunk chunks
tokenLength tokenizerProviderendpointchunktext
tokenLength maxTokenLength
file chunkfile range chunkrange chunkTokenLength tokenLength maxLength maxTokenLength