@kortexya/reasoninglayer 1.17.0 → 1.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +121 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +211 -3
- package/dist/index.d.ts +211 -3
- package/dist/index.js +121 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -109,7 +109,7 @@ type JsonValue$1 = string | number | boolean | null | JsonValue$1[] | object;
|
|
|
109
109
|
* This is the single source of truth for the version constant.
|
|
110
110
|
* The `scripts/release.sh` script updates this value alongside `package.json`.
|
|
111
111
|
*/
|
|
112
|
-
declare const SDK_VERSION = "1.
|
|
112
|
+
declare const SDK_VERSION = "1.18.0";
|
|
113
113
|
/**
|
|
114
114
|
* Authentication mode for the SDK.
|
|
115
115
|
*
|
|
@@ -8515,6 +8515,24 @@ interface EffectPredictionDto$1 {
|
|
|
8515
8515
|
/** @format double */
|
|
8516
8516
|
std_dev: number;
|
|
8517
8517
|
}
|
|
8518
|
+
/** Rank request: one query, and the candidates to score against it. */
|
|
8519
|
+
interface EmbeddingRankRequest$1 {
|
|
8520
|
+
/**
|
|
8521
|
+
* Candidate texts. Scored in place — the response is index-aligned with
|
|
8522
|
+
* this list, so the caller can zip it back onto whatever it retrieved.
|
|
8523
|
+
*/
|
|
8524
|
+
candidates: string[];
|
|
8525
|
+
/** The text every candidate is scored against. */
|
|
8526
|
+
query: string;
|
|
8527
|
+
}
|
|
8528
|
+
/** Rank response: one cosine similarity per candidate, in request order. */
|
|
8529
|
+
interface EmbeddingRankResponse$1 {
|
|
8530
|
+
/**
|
|
8531
|
+
* Cosine similarity in `[-1.0, 1.0]`, same length and same order as
|
|
8532
|
+
* `candidates`. A candidate with no scoreable text scores `0.0`.
|
|
8533
|
+
*/
|
|
8534
|
+
scores: number[];
|
|
8535
|
+
}
|
|
8518
8536
|
/** Response for the embedding verification endpoint. */
|
|
8519
8537
|
interface EmbeddingVerificationResponse$1 {
|
|
8520
8538
|
/** Whether box embeddings are available. */
|
|
@@ -9215,6 +9233,20 @@ interface EvidenceItemDto$1 {
|
|
|
9215
9233
|
* @format double
|
|
9216
9234
|
*/
|
|
9217
9235
|
contribution: number;
|
|
9236
|
+
/**
|
|
9237
|
+
* The evidence term's own human-readable sentence, when it has one.
|
|
9238
|
+
*
|
|
9239
|
+
* Without this the only identity an evidence row carried was `term_id`, so
|
|
9240
|
+
* every consumer rendered supporting evidence as `Evidence item <uuid>`
|
|
9241
|
+
* while the term itself held e.g. *"Aspirin reduces_risk_of Cardiovascular
|
|
9242
|
+
* Disease"* — the assessment path reported its own findings unreadably
|
|
9243
|
+
* (#138). Resolved from the term under the same deterministic display-name
|
|
9244
|
+
* precedence `TermDto.display_name` uses, so the two never disagree.
|
|
9245
|
+
*
|
|
9246
|
+
* Optional and omitted when empty: a consumer written before this field
|
|
9247
|
+
* existed deserializes the response unchanged and keeps its own fallback.
|
|
9248
|
+
*/
|
|
9249
|
+
description?: string | null;
|
|
9218
9250
|
/**
|
|
9219
9251
|
* Quality weight of this evidence (0.0-1.0)
|
|
9220
9252
|
* @format double
|
|
@@ -31414,7 +31446,7 @@ declare class Query<SecurityDataType = unknown> {
|
|
|
31414
31446
|
http: HttpClient<SecurityDataType>;
|
|
31415
31447
|
constructor(http: HttpClient<SecurityDataType>);
|
|
31416
31448
|
/**
|
|
31417
|
-
* @description Returns all terms with the specified sort OR any of its subtypes. This implements proper OSF polymorphic query semantics where querying a parent sort returns all instances of that sort and its descendants.
|
|
31449
|
+
* @description Returns all terms with the specified sort OR any of its subtypes. This implements proper OSF polymorphic query semantics where querying a parent sort returns all instances of that sort and its descendants. ## Resolving `sort_name` A name can denote more than one id (see `sort_name_candidates`), and no cheap probe tells which of them the query can actually answer from: on the production adapter `get_sort` and `get_sort_ids_by_names` are bare reads of an in-memory cache with no persistence fallback, while the query's own `get_compatible_sorts` does fall back to Postgres. Confirming a candidate with `get_sort` would therefore 404 every tenant sort created before the last restart — a guard strictly stricter than the thing it guards. So the candidates are **tried** against the real query, in order, and the first that answers wins; only `SortNotFound` moves on to the next, every other failure is returned as-is. When the first candidate answers — the common case — the route runs exactly one term query, as it always did. A phantom id (minted into the tenant lattice by ingestion and never persisted, #138) cannot be returned: the query authority refuses it and the loop skips past it. When no candidate answers, the sort is not queryable and the honest reply is 404 naming the sort the CALLER asked for — never a 400 leaking an internal `SortId` the caller never supplied.
|
|
31418
31450
|
*
|
|
31419
31451
|
* @tags query
|
|
31420
31452
|
* @name FindBySort
|
|
@@ -43301,6 +43333,19 @@ interface EvidenceAssessmentRequest {
|
|
|
43301
43333
|
interface EvidenceItemDto {
|
|
43302
43334
|
/** Contribution to the assessment (quality * support direction). */
|
|
43303
43335
|
contribution: number;
|
|
43336
|
+
/**
|
|
43337
|
+
* The evidence term's own human-readable sentence, e.g.
|
|
43338
|
+
* `"Aspirin reduces_risk_of Cancer"`.
|
|
43339
|
+
*
|
|
43340
|
+
* `termId` is a UUID no consumer can render, so without this an evidence row
|
|
43341
|
+
* could only be shown as `Evidence item <uuid>`. The backend resolves it from
|
|
43342
|
+
* the term under the same display-name precedence `TermDto.displayName` uses,
|
|
43343
|
+
* so the sentence shown here and the one shown for the term never disagree.
|
|
43344
|
+
*
|
|
43345
|
+
* `null` when talking to a backend that predates evidence descriptions, or
|
|
43346
|
+
* when the evidence term carries no description of its own.
|
|
43347
|
+
*/
|
|
43348
|
+
description?: string | null;
|
|
43304
43349
|
/** Quality weight of this evidence (0.0-1.0). */
|
|
43305
43350
|
qualityWeight: number;
|
|
43306
43351
|
/** Whether this evidence supports (true) or contradicts (false) the subject. */
|
|
@@ -43579,6 +43624,13 @@ declare class ReasoningClient {
|
|
|
43579
43624
|
/**
|
|
43580
43625
|
* Assess the truthfulness/validity of a subject based on related evidence.
|
|
43581
43626
|
*
|
|
43627
|
+
* @remarks
|
|
43628
|
+
* Each item in the supporting/contradicting breakdown carries a
|
|
43629
|
+
* `description` — the evidence term's own sentence,
|
|
43630
|
+
* e.g. `"Aspirin reduces_risk_of Cancer"` — so evidence can be rendered
|
|
43631
|
+
* without a second lookup by `termId`. It is `null` against a backend that
|
|
43632
|
+
* predates the field.
|
|
43633
|
+
*
|
|
43582
43634
|
* @param request - Evidence assessment request.
|
|
43583
43635
|
* @returns Assessment result with truthfulness score, label, and evidence breakdown.
|
|
43584
43636
|
*/
|
|
@@ -57479,6 +57531,18 @@ interface VerifyClaimRequest {
|
|
|
57479
57531
|
claimTermId: string;
|
|
57480
57532
|
/** Evidence sort ID (UUID). */
|
|
57481
57533
|
evidenceSortId: string;
|
|
57534
|
+
/**
|
|
57535
|
+
* Session whose knowledge base holds the claim, if any.
|
|
57536
|
+
*
|
|
57537
|
+
* A research session's terms live under a tenant of its own, so a claim a
|
|
57538
|
+
* run produced is invisible to a lookup against the deployment's configured
|
|
57539
|
+
* tenant — name the session and the verification is performed where the term
|
|
57540
|
+
* actually is. Omit it for a claim asserted outside any session.
|
|
57541
|
+
*
|
|
57542
|
+
* The session must belong to the caller's tenant; another tenant's session id
|
|
57543
|
+
* answers 404, exactly as an absent one does.
|
|
57544
|
+
*/
|
|
57545
|
+
sessionId?: string | null;
|
|
57482
57546
|
}
|
|
57483
57547
|
/** Response from claim verification. */
|
|
57484
57548
|
interface VerifyClaimResponse {
|
|
@@ -71151,6 +71215,148 @@ declare class ConnectorsClient {
|
|
|
71151
71215
|
oauthCallback(name: string, query?: OAuthCallbackQuery): Promise<Response>;
|
|
71152
71216
|
}
|
|
71153
71217
|
|
|
71218
|
+
declare class Embeddings<SecurityDataType = unknown> {
|
|
71219
|
+
http: HttpClient<SecurityDataType>;
|
|
71220
|
+
constructor(http: HttpClient<SecurityDataType>);
|
|
71221
|
+
/**
|
|
71222
|
+
* @description POST /api/v1/embeddings/rank
|
|
71223
|
+
*
|
|
71224
|
+
* @tags embeddings
|
|
71225
|
+
* @name RankEmbeddings
|
|
71226
|
+
* @summary Score every candidate against the query by embedding cosine similarity.
|
|
71227
|
+
* @request POST:/api/v1/embeddings/rank
|
|
71228
|
+
* @secure
|
|
71229
|
+
*/
|
|
71230
|
+
rankEmbeddings: (data: EmbeddingRankRequest$1, params?: RequestParams) => Promise<HttpResponse<EmbeddingRankResponse$1, void>>;
|
|
71231
|
+
}
|
|
71232
|
+
|
|
71233
|
+
/**
|
|
71234
|
+
* Embedding-space ranking — `POST /api/v1/embeddings/rank`.
|
|
71235
|
+
*
|
|
71236
|
+
* Scores candidate texts against a query by cosine similarity in the
|
|
71237
|
+
* deployment's shared sentence-embedding space. The endpoint never reorders and
|
|
71238
|
+
* never truncates: it reports one similarity per candidate, in request order,
|
|
71239
|
+
* and leaves the ranking policy to the caller.
|
|
71240
|
+
*
|
|
71241
|
+
* Distinct from the RAG search in `types/rag.ts` (which retrieves from the
|
|
71242
|
+
* knowledge base) — nothing here reads or writes the KB.
|
|
71243
|
+
*
|
|
71244
|
+
* @module
|
|
71245
|
+
*/
|
|
71246
|
+
/** Body of `POST /api/v1/embeddings/rank` — one query, and the texts to score against it. */
|
|
71247
|
+
interface EmbeddingRankRequest {
|
|
71248
|
+
/**
|
|
71249
|
+
* Candidate texts, scored in place — the response is index-aligned with this
|
|
71250
|
+
* list, so the caller can zip the scores back onto whatever it retrieved.
|
|
71251
|
+
*
|
|
71252
|
+
* An empty list is valid and yields an empty score list. The backend caps the
|
|
71253
|
+
* list at 512 candidates and answers `400` above that; rank in pages instead.
|
|
71254
|
+
* A blank candidate is not an error — it keeps its slot and scores `0`.
|
|
71255
|
+
*/
|
|
71256
|
+
candidates: string[];
|
|
71257
|
+
/**
|
|
71258
|
+
* The text every candidate is scored against. Must be non-blank
|
|
71259
|
+
* (the backend answers `400` otherwise).
|
|
71260
|
+
*
|
|
71261
|
+
* Capped at 8192 **characters**, as is each candidate; longer text is a `400`.
|
|
71262
|
+
*/
|
|
71263
|
+
query: string;
|
|
71264
|
+
}
|
|
71265
|
+
/** Response of `POST /api/v1/embeddings/rank`. */
|
|
71266
|
+
interface EmbeddingRankResponse {
|
|
71267
|
+
/**
|
|
71268
|
+
* Cosine similarity in `[-1, 1]`, same length and same order as the request's
|
|
71269
|
+
* `candidates` — index `i` scores `candidates[i]`.
|
|
71270
|
+
*
|
|
71271
|
+
* Higher is more similar. A candidate with no scoreable text (blank or
|
|
71272
|
+
* whitespace-only) scores `0`, which is the same value an orthogonal candidate
|
|
71273
|
+
* gets: absence of signal, not evidence of dissimilarity.
|
|
71274
|
+
*/
|
|
71275
|
+
scores: number[];
|
|
71276
|
+
}
|
|
71277
|
+
|
|
71278
|
+
type embeddings_EmbeddingRankRequest = EmbeddingRankRequest;
|
|
71279
|
+
type embeddings_EmbeddingRankResponse = EmbeddingRankResponse;
|
|
71280
|
+
declare namespace embeddings {
|
|
71281
|
+
export type { embeddings_EmbeddingRankRequest as EmbeddingRankRequest, embeddings_EmbeddingRankResponse as EmbeddingRankResponse };
|
|
71282
|
+
}
|
|
71283
|
+
|
|
71284
|
+
/**
|
|
71285
|
+
* Resource client for embedding-space ranking
|
|
71286
|
+
* (`POST /api/v1/embeddings/rank`).
|
|
71287
|
+
*
|
|
71288
|
+
* @remarks
|
|
71289
|
+
* Scores candidate texts against a query by cosine similarity in the
|
|
71290
|
+
* deployment's shared sentence-embedding space — the same embedder the backend
|
|
71291
|
+
* already loads, so a caller does not have to ship a second sentence
|
|
71292
|
+
* transformer into its own process just to choose which of N retrieved items to
|
|
71293
|
+
* spend an expensive step on.
|
|
71294
|
+
*
|
|
71295
|
+
* The endpoint is a pure function of the request: it reads no tenant data,
|
|
71296
|
+
* writes nothing, and never reorders or truncates. It reports a similarity per
|
|
71297
|
+
* candidate and stops there; the ranking policy stays with the caller.
|
|
71298
|
+
*
|
|
71299
|
+
* Uses the snake_case wire format (every field here happens to be a single
|
|
71300
|
+
* word); no value serialization (`ValueDto` / `FeatureValueDto`) is involved.
|
|
71301
|
+
*
|
|
71302
|
+
* Delegates to the generated `Embeddings` route class for the type-safe HTTP call.
|
|
71303
|
+
*/
|
|
71304
|
+
declare class EmbeddingsClient {
|
|
71305
|
+
/** @internal */
|
|
71306
|
+
private readonly api;
|
|
71307
|
+
/** @internal */
|
|
71308
|
+
constructor(api: Embeddings);
|
|
71309
|
+
/**
|
|
71310
|
+
* Score every candidate against the query by embedding cosine similarity.
|
|
71311
|
+
*
|
|
71312
|
+
* @param request - The query and the candidate texts to score against it.
|
|
71313
|
+
* @returns `scores` — one cosine similarity in `[-1, 1]` per candidate,
|
|
71314
|
+
* **index-aligned with `request.candidates`** (index `i` scores
|
|
71315
|
+
* `candidates[i]`) and the same length, so the scores can be zipped straight
|
|
71316
|
+
* back onto whatever was retrieved. Higher is more similar; a candidate
|
|
71317
|
+
* whose text is blank scores `0`.
|
|
71318
|
+
* @throws {BadRequestError} `400` — the query is blank, the candidate list is
|
|
71319
|
+
* over the backend's 512-candidate cap, or the query / a candidate is over
|
|
71320
|
+
* 8192 characters.
|
|
71321
|
+
* @throws {ApiError} `503` when the deployment has **no embedding backend
|
|
71322
|
+
* configured** (or its embedder is unreachable / misconfigured). The SDK
|
|
71323
|
+
* surfaces every 5xx as an `InternalServerError`; read its `status` to tell
|
|
71324
|
+
* `503` (no embedder) from `500` (ranking failed).
|
|
71325
|
+
*
|
|
71326
|
+
* @remarks
|
|
71327
|
+
* Distinguish "no embedder" from "no similarity": a deployment without an
|
|
71328
|
+
* embedding backend answers `503` rather than a fabricated score, precisely so
|
|
71329
|
+
* a caller cannot mistake it for "everything scored 0" and silently rank by
|
|
71330
|
+
* noise. The documented fallback on a `503` is to keep the source order.
|
|
71331
|
+
*
|
|
71332
|
+
* An empty `candidates` list is valid, not an error: it answers `200` with an
|
|
71333
|
+
* empty `scores` array, so a caller that retrieved nothing still gets a
|
|
71334
|
+
* well-formed, index-aligned response.
|
|
71335
|
+
*
|
|
71336
|
+
* A `0` score is absence of signal, not evidence of dissimilarity — it is also
|
|
71337
|
+
* what an orthogonal candidate and a blank candidate both receive.
|
|
71338
|
+
*
|
|
71339
|
+
* @example
|
|
71340
|
+
* ```typescript
|
|
71341
|
+
* const retrieved = [
|
|
71342
|
+
* { id: 'doc-1', text: 'Chaperones assist protein folding in the cytosol.' },
|
|
71343
|
+
* { id: 'doc-2', text: 'Quarterly revenue rose 12% year over year.' },
|
|
71344
|
+
* ];
|
|
71345
|
+
*
|
|
71346
|
+
* const { scores } = await client.embeddings.rank({
|
|
71347
|
+
* query: 'how proteins fold',
|
|
71348
|
+
* candidates: retrieved.map((doc) => doc.text),
|
|
71349
|
+
* });
|
|
71350
|
+
*
|
|
71351
|
+
* // Scores are index-aligned — zip them back onto what was retrieved.
|
|
71352
|
+
* const ranked = retrieved
|
|
71353
|
+
* .map((doc, i) => ({ doc, score: scores[i] }))
|
|
71354
|
+
* .sort((a, b) => b.score - a.score);
|
|
71355
|
+
* ```
|
|
71356
|
+
*/
|
|
71357
|
+
rank(request: EmbeddingRankRequest): Promise<EmbeddingRankResponse>;
|
|
71358
|
+
}
|
|
71359
|
+
|
|
71154
71360
|
/** Core knowledge base operations — types, records, rules, functions, constraints, and queries. */
|
|
71155
71361
|
interface CoreGroup {
|
|
71156
71362
|
readonly types: SortsClient;
|
|
@@ -71442,6 +71648,8 @@ declare class ReasoningLayerClient {
|
|
|
71442
71648
|
readonly speech: SpeechClient;
|
|
71443
71649
|
/** External data connectors — register / list / remove / connect / disconnect + OAuth callback. */
|
|
71444
71650
|
readonly connectors: ConnectorsClient;
|
|
71651
|
+
/** Embedding-space ranking — cosine score per candidate against a query, index-aligned. */
|
|
71652
|
+
readonly embeddings: EmbeddingsClient;
|
|
71445
71653
|
private _core?;
|
|
71446
71654
|
private _ai?;
|
|
71447
71655
|
private _reasoning?;
|
|
@@ -72916,4 +73124,4 @@ declare function toUntaggedFeatures(features: PlainFeatureMap): Record<string, F
|
|
|
72916
73124
|
*/
|
|
72917
73125
|
declare function toTermInputDto(input: PsiTermInput | TermInputDto): TermInputDto;
|
|
72918
73126
|
|
|
72919
|
-
export { ANY_ROLE, actionReviews as ActionReviews, actions as Actions, type AddFactRequest, type AddFactResponse, type AddRuleRequest, type AddRuleResponse, admin as Admin, agui as Agui, type AguiContextItem, type AguiEvent, type AguiFunctionCall, type AguiMessage, type AguiRole, type AguiRunOptions, type AguiTool, type AguiToolCall, type AiGroup, type AlcConcept, analysis as Analysis, type AnalysisGroup, anonymization as Anonymization, ApiError, type ApiResponse, type ArithmeticOp, type AuthConfig, AuthenticationError, authz as Authz, type AuthzAction, type AuthzDryRunRequest, type AuthzDryRunResponse, type AuthzEffect, type BackwardChainRequest, type BackwardChainResponse, BadRequestError, type BulkAddTermsRequest, type BulkAddTermsResponse, type BulkCreateSortsRequest, type BulkCreateSortsResponse, cdl as CDL, type CascadeOptions, type CatalogPage, causal as Causal, type CertificateDetail, chase as Chase, type ChaseArgDto, type ChaseAtomDto, type ChaseRunRequest, type ChaseRunResponse, type CheckDocumentRequest, type CheckDocumentResponse, type CheckFinding, type CheckSummary, type ClaimAssessment, type ClaimCitation, type ClaimSubtype, type ClaimVerdict, type ClassifyEdgesInput, type ClassifyEdgesVars, type ClearTermsResponse, type ClientConfig, cognitive as Cognitive, type CognitiveStrategyDto, coherence as Coherence, type CoherenceAnalyzeRequest, type CoherenceAnalyzeResponse, collections as Collections, communities as Communities, type CompareDocumentsRequest, type ComparisonOp, compliance as Compliance, complianceMarkings as ComplianceMarkings, conformal as Conformal, conformance as Conformance, type ConformanceCheckResponse, type ConformanceRepairResponse, type ConformanceRequest, connectors as Connectors, type ConstrainedPlainVar, Constraint, ConstraintViolationError, constraints as Constraints, control as Control, conversation as Conversation, type ConversationMessageRequest, type ConversationMessageResponse, type ConversationSummaryDto, type ConversationTurnsResponse, type CoreGroup, corpus as Corpus, type CorpusBridgesRequest, type CorpusBridgesResponse, type CorpusCommunitiesRequest, type CorpusCommunitiesResponse, type CorpusCrossCuttingRequest, type CorpusCrossCuttingResponse, type CorpusScope, type CreateResearchSessionRequest, type CreateResearchSessionResponse, type CreateSortRequest, type CreateTermRequest, type CtlFormula, dl as DL, type DataGroup, demo as Demo, discovery as Discovery, type DlSatisfiableRequest, type DlSatisfiableResponse, type DlSubsumesRequest, type DlSubsumesResponse, documentCheck as DocumentCheck, documents as Documents, type EqLiteralDto, type EqualityAtomDto, type ErrorResponse$1 as ErrorResponse, execution as Execution, extract as Extract, feasibility as Feasibility, type FeatureInputValueDto, type FeatureValueDto, type FindingKind, type FindingSeverity, Flow, type FlowProblem as FlowBuilderProblem, type FlowEdgeInput, type FlowEdgeOptions, flowNetworks as FlowNetworks, type FlowNode, type FlowProblemInputBase, type FocusEntryDto, ForbiddenError, forecast as Forecast, type ForecastDomain, type ForecastDomainsResponse, type ForecastEntityInput, type ForecastRequest, type ForecastResponse, type ForwardChainRequest, type ForwardChainResponse, functions as Functions, fuzzy as Fuzzy, FuzzyShape, type FuzzyShapeDto, generation as Generation, type GlbRequest, type GlbResponse, type GraphSparqlQueryRequest, type GraphSparqlResults, guardrail as Guardrail, type GuardrailReport, type GuardrailRequest, type GuardrailSummary, health as Health, homoiconic as Homoiconic, ilp as ILP, imageExtraction as ImageExtraction, inference as Inference, type IngestPaperRequest, type IngestPaperResponse, ingestion as Ingestion, IngestionFailedError, IngestionSession, type IngestionSyncOptions, type InlineDocument, type InstallList, type InstallPluginRequest, type InstallPluginResponse, type InstallState, type InstallSummary, type Interceptor, InternalServerError, type JsonValue$1 as JsonValue, type KripkeState, type KripkeTransition, LP, ltn as LTN, type ListCatalogParams, type ListConversationsResponse, type ListInstallsParams, type ListResearchSessionsResponse, type LtnInstance, type LtnQueryRequest, type LtnQueryResponse, type LtnRefuteRequest, type LtnRefuteResponse, type LtnRule, type LtnTrainRequest, type LtnTrainResponse, type LubRequest, type LubResponse, marketplace as Marketplace, type MarketplaceScope, type MaxFlowInput, type MaxFlowVars, type MinCostMaxFlowInput, type MinCostMaxFlowVars, type MinCutInput, type MinCutVars, namespaces as Namespaces, NetworkError, neuroSymbolic as NeuroSymbolic, NotFoundError, ontology as Ontology, ontologyAlignment as OntologyAlignment, ontologyBridge as OntologyBridge, ontologyExport as OntologyExport, type OntologyExportDocument, type OntologyExportFormat, type OntologyExportOptions, ontologyFacade as OntologyFacade, type Operand, operations as Operations, optimize as Optimize, osfDiff as OsfDiff, type OsfDiffReport, type OsfDiffRequest, type OsfDiffResponse, type OsfDiffSelector, type OsfDiffSequenceReport, type OsfDiffSequenceRequest, type OsfDiffSequenceResponse, type OsfDiffTemporalRequest, type OsfSearchRequest, type OsfSearchResponse, osfql as Osfql, type OsfqlRequest, type OsfqlResponse, type OsfqlValue, oversight as Oversight, type PaginationParams, type PaperMetadataDto, type PaperSource, type PlainFeatureMap, type PlainFeatureValue, plainValues as PlainValues, type PluginDependency, type PluginDetail, type PluginManifest, type PluginSummary, type PluginVersion, preferences as Preferences, proofEngine as ProofEngine, propertyGraph as PropertyGraph, type PropertyGraphErrorResponse, type PropertyGraphExecuteResponse, type PropertyGraphQueryRequest, type PropertyGraphTranslateResponse, type PropertyGraphValue, type PsiTermDto, type PsiTermInput, type PublishPluginRequest, type PublishPluginResponse, query as Query, rag as RAG, RateLimitError, type RateLimitInfo, reasoning as Reasoning, type ReasoningGroup, ReasoningLayerClient, ReasoningLayerError, type ReasoningStageDto, type ReasoningTraceDto, type RequestOptions, research as Research, type ResearchContradictionsResponse, type ResearchCycleResponse, type ResearchFindingsResponse, type ResearchGapsResponse, type ResearchReportResponse, type ResearchSessionResponse, type ResearchSessionSummaryDto, type ResolvedCoreferenceDto, reviews as Reviews, reward as Reward, row as Row, type RuleAggregatorDto, type RunAgentRequest, SDK_VERSION, sat as Sat, type SatLiteralDto, type SatSolveRequest, type SatSolveResponse, type SatVerdict, scenarios as Scenarios, scheduling as Scheduling, type SearchCatalogRequest, type SearchCatalogResponse, type SearchPapersRequest, type SearchPapersResponse, type SessionGraphDto, type SimpleTgdDto, smt as Smt, type SmtCheckRequest, type SmtCheckResponse, type SmtFunctionApplicationDto, type SmtVerdict, solver as Solver, SortBuilder, type SortDto, type SortInfoDto, sorts as Sorts, sources as Sources, spaces as Spaces, sparql as Sparql, type SparqlAskResults, type SparqlBindingSet, type SparqlEntailmentRegime, type SparqlQueryRequest, type SparqlQueryResults, type SparqlRdfTerm, type SparqlSelectResults, type SparqlTranslation, type SparqlUpdateRequest, type SparqlUpdateTranslation, speakers as Speakers, speech as Speech, statistical as Statistical, streaming as Streaming, synthetic as Synthetic, type SystemGroup, temporal as Temporal, type TemporalModelCheckRequest, type TemporalModelCheckResponse, type TemporalSeriesRequest, type TemporalSeriesResponse, type TemporalSeriesSpec, type TermDto, type TermInputArg, type TermInputDto, type TermListResponse, type TermPatternDto, type TermResponse, type TermSetSelector, terms as Terms, TimeoutError, translation as Translation, type TurnDto, ui as UI, type UpdateTermRequest, type UpgradeInstallRequest, utilities as Utilities, ValidationError, Value, type ValueDto, values as Values, verification as Verification, type VerifyClaimRequest, type VerifyClaimResponse, vision as Vision, visualization as Visualization, WebSocketClient, WebSocketConnection, webhookActions as WebhookActions, type WorkflowGroup, type YankPluginRequest, type YankPluginResponse, allen, constrained, discriminateFeatureValue, guard, isConstrainedPlainVar, isPsiTermInput, isTaggedValueDto, isUuid, psi, toTaggedFeatures, toTaggedValue, toTermInputDto, toUntaggedFeatures, toUntaggedValue };
|
|
73127
|
+
export { ANY_ROLE, actionReviews as ActionReviews, actions as Actions, type AddFactRequest, type AddFactResponse, type AddRuleRequest, type AddRuleResponse, admin as Admin, agui as Agui, type AguiContextItem, type AguiEvent, type AguiFunctionCall, type AguiMessage, type AguiRole, type AguiRunOptions, type AguiTool, type AguiToolCall, type AiGroup, type AlcConcept, analysis as Analysis, type AnalysisGroup, anonymization as Anonymization, ApiError, type ApiResponse, type ArithmeticOp, type AuthConfig, AuthenticationError, authz as Authz, type AuthzAction, type AuthzDryRunRequest, type AuthzDryRunResponse, type AuthzEffect, type BackwardChainRequest, type BackwardChainResponse, BadRequestError, type BulkAddTermsRequest, type BulkAddTermsResponse, type BulkCreateSortsRequest, type BulkCreateSortsResponse, cdl as CDL, type CascadeOptions, type CatalogPage, causal as Causal, type CertificateDetail, chase as Chase, type ChaseArgDto, type ChaseAtomDto, type ChaseRunRequest, type ChaseRunResponse, type CheckDocumentRequest, type CheckDocumentResponse, type CheckFinding, type CheckSummary, type ClaimAssessment, type ClaimCitation, type ClaimSubtype, type ClaimVerdict, type ClassifyEdgesInput, type ClassifyEdgesVars, type ClearTermsResponse, type ClientConfig, cognitive as Cognitive, type CognitiveStrategyDto, coherence as Coherence, type CoherenceAnalyzeRequest, type CoherenceAnalyzeResponse, collections as Collections, communities as Communities, type CompareDocumentsRequest, type ComparisonOp, compliance as Compliance, complianceMarkings as ComplianceMarkings, conformal as Conformal, conformance as Conformance, type ConformanceCheckResponse, type ConformanceRepairResponse, type ConformanceRequest, connectors as Connectors, type ConstrainedPlainVar, Constraint, ConstraintViolationError, constraints as Constraints, control as Control, conversation as Conversation, type ConversationMessageRequest, type ConversationMessageResponse, type ConversationSummaryDto, type ConversationTurnsResponse, type CoreGroup, corpus as Corpus, type CorpusBridgesRequest, type CorpusBridgesResponse, type CorpusCommunitiesRequest, type CorpusCommunitiesResponse, type CorpusCrossCuttingRequest, type CorpusCrossCuttingResponse, type CorpusScope, type CreateResearchSessionRequest, type CreateResearchSessionResponse, type CreateSortRequest, type CreateTermRequest, type CtlFormula, dl as DL, type DataGroup, demo as Demo, discovery as Discovery, type DlSatisfiableRequest, type DlSatisfiableResponse, type DlSubsumesRequest, type DlSubsumesResponse, documentCheck as DocumentCheck, documents as Documents, embeddings as Embeddings, type EqLiteralDto, type EqualityAtomDto, type ErrorResponse$1 as ErrorResponse, execution as Execution, extract as Extract, feasibility as Feasibility, type FeatureInputValueDto, type FeatureValueDto, type FindingKind, type FindingSeverity, Flow, type FlowProblem as FlowBuilderProblem, type FlowEdgeInput, type FlowEdgeOptions, flowNetworks as FlowNetworks, type FlowNode, type FlowProblemInputBase, type FocusEntryDto, ForbiddenError, forecast as Forecast, type ForecastDomain, type ForecastDomainsResponse, type ForecastEntityInput, type ForecastRequest, type ForecastResponse, type ForwardChainRequest, type ForwardChainResponse, functions as Functions, fuzzy as Fuzzy, FuzzyShape, type FuzzyShapeDto, generation as Generation, type GlbRequest, type GlbResponse, type GraphSparqlQueryRequest, type GraphSparqlResults, guardrail as Guardrail, type GuardrailReport, type GuardrailRequest, type GuardrailSummary, health as Health, homoiconic as Homoiconic, ilp as ILP, imageExtraction as ImageExtraction, inference as Inference, type IngestPaperRequest, type IngestPaperResponse, ingestion as Ingestion, IngestionFailedError, IngestionSession, type IngestionSyncOptions, type InlineDocument, type InstallList, type InstallPluginRequest, type InstallPluginResponse, type InstallState, type InstallSummary, type Interceptor, InternalServerError, type JsonValue$1 as JsonValue, type KripkeState, type KripkeTransition, LP, ltn as LTN, type ListCatalogParams, type ListConversationsResponse, type ListInstallsParams, type ListResearchSessionsResponse, type LtnInstance, type LtnQueryRequest, type LtnQueryResponse, type LtnRefuteRequest, type LtnRefuteResponse, type LtnRule, type LtnTrainRequest, type LtnTrainResponse, type LubRequest, type LubResponse, marketplace as Marketplace, type MarketplaceScope, type MaxFlowInput, type MaxFlowVars, type MinCostMaxFlowInput, type MinCostMaxFlowVars, type MinCutInput, type MinCutVars, namespaces as Namespaces, NetworkError, neuroSymbolic as NeuroSymbolic, NotFoundError, ontology as Ontology, ontologyAlignment as OntologyAlignment, ontologyBridge as OntologyBridge, ontologyExport as OntologyExport, type OntologyExportDocument, type OntologyExportFormat, type OntologyExportOptions, ontologyFacade as OntologyFacade, type Operand, operations as Operations, optimize as Optimize, osfDiff as OsfDiff, type OsfDiffReport, type OsfDiffRequest, type OsfDiffResponse, type OsfDiffSelector, type OsfDiffSequenceReport, type OsfDiffSequenceRequest, type OsfDiffSequenceResponse, type OsfDiffTemporalRequest, type OsfSearchRequest, type OsfSearchResponse, osfql as Osfql, type OsfqlRequest, type OsfqlResponse, type OsfqlValue, oversight as Oversight, type PaginationParams, type PaperMetadataDto, type PaperSource, type PlainFeatureMap, type PlainFeatureValue, plainValues as PlainValues, type PluginDependency, type PluginDetail, type PluginManifest, type PluginSummary, type PluginVersion, preferences as Preferences, proofEngine as ProofEngine, propertyGraph as PropertyGraph, type PropertyGraphErrorResponse, type PropertyGraphExecuteResponse, type PropertyGraphQueryRequest, type PropertyGraphTranslateResponse, type PropertyGraphValue, type PsiTermDto, type PsiTermInput, type PublishPluginRequest, type PublishPluginResponse, query as Query, rag as RAG, RateLimitError, type RateLimitInfo, reasoning as Reasoning, type ReasoningGroup, ReasoningLayerClient, ReasoningLayerError, type ReasoningStageDto, type ReasoningTraceDto, type RequestOptions, research as Research, type ResearchContradictionsResponse, type ResearchCycleResponse, type ResearchFindingsResponse, type ResearchGapsResponse, type ResearchReportResponse, type ResearchSessionResponse, type ResearchSessionSummaryDto, type ResolvedCoreferenceDto, reviews as Reviews, reward as Reward, row as Row, type RuleAggregatorDto, type RunAgentRequest, SDK_VERSION, sat as Sat, type SatLiteralDto, type SatSolveRequest, type SatSolveResponse, type SatVerdict, scenarios as Scenarios, scheduling as Scheduling, type SearchCatalogRequest, type SearchCatalogResponse, type SearchPapersRequest, type SearchPapersResponse, type SessionGraphDto, type SimpleTgdDto, smt as Smt, type SmtCheckRequest, type SmtCheckResponse, type SmtFunctionApplicationDto, type SmtVerdict, solver as Solver, SortBuilder, type SortDto, type SortInfoDto, sorts as Sorts, sources as Sources, spaces as Spaces, sparql as Sparql, type SparqlAskResults, type SparqlBindingSet, type SparqlEntailmentRegime, type SparqlQueryRequest, type SparqlQueryResults, type SparqlRdfTerm, type SparqlSelectResults, type SparqlTranslation, type SparqlUpdateRequest, type SparqlUpdateTranslation, speakers as Speakers, speech as Speech, statistical as Statistical, streaming as Streaming, synthetic as Synthetic, type SystemGroup, temporal as Temporal, type TemporalModelCheckRequest, type TemporalModelCheckResponse, type TemporalSeriesRequest, type TemporalSeriesResponse, type TemporalSeriesSpec, type TermDto, type TermInputArg, type TermInputDto, type TermListResponse, type TermPatternDto, type TermResponse, type TermSetSelector, terms as Terms, TimeoutError, translation as Translation, type TurnDto, ui as UI, type UpdateTermRequest, type UpgradeInstallRequest, utilities as Utilities, ValidationError, Value, type ValueDto, values as Values, verification as Verification, type VerifyClaimRequest, type VerifyClaimResponse, vision as Vision, visualization as Visualization, WebSocketClient, WebSocketConnection, webhookActions as WebhookActions, type WorkflowGroup, type YankPluginRequest, type YankPluginResponse, allen, constrained, discriminateFeatureValue, guard, isConstrainedPlainVar, isPsiTermInput, isTaggedValueDto, isUuid, psi, toTaggedFeatures, toTaggedValue, toTermInputDto, toUntaggedFeatures, toUntaggedValue };
|
package/dist/index.d.ts
CHANGED
|
@@ -109,7 +109,7 @@ type JsonValue$1 = string | number | boolean | null | JsonValue$1[] | object;
|
|
|
109
109
|
* This is the single source of truth for the version constant.
|
|
110
110
|
* The `scripts/release.sh` script updates this value alongside `package.json`.
|
|
111
111
|
*/
|
|
112
|
-
declare const SDK_VERSION = "1.
|
|
112
|
+
declare const SDK_VERSION = "1.18.0";
|
|
113
113
|
/**
|
|
114
114
|
* Authentication mode for the SDK.
|
|
115
115
|
*
|
|
@@ -8515,6 +8515,24 @@ interface EffectPredictionDto$1 {
|
|
|
8515
8515
|
/** @format double */
|
|
8516
8516
|
std_dev: number;
|
|
8517
8517
|
}
|
|
8518
|
+
/** Rank request: one query, and the candidates to score against it. */
|
|
8519
|
+
interface EmbeddingRankRequest$1 {
|
|
8520
|
+
/**
|
|
8521
|
+
* Candidate texts. Scored in place — the response is index-aligned with
|
|
8522
|
+
* this list, so the caller can zip it back onto whatever it retrieved.
|
|
8523
|
+
*/
|
|
8524
|
+
candidates: string[];
|
|
8525
|
+
/** The text every candidate is scored against. */
|
|
8526
|
+
query: string;
|
|
8527
|
+
}
|
|
8528
|
+
/** Rank response: one cosine similarity per candidate, in request order. */
|
|
8529
|
+
interface EmbeddingRankResponse$1 {
|
|
8530
|
+
/**
|
|
8531
|
+
* Cosine similarity in `[-1.0, 1.0]`, same length and same order as
|
|
8532
|
+
* `candidates`. A candidate with no scoreable text scores `0.0`.
|
|
8533
|
+
*/
|
|
8534
|
+
scores: number[];
|
|
8535
|
+
}
|
|
8518
8536
|
/** Response for the embedding verification endpoint. */
|
|
8519
8537
|
interface EmbeddingVerificationResponse$1 {
|
|
8520
8538
|
/** Whether box embeddings are available. */
|
|
@@ -9215,6 +9233,20 @@ interface EvidenceItemDto$1 {
|
|
|
9215
9233
|
* @format double
|
|
9216
9234
|
*/
|
|
9217
9235
|
contribution: number;
|
|
9236
|
+
/**
|
|
9237
|
+
* The evidence term's own human-readable sentence, when it has one.
|
|
9238
|
+
*
|
|
9239
|
+
* Without this the only identity an evidence row carried was `term_id`, so
|
|
9240
|
+
* every consumer rendered supporting evidence as `Evidence item <uuid>`
|
|
9241
|
+
* while the term itself held e.g. *"Aspirin reduces_risk_of Cardiovascular
|
|
9242
|
+
* Disease"* — the assessment path reported its own findings unreadably
|
|
9243
|
+
* (#138). Resolved from the term under the same deterministic display-name
|
|
9244
|
+
* precedence `TermDto.display_name` uses, so the two never disagree.
|
|
9245
|
+
*
|
|
9246
|
+
* Optional and omitted when empty: a consumer written before this field
|
|
9247
|
+
* existed deserializes the response unchanged and keeps its own fallback.
|
|
9248
|
+
*/
|
|
9249
|
+
description?: string | null;
|
|
9218
9250
|
/**
|
|
9219
9251
|
* Quality weight of this evidence (0.0-1.0)
|
|
9220
9252
|
* @format double
|
|
@@ -31414,7 +31446,7 @@ declare class Query<SecurityDataType = unknown> {
|
|
|
31414
31446
|
http: HttpClient<SecurityDataType>;
|
|
31415
31447
|
constructor(http: HttpClient<SecurityDataType>);
|
|
31416
31448
|
/**
|
|
31417
|
-
* @description Returns all terms with the specified sort OR any of its subtypes. This implements proper OSF polymorphic query semantics where querying a parent sort returns all instances of that sort and its descendants.
|
|
31449
|
+
* @description Returns all terms with the specified sort OR any of its subtypes. This implements proper OSF polymorphic query semantics where querying a parent sort returns all instances of that sort and its descendants. ## Resolving `sort_name` A name can denote more than one id (see `sort_name_candidates`), and no cheap probe tells which of them the query can actually answer from: on the production adapter `get_sort` and `get_sort_ids_by_names` are bare reads of an in-memory cache with no persistence fallback, while the query's own `get_compatible_sorts` does fall back to Postgres. Confirming a candidate with `get_sort` would therefore 404 every tenant sort created before the last restart — a guard strictly stricter than the thing it guards. So the candidates are **tried** against the real query, in order, and the first that answers wins; only `SortNotFound` moves on to the next, every other failure is returned as-is. When the first candidate answers — the common case — the route runs exactly one term query, as it always did. A phantom id (minted into the tenant lattice by ingestion and never persisted, #138) cannot be returned: the query authority refuses it and the loop skips past it. When no candidate answers, the sort is not queryable and the honest reply is 404 naming the sort the CALLER asked for — never a 400 leaking an internal `SortId` the caller never supplied.
|
|
31418
31450
|
*
|
|
31419
31451
|
* @tags query
|
|
31420
31452
|
* @name FindBySort
|
|
@@ -43301,6 +43333,19 @@ interface EvidenceAssessmentRequest {
|
|
|
43301
43333
|
interface EvidenceItemDto {
|
|
43302
43334
|
/** Contribution to the assessment (quality * support direction). */
|
|
43303
43335
|
contribution: number;
|
|
43336
|
+
/**
|
|
43337
|
+
* The evidence term's own human-readable sentence, e.g.
|
|
43338
|
+
* `"Aspirin reduces_risk_of Cancer"`.
|
|
43339
|
+
*
|
|
43340
|
+
* `termId` is a UUID no consumer can render, so without this an evidence row
|
|
43341
|
+
* could only be shown as `Evidence item <uuid>`. The backend resolves it from
|
|
43342
|
+
* the term under the same display-name precedence `TermDto.displayName` uses,
|
|
43343
|
+
* so the sentence shown here and the one shown for the term never disagree.
|
|
43344
|
+
*
|
|
43345
|
+
* `null` when talking to a backend that predates evidence descriptions, or
|
|
43346
|
+
* when the evidence term carries no description of its own.
|
|
43347
|
+
*/
|
|
43348
|
+
description?: string | null;
|
|
43304
43349
|
/** Quality weight of this evidence (0.0-1.0). */
|
|
43305
43350
|
qualityWeight: number;
|
|
43306
43351
|
/** Whether this evidence supports (true) or contradicts (false) the subject. */
|
|
@@ -43579,6 +43624,13 @@ declare class ReasoningClient {
|
|
|
43579
43624
|
/**
|
|
43580
43625
|
* Assess the truthfulness/validity of a subject based on related evidence.
|
|
43581
43626
|
*
|
|
43627
|
+
* @remarks
|
|
43628
|
+
* Each item in the supporting/contradicting breakdown carries a
|
|
43629
|
+
* `description` — the evidence term's own sentence,
|
|
43630
|
+
* e.g. `"Aspirin reduces_risk_of Cancer"` — so evidence can be rendered
|
|
43631
|
+
* without a second lookup by `termId`. It is `null` against a backend that
|
|
43632
|
+
* predates the field.
|
|
43633
|
+
*
|
|
43582
43634
|
* @param request - Evidence assessment request.
|
|
43583
43635
|
* @returns Assessment result with truthfulness score, label, and evidence breakdown.
|
|
43584
43636
|
*/
|
|
@@ -57479,6 +57531,18 @@ interface VerifyClaimRequest {
|
|
|
57479
57531
|
claimTermId: string;
|
|
57480
57532
|
/** Evidence sort ID (UUID). */
|
|
57481
57533
|
evidenceSortId: string;
|
|
57534
|
+
/**
|
|
57535
|
+
* Session whose knowledge base holds the claim, if any.
|
|
57536
|
+
*
|
|
57537
|
+
* A research session's terms live under a tenant of its own, so a claim a
|
|
57538
|
+
* run produced is invisible to a lookup against the deployment's configured
|
|
57539
|
+
* tenant — name the session and the verification is performed where the term
|
|
57540
|
+
* actually is. Omit it for a claim asserted outside any session.
|
|
57541
|
+
*
|
|
57542
|
+
* The session must belong to the caller's tenant; another tenant's session id
|
|
57543
|
+
* answers 404, exactly as an absent one does.
|
|
57544
|
+
*/
|
|
57545
|
+
sessionId?: string | null;
|
|
57482
57546
|
}
|
|
57483
57547
|
/** Response from claim verification. */
|
|
57484
57548
|
interface VerifyClaimResponse {
|
|
@@ -71151,6 +71215,148 @@ declare class ConnectorsClient {
|
|
|
71151
71215
|
oauthCallback(name: string, query?: OAuthCallbackQuery): Promise<Response>;
|
|
71152
71216
|
}
|
|
71153
71217
|
|
|
71218
|
+
declare class Embeddings<SecurityDataType = unknown> {
|
|
71219
|
+
http: HttpClient<SecurityDataType>;
|
|
71220
|
+
constructor(http: HttpClient<SecurityDataType>);
|
|
71221
|
+
/**
|
|
71222
|
+
* @description POST /api/v1/embeddings/rank
|
|
71223
|
+
*
|
|
71224
|
+
* @tags embeddings
|
|
71225
|
+
* @name RankEmbeddings
|
|
71226
|
+
* @summary Score every candidate against the query by embedding cosine similarity.
|
|
71227
|
+
* @request POST:/api/v1/embeddings/rank
|
|
71228
|
+
* @secure
|
|
71229
|
+
*/
|
|
71230
|
+
rankEmbeddings: (data: EmbeddingRankRequest$1, params?: RequestParams) => Promise<HttpResponse<EmbeddingRankResponse$1, void>>;
|
|
71231
|
+
}
|
|
71232
|
+
|
|
71233
|
+
/**
|
|
71234
|
+
* Embedding-space ranking — `POST /api/v1/embeddings/rank`.
|
|
71235
|
+
*
|
|
71236
|
+
* Scores candidate texts against a query by cosine similarity in the
|
|
71237
|
+
* deployment's shared sentence-embedding space. The endpoint never reorders and
|
|
71238
|
+
* never truncates: it reports one similarity per candidate, in request order,
|
|
71239
|
+
* and leaves the ranking policy to the caller.
|
|
71240
|
+
*
|
|
71241
|
+
* Distinct from the RAG search in `types/rag.ts` (which retrieves from the
|
|
71242
|
+
* knowledge base) — nothing here reads or writes the KB.
|
|
71243
|
+
*
|
|
71244
|
+
* @module
|
|
71245
|
+
*/
|
|
71246
|
+
/** Body of `POST /api/v1/embeddings/rank` — one query, and the texts to score against it. */
|
|
71247
|
+
interface EmbeddingRankRequest {
|
|
71248
|
+
/**
|
|
71249
|
+
* Candidate texts, scored in place — the response is index-aligned with this
|
|
71250
|
+
* list, so the caller can zip the scores back onto whatever it retrieved.
|
|
71251
|
+
*
|
|
71252
|
+
* An empty list is valid and yields an empty score list. The backend caps the
|
|
71253
|
+
* list at 512 candidates and answers `400` above that; rank in pages instead.
|
|
71254
|
+
* A blank candidate is not an error — it keeps its slot and scores `0`.
|
|
71255
|
+
*/
|
|
71256
|
+
candidates: string[];
|
|
71257
|
+
/**
|
|
71258
|
+
* The text every candidate is scored against. Must be non-blank
|
|
71259
|
+
* (the backend answers `400` otherwise).
|
|
71260
|
+
*
|
|
71261
|
+
* Capped at 8192 **characters**, as is each candidate; longer text is a `400`.
|
|
71262
|
+
*/
|
|
71263
|
+
query: string;
|
|
71264
|
+
}
|
|
71265
|
+
/** Response of `POST /api/v1/embeddings/rank`. */
|
|
71266
|
+
interface EmbeddingRankResponse {
|
|
71267
|
+
/**
|
|
71268
|
+
* Cosine similarity in `[-1, 1]`, same length and same order as the request's
|
|
71269
|
+
* `candidates` — index `i` scores `candidates[i]`.
|
|
71270
|
+
*
|
|
71271
|
+
* Higher is more similar. A candidate with no scoreable text (blank or
|
|
71272
|
+
* whitespace-only) scores `0`, which is the same value an orthogonal candidate
|
|
71273
|
+
* gets: absence of signal, not evidence of dissimilarity.
|
|
71274
|
+
*/
|
|
71275
|
+
scores: number[];
|
|
71276
|
+
}
|
|
71277
|
+
|
|
71278
|
+
type embeddings_EmbeddingRankRequest = EmbeddingRankRequest;
|
|
71279
|
+
type embeddings_EmbeddingRankResponse = EmbeddingRankResponse;
|
|
71280
|
+
declare namespace embeddings {
|
|
71281
|
+
export type { embeddings_EmbeddingRankRequest as EmbeddingRankRequest, embeddings_EmbeddingRankResponse as EmbeddingRankResponse };
|
|
71282
|
+
}
|
|
71283
|
+
|
|
71284
|
+
/**
|
|
71285
|
+
* Resource client for embedding-space ranking
|
|
71286
|
+
* (`POST /api/v1/embeddings/rank`).
|
|
71287
|
+
*
|
|
71288
|
+
* @remarks
|
|
71289
|
+
* Scores candidate texts against a query by cosine similarity in the
|
|
71290
|
+
* deployment's shared sentence-embedding space — the same embedder the backend
|
|
71291
|
+
* already loads, so a caller does not have to ship a second sentence
|
|
71292
|
+
* transformer into its own process just to choose which of N retrieved items to
|
|
71293
|
+
* spend an expensive step on.
|
|
71294
|
+
*
|
|
71295
|
+
* The endpoint is a pure function of the request: it reads no tenant data,
|
|
71296
|
+
* writes nothing, and never reorders or truncates. It reports a similarity per
|
|
71297
|
+
* candidate and stops there; the ranking policy stays with the caller.
|
|
71298
|
+
*
|
|
71299
|
+
* Uses the snake_case wire format (every field here happens to be a single
|
|
71300
|
+
* word); no value serialization (`ValueDto` / `FeatureValueDto`) is involved.
|
|
71301
|
+
*
|
|
71302
|
+
* Delegates to the generated `Embeddings` route class for the type-safe HTTP call.
|
|
71303
|
+
*/
|
|
71304
|
+
declare class EmbeddingsClient {
|
|
71305
|
+
/** @internal */
|
|
71306
|
+
private readonly api;
|
|
71307
|
+
/** @internal */
|
|
71308
|
+
constructor(api: Embeddings);
|
|
71309
|
+
/**
|
|
71310
|
+
* Score every candidate against the query by embedding cosine similarity.
|
|
71311
|
+
*
|
|
71312
|
+
* @param request - The query and the candidate texts to score against it.
|
|
71313
|
+
* @returns `scores` — one cosine similarity in `[-1, 1]` per candidate,
|
|
71314
|
+
* **index-aligned with `request.candidates`** (index `i` scores
|
|
71315
|
+
* `candidates[i]`) and the same length, so the scores can be zipped straight
|
|
71316
|
+
* back onto whatever was retrieved. Higher is more similar; a candidate
|
|
71317
|
+
* whose text is blank scores `0`.
|
|
71318
|
+
* @throws {BadRequestError} `400` — the query is blank, the candidate list is
|
|
71319
|
+
* over the backend's 512-candidate cap, or the query / a candidate is over
|
|
71320
|
+
* 8192 characters.
|
|
71321
|
+
* @throws {ApiError} `503` when the deployment has **no embedding backend
|
|
71322
|
+
* configured** (or its embedder is unreachable / misconfigured). The SDK
|
|
71323
|
+
* surfaces every 5xx as an `InternalServerError`; read its `status` to tell
|
|
71324
|
+
* `503` (no embedder) from `500` (ranking failed).
|
|
71325
|
+
*
|
|
71326
|
+
* @remarks
|
|
71327
|
+
* Distinguish "no embedder" from "no similarity": a deployment without an
|
|
71328
|
+
* embedding backend answers `503` rather than a fabricated score, precisely so
|
|
71329
|
+
* a caller cannot mistake it for "everything scored 0" and silently rank by
|
|
71330
|
+
* noise. The documented fallback on a `503` is to keep the source order.
|
|
71331
|
+
*
|
|
71332
|
+
* An empty `candidates` list is valid, not an error: it answers `200` with an
|
|
71333
|
+
* empty `scores` array, so a caller that retrieved nothing still gets a
|
|
71334
|
+
* well-formed, index-aligned response.
|
|
71335
|
+
*
|
|
71336
|
+
* A `0` score is absence of signal, not evidence of dissimilarity — it is also
|
|
71337
|
+
* what an orthogonal candidate and a blank candidate both receive.
|
|
71338
|
+
*
|
|
71339
|
+
* @example
|
|
71340
|
+
* ```typescript
|
|
71341
|
+
* const retrieved = [
|
|
71342
|
+
* { id: 'doc-1', text: 'Chaperones assist protein folding in the cytosol.' },
|
|
71343
|
+
* { id: 'doc-2', text: 'Quarterly revenue rose 12% year over year.' },
|
|
71344
|
+
* ];
|
|
71345
|
+
*
|
|
71346
|
+
* const { scores } = await client.embeddings.rank({
|
|
71347
|
+
* query: 'how proteins fold',
|
|
71348
|
+
* candidates: retrieved.map((doc) => doc.text),
|
|
71349
|
+
* });
|
|
71350
|
+
*
|
|
71351
|
+
* // Scores are index-aligned — zip them back onto what was retrieved.
|
|
71352
|
+
* const ranked = retrieved
|
|
71353
|
+
* .map((doc, i) => ({ doc, score: scores[i] }))
|
|
71354
|
+
* .sort((a, b) => b.score - a.score);
|
|
71355
|
+
* ```
|
|
71356
|
+
*/
|
|
71357
|
+
rank(request: EmbeddingRankRequest): Promise<EmbeddingRankResponse>;
|
|
71358
|
+
}
|
|
71359
|
+
|
|
71154
71360
|
/** Core knowledge base operations — types, records, rules, functions, constraints, and queries. */
|
|
71155
71361
|
interface CoreGroup {
|
|
71156
71362
|
readonly types: SortsClient;
|
|
@@ -71442,6 +71648,8 @@ declare class ReasoningLayerClient {
|
|
|
71442
71648
|
readonly speech: SpeechClient;
|
|
71443
71649
|
/** External data connectors — register / list / remove / connect / disconnect + OAuth callback. */
|
|
71444
71650
|
readonly connectors: ConnectorsClient;
|
|
71651
|
+
/** Embedding-space ranking — cosine score per candidate against a query, index-aligned. */
|
|
71652
|
+
readonly embeddings: EmbeddingsClient;
|
|
71445
71653
|
private _core?;
|
|
71446
71654
|
private _ai?;
|
|
71447
71655
|
private _reasoning?;
|
|
@@ -72916,4 +73124,4 @@ declare function toUntaggedFeatures(features: PlainFeatureMap): Record<string, F
|
|
|
72916
73124
|
*/
|
|
72917
73125
|
declare function toTermInputDto(input: PsiTermInput | TermInputDto): TermInputDto;
|
|
72918
73126
|
|
|
72919
|
-
export { ANY_ROLE, actionReviews as ActionReviews, actions as Actions, type AddFactRequest, type AddFactResponse, type AddRuleRequest, type AddRuleResponse, admin as Admin, agui as Agui, type AguiContextItem, type AguiEvent, type AguiFunctionCall, type AguiMessage, type AguiRole, type AguiRunOptions, type AguiTool, type AguiToolCall, type AiGroup, type AlcConcept, analysis as Analysis, type AnalysisGroup, anonymization as Anonymization, ApiError, type ApiResponse, type ArithmeticOp, type AuthConfig, AuthenticationError, authz as Authz, type AuthzAction, type AuthzDryRunRequest, type AuthzDryRunResponse, type AuthzEffect, type BackwardChainRequest, type BackwardChainResponse, BadRequestError, type BulkAddTermsRequest, type BulkAddTermsResponse, type BulkCreateSortsRequest, type BulkCreateSortsResponse, cdl as CDL, type CascadeOptions, type CatalogPage, causal as Causal, type CertificateDetail, chase as Chase, type ChaseArgDto, type ChaseAtomDto, type ChaseRunRequest, type ChaseRunResponse, type CheckDocumentRequest, type CheckDocumentResponse, type CheckFinding, type CheckSummary, type ClaimAssessment, type ClaimCitation, type ClaimSubtype, type ClaimVerdict, type ClassifyEdgesInput, type ClassifyEdgesVars, type ClearTermsResponse, type ClientConfig, cognitive as Cognitive, type CognitiveStrategyDto, coherence as Coherence, type CoherenceAnalyzeRequest, type CoherenceAnalyzeResponse, collections as Collections, communities as Communities, type CompareDocumentsRequest, type ComparisonOp, compliance as Compliance, complianceMarkings as ComplianceMarkings, conformal as Conformal, conformance as Conformance, type ConformanceCheckResponse, type ConformanceRepairResponse, type ConformanceRequest, connectors as Connectors, type ConstrainedPlainVar, Constraint, ConstraintViolationError, constraints as Constraints, control as Control, conversation as Conversation, type ConversationMessageRequest, type ConversationMessageResponse, type ConversationSummaryDto, type ConversationTurnsResponse, type CoreGroup, corpus as Corpus, type CorpusBridgesRequest, type CorpusBridgesResponse, type CorpusCommunitiesRequest, type CorpusCommunitiesResponse, type CorpusCrossCuttingRequest, type CorpusCrossCuttingResponse, type CorpusScope, type CreateResearchSessionRequest, type CreateResearchSessionResponse, type CreateSortRequest, type CreateTermRequest, type CtlFormula, dl as DL, type DataGroup, demo as Demo, discovery as Discovery, type DlSatisfiableRequest, type DlSatisfiableResponse, type DlSubsumesRequest, type DlSubsumesResponse, documentCheck as DocumentCheck, documents as Documents, type EqLiteralDto, type EqualityAtomDto, type ErrorResponse$1 as ErrorResponse, execution as Execution, extract as Extract, feasibility as Feasibility, type FeatureInputValueDto, type FeatureValueDto, type FindingKind, type FindingSeverity, Flow, type FlowProblem as FlowBuilderProblem, type FlowEdgeInput, type FlowEdgeOptions, flowNetworks as FlowNetworks, type FlowNode, type FlowProblemInputBase, type FocusEntryDto, ForbiddenError, forecast as Forecast, type ForecastDomain, type ForecastDomainsResponse, type ForecastEntityInput, type ForecastRequest, type ForecastResponse, type ForwardChainRequest, type ForwardChainResponse, functions as Functions, fuzzy as Fuzzy, FuzzyShape, type FuzzyShapeDto, generation as Generation, type GlbRequest, type GlbResponse, type GraphSparqlQueryRequest, type GraphSparqlResults, guardrail as Guardrail, type GuardrailReport, type GuardrailRequest, type GuardrailSummary, health as Health, homoiconic as Homoiconic, ilp as ILP, imageExtraction as ImageExtraction, inference as Inference, type IngestPaperRequest, type IngestPaperResponse, ingestion as Ingestion, IngestionFailedError, IngestionSession, type IngestionSyncOptions, type InlineDocument, type InstallList, type InstallPluginRequest, type InstallPluginResponse, type InstallState, type InstallSummary, type Interceptor, InternalServerError, type JsonValue$1 as JsonValue, type KripkeState, type KripkeTransition, LP, ltn as LTN, type ListCatalogParams, type ListConversationsResponse, type ListInstallsParams, type ListResearchSessionsResponse, type LtnInstance, type LtnQueryRequest, type LtnQueryResponse, type LtnRefuteRequest, type LtnRefuteResponse, type LtnRule, type LtnTrainRequest, type LtnTrainResponse, type LubRequest, type LubResponse, marketplace as Marketplace, type MarketplaceScope, type MaxFlowInput, type MaxFlowVars, type MinCostMaxFlowInput, type MinCostMaxFlowVars, type MinCutInput, type MinCutVars, namespaces as Namespaces, NetworkError, neuroSymbolic as NeuroSymbolic, NotFoundError, ontology as Ontology, ontologyAlignment as OntologyAlignment, ontologyBridge as OntologyBridge, ontologyExport as OntologyExport, type OntologyExportDocument, type OntologyExportFormat, type OntologyExportOptions, ontologyFacade as OntologyFacade, type Operand, operations as Operations, optimize as Optimize, osfDiff as OsfDiff, type OsfDiffReport, type OsfDiffRequest, type OsfDiffResponse, type OsfDiffSelector, type OsfDiffSequenceReport, type OsfDiffSequenceRequest, type OsfDiffSequenceResponse, type OsfDiffTemporalRequest, type OsfSearchRequest, type OsfSearchResponse, osfql as Osfql, type OsfqlRequest, type OsfqlResponse, type OsfqlValue, oversight as Oversight, type PaginationParams, type PaperMetadataDto, type PaperSource, type PlainFeatureMap, type PlainFeatureValue, plainValues as PlainValues, type PluginDependency, type PluginDetail, type PluginManifest, type PluginSummary, type PluginVersion, preferences as Preferences, proofEngine as ProofEngine, propertyGraph as PropertyGraph, type PropertyGraphErrorResponse, type PropertyGraphExecuteResponse, type PropertyGraphQueryRequest, type PropertyGraphTranslateResponse, type PropertyGraphValue, type PsiTermDto, type PsiTermInput, type PublishPluginRequest, type PublishPluginResponse, query as Query, rag as RAG, RateLimitError, type RateLimitInfo, reasoning as Reasoning, type ReasoningGroup, ReasoningLayerClient, ReasoningLayerError, type ReasoningStageDto, type ReasoningTraceDto, type RequestOptions, research as Research, type ResearchContradictionsResponse, type ResearchCycleResponse, type ResearchFindingsResponse, type ResearchGapsResponse, type ResearchReportResponse, type ResearchSessionResponse, type ResearchSessionSummaryDto, type ResolvedCoreferenceDto, reviews as Reviews, reward as Reward, row as Row, type RuleAggregatorDto, type RunAgentRequest, SDK_VERSION, sat as Sat, type SatLiteralDto, type SatSolveRequest, type SatSolveResponse, type SatVerdict, scenarios as Scenarios, scheduling as Scheduling, type SearchCatalogRequest, type SearchCatalogResponse, type SearchPapersRequest, type SearchPapersResponse, type SessionGraphDto, type SimpleTgdDto, smt as Smt, type SmtCheckRequest, type SmtCheckResponse, type SmtFunctionApplicationDto, type SmtVerdict, solver as Solver, SortBuilder, type SortDto, type SortInfoDto, sorts as Sorts, sources as Sources, spaces as Spaces, sparql as Sparql, type SparqlAskResults, type SparqlBindingSet, type SparqlEntailmentRegime, type SparqlQueryRequest, type SparqlQueryResults, type SparqlRdfTerm, type SparqlSelectResults, type SparqlTranslation, type SparqlUpdateRequest, type SparqlUpdateTranslation, speakers as Speakers, speech as Speech, statistical as Statistical, streaming as Streaming, synthetic as Synthetic, type SystemGroup, temporal as Temporal, type TemporalModelCheckRequest, type TemporalModelCheckResponse, type TemporalSeriesRequest, type TemporalSeriesResponse, type TemporalSeriesSpec, type TermDto, type TermInputArg, type TermInputDto, type TermListResponse, type TermPatternDto, type TermResponse, type TermSetSelector, terms as Terms, TimeoutError, translation as Translation, type TurnDto, ui as UI, type UpdateTermRequest, type UpgradeInstallRequest, utilities as Utilities, ValidationError, Value, type ValueDto, values as Values, verification as Verification, type VerifyClaimRequest, type VerifyClaimResponse, vision as Vision, visualization as Visualization, WebSocketClient, WebSocketConnection, webhookActions as WebhookActions, type WorkflowGroup, type YankPluginRequest, type YankPluginResponse, allen, constrained, discriminateFeatureValue, guard, isConstrainedPlainVar, isPsiTermInput, isTaggedValueDto, isUuid, psi, toTaggedFeatures, toTaggedValue, toTermInputDto, toUntaggedFeatures, toUntaggedValue };
|
|
73127
|
+
export { ANY_ROLE, actionReviews as ActionReviews, actions as Actions, type AddFactRequest, type AddFactResponse, type AddRuleRequest, type AddRuleResponse, admin as Admin, agui as Agui, type AguiContextItem, type AguiEvent, type AguiFunctionCall, type AguiMessage, type AguiRole, type AguiRunOptions, type AguiTool, type AguiToolCall, type AiGroup, type AlcConcept, analysis as Analysis, type AnalysisGroup, anonymization as Anonymization, ApiError, type ApiResponse, type ArithmeticOp, type AuthConfig, AuthenticationError, authz as Authz, type AuthzAction, type AuthzDryRunRequest, type AuthzDryRunResponse, type AuthzEffect, type BackwardChainRequest, type BackwardChainResponse, BadRequestError, type BulkAddTermsRequest, type BulkAddTermsResponse, type BulkCreateSortsRequest, type BulkCreateSortsResponse, cdl as CDL, type CascadeOptions, type CatalogPage, causal as Causal, type CertificateDetail, chase as Chase, type ChaseArgDto, type ChaseAtomDto, type ChaseRunRequest, type ChaseRunResponse, type CheckDocumentRequest, type CheckDocumentResponse, type CheckFinding, type CheckSummary, type ClaimAssessment, type ClaimCitation, type ClaimSubtype, type ClaimVerdict, type ClassifyEdgesInput, type ClassifyEdgesVars, type ClearTermsResponse, type ClientConfig, cognitive as Cognitive, type CognitiveStrategyDto, coherence as Coherence, type CoherenceAnalyzeRequest, type CoherenceAnalyzeResponse, collections as Collections, communities as Communities, type CompareDocumentsRequest, type ComparisonOp, compliance as Compliance, complianceMarkings as ComplianceMarkings, conformal as Conformal, conformance as Conformance, type ConformanceCheckResponse, type ConformanceRepairResponse, type ConformanceRequest, connectors as Connectors, type ConstrainedPlainVar, Constraint, ConstraintViolationError, constraints as Constraints, control as Control, conversation as Conversation, type ConversationMessageRequest, type ConversationMessageResponse, type ConversationSummaryDto, type ConversationTurnsResponse, type CoreGroup, corpus as Corpus, type CorpusBridgesRequest, type CorpusBridgesResponse, type CorpusCommunitiesRequest, type CorpusCommunitiesResponse, type CorpusCrossCuttingRequest, type CorpusCrossCuttingResponse, type CorpusScope, type CreateResearchSessionRequest, type CreateResearchSessionResponse, type CreateSortRequest, type CreateTermRequest, type CtlFormula, dl as DL, type DataGroup, demo as Demo, discovery as Discovery, type DlSatisfiableRequest, type DlSatisfiableResponse, type DlSubsumesRequest, type DlSubsumesResponse, documentCheck as DocumentCheck, documents as Documents, embeddings as Embeddings, type EqLiteralDto, type EqualityAtomDto, type ErrorResponse$1 as ErrorResponse, execution as Execution, extract as Extract, feasibility as Feasibility, type FeatureInputValueDto, type FeatureValueDto, type FindingKind, type FindingSeverity, Flow, type FlowProblem as FlowBuilderProblem, type FlowEdgeInput, type FlowEdgeOptions, flowNetworks as FlowNetworks, type FlowNode, type FlowProblemInputBase, type FocusEntryDto, ForbiddenError, forecast as Forecast, type ForecastDomain, type ForecastDomainsResponse, type ForecastEntityInput, type ForecastRequest, type ForecastResponse, type ForwardChainRequest, type ForwardChainResponse, functions as Functions, fuzzy as Fuzzy, FuzzyShape, type FuzzyShapeDto, generation as Generation, type GlbRequest, type GlbResponse, type GraphSparqlQueryRequest, type GraphSparqlResults, guardrail as Guardrail, type GuardrailReport, type GuardrailRequest, type GuardrailSummary, health as Health, homoiconic as Homoiconic, ilp as ILP, imageExtraction as ImageExtraction, inference as Inference, type IngestPaperRequest, type IngestPaperResponse, ingestion as Ingestion, IngestionFailedError, IngestionSession, type IngestionSyncOptions, type InlineDocument, type InstallList, type InstallPluginRequest, type InstallPluginResponse, type InstallState, type InstallSummary, type Interceptor, InternalServerError, type JsonValue$1 as JsonValue, type KripkeState, type KripkeTransition, LP, ltn as LTN, type ListCatalogParams, type ListConversationsResponse, type ListInstallsParams, type ListResearchSessionsResponse, type LtnInstance, type LtnQueryRequest, type LtnQueryResponse, type LtnRefuteRequest, type LtnRefuteResponse, type LtnRule, type LtnTrainRequest, type LtnTrainResponse, type LubRequest, type LubResponse, marketplace as Marketplace, type MarketplaceScope, type MaxFlowInput, type MaxFlowVars, type MinCostMaxFlowInput, type MinCostMaxFlowVars, type MinCutInput, type MinCutVars, namespaces as Namespaces, NetworkError, neuroSymbolic as NeuroSymbolic, NotFoundError, ontology as Ontology, ontologyAlignment as OntologyAlignment, ontologyBridge as OntologyBridge, ontologyExport as OntologyExport, type OntologyExportDocument, type OntologyExportFormat, type OntologyExportOptions, ontologyFacade as OntologyFacade, type Operand, operations as Operations, optimize as Optimize, osfDiff as OsfDiff, type OsfDiffReport, type OsfDiffRequest, type OsfDiffResponse, type OsfDiffSelector, type OsfDiffSequenceReport, type OsfDiffSequenceRequest, type OsfDiffSequenceResponse, type OsfDiffTemporalRequest, type OsfSearchRequest, type OsfSearchResponse, osfql as Osfql, type OsfqlRequest, type OsfqlResponse, type OsfqlValue, oversight as Oversight, type PaginationParams, type PaperMetadataDto, type PaperSource, type PlainFeatureMap, type PlainFeatureValue, plainValues as PlainValues, type PluginDependency, type PluginDetail, type PluginManifest, type PluginSummary, type PluginVersion, preferences as Preferences, proofEngine as ProofEngine, propertyGraph as PropertyGraph, type PropertyGraphErrorResponse, type PropertyGraphExecuteResponse, type PropertyGraphQueryRequest, type PropertyGraphTranslateResponse, type PropertyGraphValue, type PsiTermDto, type PsiTermInput, type PublishPluginRequest, type PublishPluginResponse, query as Query, rag as RAG, RateLimitError, type RateLimitInfo, reasoning as Reasoning, type ReasoningGroup, ReasoningLayerClient, ReasoningLayerError, type ReasoningStageDto, type ReasoningTraceDto, type RequestOptions, research as Research, type ResearchContradictionsResponse, type ResearchCycleResponse, type ResearchFindingsResponse, type ResearchGapsResponse, type ResearchReportResponse, type ResearchSessionResponse, type ResearchSessionSummaryDto, type ResolvedCoreferenceDto, reviews as Reviews, reward as Reward, row as Row, type RuleAggregatorDto, type RunAgentRequest, SDK_VERSION, sat as Sat, type SatLiteralDto, type SatSolveRequest, type SatSolveResponse, type SatVerdict, scenarios as Scenarios, scheduling as Scheduling, type SearchCatalogRequest, type SearchCatalogResponse, type SearchPapersRequest, type SearchPapersResponse, type SessionGraphDto, type SimpleTgdDto, smt as Smt, type SmtCheckRequest, type SmtCheckResponse, type SmtFunctionApplicationDto, type SmtVerdict, solver as Solver, SortBuilder, type SortDto, type SortInfoDto, sorts as Sorts, sources as Sources, spaces as Spaces, sparql as Sparql, type SparqlAskResults, type SparqlBindingSet, type SparqlEntailmentRegime, type SparqlQueryRequest, type SparqlQueryResults, type SparqlRdfTerm, type SparqlSelectResults, type SparqlTranslation, type SparqlUpdateRequest, type SparqlUpdateTranslation, speakers as Speakers, speech as Speech, statistical as Statistical, streaming as Streaming, synthetic as Synthetic, type SystemGroup, temporal as Temporal, type TemporalModelCheckRequest, type TemporalModelCheckResponse, type TemporalSeriesRequest, type TemporalSeriesResponse, type TemporalSeriesSpec, type TermDto, type TermInputArg, type TermInputDto, type TermListResponse, type TermPatternDto, type TermResponse, type TermSetSelector, terms as Terms, TimeoutError, translation as Translation, type TurnDto, ui as UI, type UpdateTermRequest, type UpgradeInstallRequest, utilities as Utilities, ValidationError, Value, type ValueDto, values as Values, verification as Verification, type VerifyClaimRequest, type VerifyClaimResponse, vision as Vision, visualization as Visualization, WebSocketClient, WebSocketConnection, webhookActions as WebhookActions, type WorkflowGroup, type YankPluginRequest, type YankPluginResponse, allen, constrained, discriminateFeatureValue, guard, isConstrainedPlainVar, isPsiTermInput, isTaggedValueDto, isUuid, psi, toTaggedFeatures, toTaggedValue, toTermInputDto, toUntaggedFeatures, toUntaggedValue };
|