@semantha/sdk 11.6.1 → 11.8.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.d.mts +97 -10
- package/dist/index.d.ts +97 -10
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +6 -6
package/dist/index.d.mts
CHANGED
|
@@ -249,6 +249,17 @@ interface Char {
|
|
|
249
249
|
area?: Rect;
|
|
250
250
|
}
|
|
251
251
|
|
|
252
|
+
/**
|
|
253
|
+
* @author semantha
|
|
254
|
+
*
|
|
255
|
+
* This is a generated file do not change manually!
|
|
256
|
+
*/
|
|
257
|
+
interface McpServerRequest {
|
|
258
|
+
label: string;
|
|
259
|
+
authToken?: string;
|
|
260
|
+
tools?: string[];
|
|
261
|
+
}
|
|
262
|
+
|
|
252
263
|
/**
|
|
253
264
|
* @author semantha
|
|
254
265
|
*
|
|
@@ -271,9 +282,19 @@ interface Chat {
|
|
|
271
282
|
temperature?: number;
|
|
272
283
|
topK?: number;
|
|
273
284
|
conversationId?: string;
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
285
|
+
mcpServers?: McpServerRequest[];
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* @author semantha
|
|
290
|
+
*
|
|
291
|
+
* This is a generated file do not change manually!
|
|
292
|
+
*/
|
|
293
|
+
interface ChatConversation {
|
|
294
|
+
conversationId?: string;
|
|
295
|
+
title?: string;
|
|
296
|
+
createdAt?: number;
|
|
297
|
+
lastUsedAt?: number;
|
|
277
298
|
}
|
|
278
299
|
|
|
279
300
|
/**
|
|
@@ -1211,8 +1232,18 @@ interface McpToolDescriptor {
|
|
|
1211
1232
|
label?: string;
|
|
1212
1233
|
description?: string;
|
|
1213
1234
|
allowedTools?: string[];
|
|
1235
|
+
auth?: McpToolDescriptorAuthEnum;
|
|
1214
1236
|
}
|
|
1215
1237
|
|
|
1238
|
+
/**
|
|
1239
|
+
* @author semantha
|
|
1240
|
+
*
|
|
1241
|
+
* This is a generated file do not change manually!
|
|
1242
|
+
*/
|
|
1243
|
+
declare const McpToolDescriptorAuthEnumValues: readonly ["REQUIRED", "OPTIONAL", "NONE"];
|
|
1244
|
+
type McpToolDescriptorAuthEnum = (typeof McpToolDescriptorAuthEnumValues)[number];
|
|
1245
|
+
declare function isMcpToolDescriptorAuthEnumValue(value: any): value is McpToolDescriptorAuthEnum;
|
|
1246
|
+
|
|
1216
1247
|
/**
|
|
1217
1248
|
* @author semantha
|
|
1218
1249
|
*
|
|
@@ -1795,9 +1826,15 @@ declare class RestClient {
|
|
|
1795
1826
|
post<R>(url: string, params?: any, headers?: {
|
|
1796
1827
|
[key: string]: string;
|
|
1797
1828
|
}, data?: any, responseType?: ResponseType): Promise<RestResponse<R>>;
|
|
1798
|
-
delete(url: string, data?: any, params?: any
|
|
1799
|
-
|
|
1800
|
-
|
|
1829
|
+
delete(url: string, data?: any, params?: any, headers?: {
|
|
1830
|
+
[key: string]: string;
|
|
1831
|
+
}): Promise<RestResponse<void>>;
|
|
1832
|
+
patch<R>(url: string, data?: any, headers?: {
|
|
1833
|
+
[key: string]: string;
|
|
1834
|
+
}): Promise<RestResponse<R>>;
|
|
1835
|
+
put<R>(url: string, data: any, headers?: {
|
|
1836
|
+
[key: string]: string;
|
|
1837
|
+
}): Promise<RestResponse<R>>;
|
|
1801
1838
|
toHeader(acceptMimeType: MediaType, contentType?: string): {
|
|
1802
1839
|
[key: string]: string;
|
|
1803
1840
|
};
|
|
@@ -2357,11 +2394,59 @@ declare class ChatEndpoint {
|
|
|
2357
2394
|
constructor(restClient: RestClient, parentEndpoint: string, id: string);
|
|
2358
2395
|
/**
|
|
2359
2396
|
* Chat with the generative model
|
|
2360
|
-
* The chat endpoint allows you to interact with the generative model in a conversational manner.
|
|
2397
|
+
* The chat endpoint allows you to interact with the generative model in a conversational manner. The path {id} selects the chat variant: pass '00000000-0000-0000-0000-000000000001' for document QA (attributes required) or '00000000-0000-0000-0000-000000000002' for MCP-augmented chat (attributes optional). Other values are treated as legacy and fall back to document QA. Callers that authenticate via Polarion pass their credentials in the X-Polarion-Access-Token and X-Polarion-Base-Url headers (same contract as the conversation GET endpoints). MCP servers are attached per request via the ChatDTO mcpServers entries (label plus optional authToken and tools subset).
|
|
2361
2398
|
*
|
|
2362
2399
|
* @param body Chat? -
|
|
2400
|
+
* @param xPolarionAccessToken string? - Polarion personal access token; must be provided together with the base url header.
|
|
2401
|
+
* @param xPolarionBaseUrl string? - Base url of the Polarion instance to validate the token against.
|
|
2363
2402
|
*/
|
|
2364
|
-
post(body?: Chat): Promise<ChatResponse>;
|
|
2403
|
+
post(body?: Chat, xPolarionAccessToken?: string, xPolarionBaseUrl?: string): Promise<ChatResponse>;
|
|
2404
|
+
}
|
|
2405
|
+
|
|
2406
|
+
/**
|
|
2407
|
+
* @author semantha
|
|
2408
|
+
*
|
|
2409
|
+
* Class to access resource "/api/domains/{domainname}/chats/conversations/{conversationid}"
|
|
2410
|
+
* This is a generated file do not change manually!
|
|
2411
|
+
*/
|
|
2412
|
+
declare class ConversationEndpoint {
|
|
2413
|
+
private readonly restClient;
|
|
2414
|
+
private readonly parentEndpoint;
|
|
2415
|
+
private readonly conversationid;
|
|
2416
|
+
private readonly ENDPOINT;
|
|
2417
|
+
constructor(restClient: RestClient, parentEndpoint: string, conversationid: string);
|
|
2418
|
+
/**
|
|
2419
|
+
* Retrieve the message history of a chat conversation
|
|
2420
|
+
* Returns the full message history (oldest first) of the conversation identified by the conversationId that was returned from the chat endpoint, so a UI can restore a chat window after it was closed. Only the owner of the conversation may read it. Callers that authenticate via Polarion pass their credentials in the X-Polarion-Access-Token and X-Polarion-Base-Url headers; other callers are identified by their security context.
|
|
2421
|
+
*
|
|
2422
|
+
* @param xPolarionAccessToken string? - Polarion personal access token; must be provided together with the base url header.
|
|
2423
|
+
* @param xPolarionBaseUrl string? - Base url of the Polarion instance to validate the token against.
|
|
2424
|
+
*/
|
|
2425
|
+
get(xPolarionAccessToken?: string, xPolarionBaseUrl?: string): Promise<ChatResponse>;
|
|
2426
|
+
}
|
|
2427
|
+
|
|
2428
|
+
/**
|
|
2429
|
+
* @author semantha
|
|
2430
|
+
*
|
|
2431
|
+
* Class to access resource "/api/domains/{domainname}/chats/conversations"
|
|
2432
|
+
* This is a generated file do not change manually!
|
|
2433
|
+
*/
|
|
2434
|
+
declare class ConversationsEndpoint {
|
|
2435
|
+
private readonly restClient;
|
|
2436
|
+
private readonly parentEndpoint;
|
|
2437
|
+
private readonly ENDPOINT;
|
|
2438
|
+
constructor(restClient: RestClient, parentEndpoint: string);
|
|
2439
|
+
/**
|
|
2440
|
+
* List the calling user's chat conversations
|
|
2441
|
+
* Returns the conversations owned by the calling user, most recently used first, so a UI can offer a picker of previous chats. Only conversation ids and timestamps are returned; message contents are available per conversation via the history endpoint. Callers that authenticate via Polarion pass their credentials in the X-Polarion-Access-Token and X-Polarion-Base-Url headers; other callers are identified by their security context.
|
|
2442
|
+
*
|
|
2443
|
+
* @param limit number? - Maximum number of conversations to return, newest first. Defaults to 50.
|
|
2444
|
+
* @param xPolarionAccessToken string? - Polarion personal access token; must be provided together with the base url header.
|
|
2445
|
+
* @param xPolarionBaseUrl string? - Base url of the Polarion instance to validate the token against.
|
|
2446
|
+
*/
|
|
2447
|
+
get(params?: {
|
|
2448
|
+
limit?: number;
|
|
2449
|
+
}, xPolarionAccessToken?: string, xPolarionBaseUrl?: string): Promise<ChatConversation[]>;
|
|
2365
2450
|
}
|
|
2366
2451
|
|
|
2367
2452
|
/**
|
|
@@ -2375,6 +2460,8 @@ declare class ChatsEndpoint {
|
|
|
2375
2460
|
private readonly parentEndpoint;
|
|
2376
2461
|
private readonly ENDPOINT;
|
|
2377
2462
|
constructor(restClient: RestClient, parentEndpoint: string);
|
|
2463
|
+
conversations(): ConversationsEndpoint;
|
|
2464
|
+
conversations(conversationid: string): ConversationEndpoint;
|
|
2378
2465
|
}
|
|
2379
2466
|
|
|
2380
2467
|
/**
|
|
@@ -2999,7 +3086,7 @@ declare class McptoolsEndpoint {
|
|
|
2999
3086
|
constructor(restClient: RestClient, parentEndpoint: string);
|
|
3000
3087
|
/**
|
|
3001
3088
|
* List MCP tools activated for this domain.
|
|
3002
|
-
* Returns the MCP servers that have been activated for the given domain. Chat callers may reference any of these by `label` in the `enabledMcpTools` field of the chat request body. The list is the intersection of the platform's global MCP server pool and the domain's activation set.
|
|
3089
|
+
* Returns the MCP servers that have been activated for the given domain. Chat callers may reference any of these by `label` in the `enabledMcpTools` field of the chat request body. The list is the intersection of the platform's global MCP server pool and the domain's activation set. The activation set is managed via the `enabledMcpServerTools` field of the domain settings endpoint or seeded in the domain's configuration before server start.
|
|
3003
3090
|
*/
|
|
3004
3091
|
get(): Promise<McpToolDescriptor[]>;
|
|
3005
3092
|
}
|
|
@@ -5125,4 +5212,4 @@ declare class SemanthaAPI {
|
|
|
5125
5212
|
model(): ModelEndpoint;
|
|
5126
5213
|
}
|
|
5127
5214
|
|
|
5128
|
-
export { type AnnotationCell, type AnnotationPage, type Answer, type AnswerReference, AnswersEndpoint, type Area, type Argument, type Attachment, type Attribute, type AttributeDatatypeEnum, AttributeDatatypeEnumValues, type AttributeOverview, type AttributeOverviewDatatypeEnum, AttributeOverviewDatatypeEnumValues, type BoostWord, BulkDomainsEndpoint, BulkEndpoint, BulkModelEndpoint, BulkdomainsDocumentclassesEndpoint, BulkdomainsDocumenttypesEndpoint, BulkdomainsDomainEndpoint, BulkdomainsReferencedocumentsEndpoint, BulkdomainsReferencesEndpoint, BulkmodelBoostwordsEndpoint, BulkmodelClassEndpoint, BulkmodelClassesEndpoint, BulkmodelDatapropertiesEndpoint, BulkmodelDomainEndpoint, BulkmodelDomainsEndpoint, BulkmodelInstancesEndpoint, BulkmodelMetadataEndpoint, BulkmodelNamedentitiesEndpoint, BulkmodelRulesEndpoint, BulkmodelStopwordsEndpoint, BulkmodelSynonymsEndpoint, BulkmodelclassInstancesEndpoint, type CellType, CelltypesEndpoint, type Char, type Chat, ChatEndpoint, type ChatResponse, ChatsEndpoint, ChildExtractorclassesEndpoint, type Class, type ClassBulk, type ClassBulkDatatypeEnum, ClassBulkDatatypeEnumValues, type ClassesOverview, CloneEndpoint, type ComplexProperty, type Condition, type ConditionValue, ConversionsEndpoint, type CurrentUser, CurrentuserEndpoint, type CustomField, type DataProperty, DiffEndpoint, type Difference, type DifferenceOperationEnum, DifferenceOperationEnumValues, type Distance, DocclassCustomfieldsEndpoint, DocclassDocumentclassesEndpoint, DocclassReferencedocumentsEndpoint, DocclassTagsEndpoint, type Document, type DocumentClass, type DocumentClassBulk, type DocumentClassNode, type DocumentInformation, type DocumentMetaData, type DocumentNamedEntity, type DocumentTable, type DocumentType, type DocumentTypeChange, type DocumentTypeConfig, DocumentannotationsEndpoint, DocumentclassEndpoint, DocumentclassesEndpoint, type DocumentmodeEnum, DocumentmodeEnumValues, DocumentsEndpoint, DocumenttypeEndpoint, DocumenttypesEndpoint, type Domain, DomainEndpoint, type DomainInfo, DomainsEndpoint, type Entity, type ErrorContainer, type ErrorField, type ErrorFieldCodeEnum, ErrorFieldCodeEnumValues, type Expression, type ExtractionArea, type ExtractionFile, type ExtractionReference, type Extractor, type ExtractorAttribute, type ExtractorAttributeDatatypeEnum, ExtractorAttributeDatatypeEnumValues, type ExtractorClass, type ExtractorClassOverview, type ExtractorTypeEnum, ExtractorTypeEnumValues, type Features, type Field, type FieldTypeEnum, FieldTypeEnumValues, type FileReference, type Finding, type FormatInformation, type Formatter, ImageEndpoint, ImagesEndpoint, type Info, InfoEndpoint, type Instance, type InstanceChild, type InstanceOverview, type Label, type LanguageDetection, LanguagesEndpoint, type Link, type LinkedInstance, type LinkedValue, MarkdownEndpoint, type Matcher, type MatcherTypeEnum, MatcherTypeEnumValues, type McpToolDescriptor, McptoolsEndpoint, MediaType, type Message, type MessageRoleEnum, MessageRoleEnumValues, type MetaInfoPage, type Metadata, type MetadataValue, type ModeEnum, ModeEnumValues, ModelAttributesEndpoint, ModelBoostwordEndpoint, ModelBoostwordsEndpoint, type ModelClass, ModelDatapropertiesEndpoint, ModelDatapropertyEndpoint, ModelDatatypesEndpoint, ModelDomainEndpoint, ModelDomainsEndpoint, ModelEndpoint, ModelExtractorclassEndpoint, ModelExtractorclassesEndpoint, ModelExtractorsEndpoint, ModelExtractortypesEndpoint, ModelFormattersEndpoint, type ModelInstance, type ModelMetadata, ModelMetadataEndpoint, ModelMetadatatypesEndpoint, ModelNamedentitiesEndpoint, ModelNamedentityEndpoint, ModelObjectpropertiesEndpoint, ModelOnemetadataEndpoint, ModelRegexEndpoint, ModelRegexesEndpoint, ModelRelationEndpoint, ModelRelationsEndpoint, ModelRuleEndpoint, ModelRulefunctionsEndpoint, ModelRulesEndpoint, ModelStopwordEndpoint, ModelStopwordsEndpoint, ModelSynonymEndpoint, ModelSynonymsEndpoint, ModelclassesEndpoint, ModelinstancesEndpoint, ModelontAttributeEndpoint, ModelontAttributesEndpoint, ModelontClassEndpoint, ModelontClassesEndpoint, ModelontInstanceEndpoint, ModelontInstancesEndpoint, ModelontclassInstancesEndpoint, type Name, type NamedEntity, NamedentitiesEndpoint, type Overview, type Page, type PageContent, type Paragraph, ParagraphEndpoint, type ParagraphPreview, type ParagraphUpdate, ParagraphsEndpoint, type ProcessInformation, type Prompt, PromptEndpoint, type PromptExecution, type PromptLabelEnum, PromptLabelEnumValues, type PromptOverview, type PromptOverviewPromptLabelEnum, PromptOverviewPromptLabelEnumValues, type PromptPromptLabelEnum, PromptPromptLabelEnumValues, type PromptResponse, PromptValidationEndpoint, type PromptValidationRequest, type PromptValidationResponse, type PromptValidationResult, type PromptValidationTemplate, PromptsEndpoint, type Range, type Rect, type Reference, type ReferenceDocumentsResponseContainer, ReferencedocumentEndpoint, ReferencedocumentsEndpoint, ReferencedocumentsStreamEndpoint, ReferencesEndpoint, type Regex, type Relation, type RelationCondition, type ResponseMetaInfo, RestClient, RestResponse, RolesEndpoint, type Row, type Rule, type RuleFunction, type RuleFunctionTypeEnum, RuleFunctionTypeEnumValues, type RuleOverview, SemanthaAPI, type SemanticModel, type Sentence, SentenceEndpoint, SentencesEndpoint, type Settings, type SettingsDefaultSimilarityModeEnum, SettingsDefaultSimilarityModeEnumValues, SettingsEndpoint, type SettingsExtractionStrategyEnum, SettingsExtractionStrategyEnumValues, type SettingsTaggingStrategyEnum, SettingsTaggingStrategyEnumValues, type SimpleProperty, type Statistic, StatisticEndpoint, type StopWord, type Summarization, SummarizationsEndpoint, type SummarylengthEnum, SummarylengthEnumValues, type Synonym, type TableCell, type TableInstance, type TagDocs, TagEndpoint, TagReferencedocumentsEndpoint, TagsEndpoint, type TextType, TexttypesEndpoint, type Translation, type TranslationResponse, TranslationsEndpoint, TreeEndpoint, type TypeEnum, TypeEnumValues, ValidationEndpoint, type Version, isAttributeDatatypeEnumValue, isAttributeOverviewDatatypeEnumValue, isClassBulkDatatypeEnumValue, isDifferenceOperationEnumValue, isDocumentmodeEnumValue, isErrorFieldCodeEnumValue, isExtractorAttributeDatatypeEnumValue, isExtractorTypeEnumValue, isFieldTypeEnumValue, isMatcherTypeEnumValue, isMessageRoleEnumValue, isModeEnumValue, isPromptLabelEnumValue, isPromptOverviewPromptLabelEnumValue, isPromptPromptLabelEnumValue, isRuleFunctionTypeEnumValue, isSettingsDefaultSimilarityModeEnumValue, isSettingsExtractionStrategyEnumValue, isSettingsTaggingStrategyEnumValue, isSummarylengthEnumValue, isTypeEnumValue };
|
|
5215
|
+
export { type AnnotationCell, type AnnotationPage, type Answer, type AnswerReference, AnswersEndpoint, type Area, type Argument, type Attachment, type Attribute, type AttributeDatatypeEnum, AttributeDatatypeEnumValues, type AttributeOverview, type AttributeOverviewDatatypeEnum, AttributeOverviewDatatypeEnumValues, type BoostWord, BulkDomainsEndpoint, BulkEndpoint, BulkModelEndpoint, BulkdomainsDocumentclassesEndpoint, BulkdomainsDocumenttypesEndpoint, BulkdomainsDomainEndpoint, BulkdomainsReferencedocumentsEndpoint, BulkdomainsReferencesEndpoint, BulkmodelBoostwordsEndpoint, BulkmodelClassEndpoint, BulkmodelClassesEndpoint, BulkmodelDatapropertiesEndpoint, BulkmodelDomainEndpoint, BulkmodelDomainsEndpoint, BulkmodelInstancesEndpoint, BulkmodelMetadataEndpoint, BulkmodelNamedentitiesEndpoint, BulkmodelRulesEndpoint, BulkmodelStopwordsEndpoint, BulkmodelSynonymsEndpoint, BulkmodelclassInstancesEndpoint, type CellType, CelltypesEndpoint, type Char, type Chat, type ChatConversation, ChatEndpoint, type ChatResponse, ChatsEndpoint, ChildExtractorclassesEndpoint, type Class, type ClassBulk, type ClassBulkDatatypeEnum, ClassBulkDatatypeEnumValues, type ClassesOverview, CloneEndpoint, type ComplexProperty, type Condition, type ConditionValue, ConversationEndpoint, ConversationsEndpoint, ConversionsEndpoint, type CurrentUser, CurrentuserEndpoint, type CustomField, type DataProperty, DiffEndpoint, type Difference, type DifferenceOperationEnum, DifferenceOperationEnumValues, type Distance, DocclassCustomfieldsEndpoint, DocclassDocumentclassesEndpoint, DocclassReferencedocumentsEndpoint, DocclassTagsEndpoint, type Document, type DocumentClass, type DocumentClassBulk, type DocumentClassNode, type DocumentInformation, type DocumentMetaData, type DocumentNamedEntity, type DocumentTable, type DocumentType, type DocumentTypeChange, type DocumentTypeConfig, DocumentannotationsEndpoint, DocumentclassEndpoint, DocumentclassesEndpoint, type DocumentmodeEnum, DocumentmodeEnumValues, DocumentsEndpoint, DocumenttypeEndpoint, DocumenttypesEndpoint, type Domain, DomainEndpoint, type DomainInfo, DomainsEndpoint, type Entity, type ErrorContainer, type ErrorField, type ErrorFieldCodeEnum, ErrorFieldCodeEnumValues, type Expression, type ExtractionArea, type ExtractionFile, type ExtractionReference, type Extractor, type ExtractorAttribute, type ExtractorAttributeDatatypeEnum, ExtractorAttributeDatatypeEnumValues, type ExtractorClass, type ExtractorClassOverview, type ExtractorTypeEnum, ExtractorTypeEnumValues, type Features, type Field, type FieldTypeEnum, FieldTypeEnumValues, type FileReference, type Finding, type FormatInformation, type Formatter, ImageEndpoint, ImagesEndpoint, type Info, InfoEndpoint, type Instance, type InstanceChild, type InstanceOverview, type Label, type LanguageDetection, LanguagesEndpoint, type Link, type LinkedInstance, type LinkedValue, MarkdownEndpoint, type Matcher, type MatcherTypeEnum, MatcherTypeEnumValues, type McpServerRequest, type McpToolDescriptor, type McpToolDescriptorAuthEnum, McpToolDescriptorAuthEnumValues, McptoolsEndpoint, MediaType, type Message, type MessageRoleEnum, MessageRoleEnumValues, type MetaInfoPage, type Metadata, type MetadataValue, type ModeEnum, ModeEnumValues, ModelAttributesEndpoint, ModelBoostwordEndpoint, ModelBoostwordsEndpoint, type ModelClass, ModelDatapropertiesEndpoint, ModelDatapropertyEndpoint, ModelDatatypesEndpoint, ModelDomainEndpoint, ModelDomainsEndpoint, ModelEndpoint, ModelExtractorclassEndpoint, ModelExtractorclassesEndpoint, ModelExtractorsEndpoint, ModelExtractortypesEndpoint, ModelFormattersEndpoint, type ModelInstance, type ModelMetadata, ModelMetadataEndpoint, ModelMetadatatypesEndpoint, ModelNamedentitiesEndpoint, ModelNamedentityEndpoint, ModelObjectpropertiesEndpoint, ModelOnemetadataEndpoint, ModelRegexEndpoint, ModelRegexesEndpoint, ModelRelationEndpoint, ModelRelationsEndpoint, ModelRuleEndpoint, ModelRulefunctionsEndpoint, ModelRulesEndpoint, ModelStopwordEndpoint, ModelStopwordsEndpoint, ModelSynonymEndpoint, ModelSynonymsEndpoint, ModelclassesEndpoint, ModelinstancesEndpoint, ModelontAttributeEndpoint, ModelontAttributesEndpoint, ModelontClassEndpoint, ModelontClassesEndpoint, ModelontInstanceEndpoint, ModelontInstancesEndpoint, ModelontclassInstancesEndpoint, type Name, type NamedEntity, NamedentitiesEndpoint, type Overview, type Page, type PageContent, type Paragraph, ParagraphEndpoint, type ParagraphPreview, type ParagraphUpdate, ParagraphsEndpoint, type ProcessInformation, type Prompt, PromptEndpoint, type PromptExecution, type PromptLabelEnum, PromptLabelEnumValues, type PromptOverview, type PromptOverviewPromptLabelEnum, PromptOverviewPromptLabelEnumValues, type PromptPromptLabelEnum, PromptPromptLabelEnumValues, type PromptResponse, PromptValidationEndpoint, type PromptValidationRequest, type PromptValidationResponse, type PromptValidationResult, type PromptValidationTemplate, PromptsEndpoint, type Range, type Rect, type Reference, type ReferenceDocumentsResponseContainer, ReferencedocumentEndpoint, ReferencedocumentsEndpoint, ReferencedocumentsStreamEndpoint, ReferencesEndpoint, type Regex, type Relation, type RelationCondition, type ResponseMetaInfo, RestClient, RestResponse, RolesEndpoint, type Row, type Rule, type RuleFunction, type RuleFunctionTypeEnum, RuleFunctionTypeEnumValues, type RuleOverview, SemanthaAPI, type SemanticModel, type Sentence, SentenceEndpoint, SentencesEndpoint, type Settings, type SettingsDefaultSimilarityModeEnum, SettingsDefaultSimilarityModeEnumValues, SettingsEndpoint, type SettingsExtractionStrategyEnum, SettingsExtractionStrategyEnumValues, type SettingsTaggingStrategyEnum, SettingsTaggingStrategyEnumValues, type SimpleProperty, type Statistic, StatisticEndpoint, type StopWord, type Summarization, SummarizationsEndpoint, type SummarylengthEnum, SummarylengthEnumValues, type Synonym, type TableCell, type TableInstance, type TagDocs, TagEndpoint, TagReferencedocumentsEndpoint, TagsEndpoint, type TextType, TexttypesEndpoint, type Translation, type TranslationResponse, TranslationsEndpoint, TreeEndpoint, type TypeEnum, TypeEnumValues, ValidationEndpoint, type Version, isAttributeDatatypeEnumValue, isAttributeOverviewDatatypeEnumValue, isClassBulkDatatypeEnumValue, isDifferenceOperationEnumValue, isDocumentmodeEnumValue, isErrorFieldCodeEnumValue, isExtractorAttributeDatatypeEnumValue, isExtractorTypeEnumValue, isFieldTypeEnumValue, isMatcherTypeEnumValue, isMcpToolDescriptorAuthEnumValue, isMessageRoleEnumValue, isModeEnumValue, isPromptLabelEnumValue, isPromptOverviewPromptLabelEnumValue, isPromptPromptLabelEnumValue, isRuleFunctionTypeEnumValue, isSettingsDefaultSimilarityModeEnumValue, isSettingsExtractionStrategyEnumValue, isSettingsTaggingStrategyEnumValue, isSummarylengthEnumValue, isTypeEnumValue };
|
package/dist/index.d.ts
CHANGED
|
@@ -249,6 +249,17 @@ interface Char {
|
|
|
249
249
|
area?: Rect;
|
|
250
250
|
}
|
|
251
251
|
|
|
252
|
+
/**
|
|
253
|
+
* @author semantha
|
|
254
|
+
*
|
|
255
|
+
* This is a generated file do not change manually!
|
|
256
|
+
*/
|
|
257
|
+
interface McpServerRequest {
|
|
258
|
+
label: string;
|
|
259
|
+
authToken?: string;
|
|
260
|
+
tools?: string[];
|
|
261
|
+
}
|
|
262
|
+
|
|
252
263
|
/**
|
|
253
264
|
* @author semantha
|
|
254
265
|
*
|
|
@@ -271,9 +282,19 @@ interface Chat {
|
|
|
271
282
|
temperature?: number;
|
|
272
283
|
topK?: number;
|
|
273
284
|
conversationId?: string;
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
285
|
+
mcpServers?: McpServerRequest[];
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* @author semantha
|
|
290
|
+
*
|
|
291
|
+
* This is a generated file do not change manually!
|
|
292
|
+
*/
|
|
293
|
+
interface ChatConversation {
|
|
294
|
+
conversationId?: string;
|
|
295
|
+
title?: string;
|
|
296
|
+
createdAt?: number;
|
|
297
|
+
lastUsedAt?: number;
|
|
277
298
|
}
|
|
278
299
|
|
|
279
300
|
/**
|
|
@@ -1211,8 +1232,18 @@ interface McpToolDescriptor {
|
|
|
1211
1232
|
label?: string;
|
|
1212
1233
|
description?: string;
|
|
1213
1234
|
allowedTools?: string[];
|
|
1235
|
+
auth?: McpToolDescriptorAuthEnum;
|
|
1214
1236
|
}
|
|
1215
1237
|
|
|
1238
|
+
/**
|
|
1239
|
+
* @author semantha
|
|
1240
|
+
*
|
|
1241
|
+
* This is a generated file do not change manually!
|
|
1242
|
+
*/
|
|
1243
|
+
declare const McpToolDescriptorAuthEnumValues: readonly ["REQUIRED", "OPTIONAL", "NONE"];
|
|
1244
|
+
type McpToolDescriptorAuthEnum = (typeof McpToolDescriptorAuthEnumValues)[number];
|
|
1245
|
+
declare function isMcpToolDescriptorAuthEnumValue(value: any): value is McpToolDescriptorAuthEnum;
|
|
1246
|
+
|
|
1216
1247
|
/**
|
|
1217
1248
|
* @author semantha
|
|
1218
1249
|
*
|
|
@@ -1795,9 +1826,15 @@ declare class RestClient {
|
|
|
1795
1826
|
post<R>(url: string, params?: any, headers?: {
|
|
1796
1827
|
[key: string]: string;
|
|
1797
1828
|
}, data?: any, responseType?: ResponseType): Promise<RestResponse<R>>;
|
|
1798
|
-
delete(url: string, data?: any, params?: any
|
|
1799
|
-
|
|
1800
|
-
|
|
1829
|
+
delete(url: string, data?: any, params?: any, headers?: {
|
|
1830
|
+
[key: string]: string;
|
|
1831
|
+
}): Promise<RestResponse<void>>;
|
|
1832
|
+
patch<R>(url: string, data?: any, headers?: {
|
|
1833
|
+
[key: string]: string;
|
|
1834
|
+
}): Promise<RestResponse<R>>;
|
|
1835
|
+
put<R>(url: string, data: any, headers?: {
|
|
1836
|
+
[key: string]: string;
|
|
1837
|
+
}): Promise<RestResponse<R>>;
|
|
1801
1838
|
toHeader(acceptMimeType: MediaType, contentType?: string): {
|
|
1802
1839
|
[key: string]: string;
|
|
1803
1840
|
};
|
|
@@ -2357,11 +2394,59 @@ declare class ChatEndpoint {
|
|
|
2357
2394
|
constructor(restClient: RestClient, parentEndpoint: string, id: string);
|
|
2358
2395
|
/**
|
|
2359
2396
|
* Chat with the generative model
|
|
2360
|
-
* The chat endpoint allows you to interact with the generative model in a conversational manner.
|
|
2397
|
+
* The chat endpoint allows you to interact with the generative model in a conversational manner. The path {id} selects the chat variant: pass '00000000-0000-0000-0000-000000000001' for document QA (attributes required) or '00000000-0000-0000-0000-000000000002' for MCP-augmented chat (attributes optional). Other values are treated as legacy and fall back to document QA. Callers that authenticate via Polarion pass their credentials in the X-Polarion-Access-Token and X-Polarion-Base-Url headers (same contract as the conversation GET endpoints). MCP servers are attached per request via the ChatDTO mcpServers entries (label plus optional authToken and tools subset).
|
|
2361
2398
|
*
|
|
2362
2399
|
* @param body Chat? -
|
|
2400
|
+
* @param xPolarionAccessToken string? - Polarion personal access token; must be provided together with the base url header.
|
|
2401
|
+
* @param xPolarionBaseUrl string? - Base url of the Polarion instance to validate the token against.
|
|
2363
2402
|
*/
|
|
2364
|
-
post(body?: Chat): Promise<ChatResponse>;
|
|
2403
|
+
post(body?: Chat, xPolarionAccessToken?: string, xPolarionBaseUrl?: string): Promise<ChatResponse>;
|
|
2404
|
+
}
|
|
2405
|
+
|
|
2406
|
+
/**
|
|
2407
|
+
* @author semantha
|
|
2408
|
+
*
|
|
2409
|
+
* Class to access resource "/api/domains/{domainname}/chats/conversations/{conversationid}"
|
|
2410
|
+
* This is a generated file do not change manually!
|
|
2411
|
+
*/
|
|
2412
|
+
declare class ConversationEndpoint {
|
|
2413
|
+
private readonly restClient;
|
|
2414
|
+
private readonly parentEndpoint;
|
|
2415
|
+
private readonly conversationid;
|
|
2416
|
+
private readonly ENDPOINT;
|
|
2417
|
+
constructor(restClient: RestClient, parentEndpoint: string, conversationid: string);
|
|
2418
|
+
/**
|
|
2419
|
+
* Retrieve the message history of a chat conversation
|
|
2420
|
+
* Returns the full message history (oldest first) of the conversation identified by the conversationId that was returned from the chat endpoint, so a UI can restore a chat window after it was closed. Only the owner of the conversation may read it. Callers that authenticate via Polarion pass their credentials in the X-Polarion-Access-Token and X-Polarion-Base-Url headers; other callers are identified by their security context.
|
|
2421
|
+
*
|
|
2422
|
+
* @param xPolarionAccessToken string? - Polarion personal access token; must be provided together with the base url header.
|
|
2423
|
+
* @param xPolarionBaseUrl string? - Base url of the Polarion instance to validate the token against.
|
|
2424
|
+
*/
|
|
2425
|
+
get(xPolarionAccessToken?: string, xPolarionBaseUrl?: string): Promise<ChatResponse>;
|
|
2426
|
+
}
|
|
2427
|
+
|
|
2428
|
+
/**
|
|
2429
|
+
* @author semantha
|
|
2430
|
+
*
|
|
2431
|
+
* Class to access resource "/api/domains/{domainname}/chats/conversations"
|
|
2432
|
+
* This is a generated file do not change manually!
|
|
2433
|
+
*/
|
|
2434
|
+
declare class ConversationsEndpoint {
|
|
2435
|
+
private readonly restClient;
|
|
2436
|
+
private readonly parentEndpoint;
|
|
2437
|
+
private readonly ENDPOINT;
|
|
2438
|
+
constructor(restClient: RestClient, parentEndpoint: string);
|
|
2439
|
+
/**
|
|
2440
|
+
* List the calling user's chat conversations
|
|
2441
|
+
* Returns the conversations owned by the calling user, most recently used first, so a UI can offer a picker of previous chats. Only conversation ids and timestamps are returned; message contents are available per conversation via the history endpoint. Callers that authenticate via Polarion pass their credentials in the X-Polarion-Access-Token and X-Polarion-Base-Url headers; other callers are identified by their security context.
|
|
2442
|
+
*
|
|
2443
|
+
* @param limit number? - Maximum number of conversations to return, newest first. Defaults to 50.
|
|
2444
|
+
* @param xPolarionAccessToken string? - Polarion personal access token; must be provided together with the base url header.
|
|
2445
|
+
* @param xPolarionBaseUrl string? - Base url of the Polarion instance to validate the token against.
|
|
2446
|
+
*/
|
|
2447
|
+
get(params?: {
|
|
2448
|
+
limit?: number;
|
|
2449
|
+
}, xPolarionAccessToken?: string, xPolarionBaseUrl?: string): Promise<ChatConversation[]>;
|
|
2365
2450
|
}
|
|
2366
2451
|
|
|
2367
2452
|
/**
|
|
@@ -2375,6 +2460,8 @@ declare class ChatsEndpoint {
|
|
|
2375
2460
|
private readonly parentEndpoint;
|
|
2376
2461
|
private readonly ENDPOINT;
|
|
2377
2462
|
constructor(restClient: RestClient, parentEndpoint: string);
|
|
2463
|
+
conversations(): ConversationsEndpoint;
|
|
2464
|
+
conversations(conversationid: string): ConversationEndpoint;
|
|
2378
2465
|
}
|
|
2379
2466
|
|
|
2380
2467
|
/**
|
|
@@ -2999,7 +3086,7 @@ declare class McptoolsEndpoint {
|
|
|
2999
3086
|
constructor(restClient: RestClient, parentEndpoint: string);
|
|
3000
3087
|
/**
|
|
3001
3088
|
* List MCP tools activated for this domain.
|
|
3002
|
-
* Returns the MCP servers that have been activated for the given domain. Chat callers may reference any of these by `label` in the `enabledMcpTools` field of the chat request body. The list is the intersection of the platform's global MCP server pool and the domain's activation set.
|
|
3089
|
+
* Returns the MCP servers that have been activated for the given domain. Chat callers may reference any of these by `label` in the `enabledMcpTools` field of the chat request body. The list is the intersection of the platform's global MCP server pool and the domain's activation set. The activation set is managed via the `enabledMcpServerTools` field of the domain settings endpoint or seeded in the domain's configuration before server start.
|
|
3003
3090
|
*/
|
|
3004
3091
|
get(): Promise<McpToolDescriptor[]>;
|
|
3005
3092
|
}
|
|
@@ -5125,4 +5212,4 @@ declare class SemanthaAPI {
|
|
|
5125
5212
|
model(): ModelEndpoint;
|
|
5126
5213
|
}
|
|
5127
5214
|
|
|
5128
|
-
export { type AnnotationCell, type AnnotationPage, type Answer, type AnswerReference, AnswersEndpoint, type Area, type Argument, type Attachment, type Attribute, type AttributeDatatypeEnum, AttributeDatatypeEnumValues, type AttributeOverview, type AttributeOverviewDatatypeEnum, AttributeOverviewDatatypeEnumValues, type BoostWord, BulkDomainsEndpoint, BulkEndpoint, BulkModelEndpoint, BulkdomainsDocumentclassesEndpoint, BulkdomainsDocumenttypesEndpoint, BulkdomainsDomainEndpoint, BulkdomainsReferencedocumentsEndpoint, BulkdomainsReferencesEndpoint, BulkmodelBoostwordsEndpoint, BulkmodelClassEndpoint, BulkmodelClassesEndpoint, BulkmodelDatapropertiesEndpoint, BulkmodelDomainEndpoint, BulkmodelDomainsEndpoint, BulkmodelInstancesEndpoint, BulkmodelMetadataEndpoint, BulkmodelNamedentitiesEndpoint, BulkmodelRulesEndpoint, BulkmodelStopwordsEndpoint, BulkmodelSynonymsEndpoint, BulkmodelclassInstancesEndpoint, type CellType, CelltypesEndpoint, type Char, type Chat, ChatEndpoint, type ChatResponse, ChatsEndpoint, ChildExtractorclassesEndpoint, type Class, type ClassBulk, type ClassBulkDatatypeEnum, ClassBulkDatatypeEnumValues, type ClassesOverview, CloneEndpoint, type ComplexProperty, type Condition, type ConditionValue, ConversionsEndpoint, type CurrentUser, CurrentuserEndpoint, type CustomField, type DataProperty, DiffEndpoint, type Difference, type DifferenceOperationEnum, DifferenceOperationEnumValues, type Distance, DocclassCustomfieldsEndpoint, DocclassDocumentclassesEndpoint, DocclassReferencedocumentsEndpoint, DocclassTagsEndpoint, type Document, type DocumentClass, type DocumentClassBulk, type DocumentClassNode, type DocumentInformation, type DocumentMetaData, type DocumentNamedEntity, type DocumentTable, type DocumentType, type DocumentTypeChange, type DocumentTypeConfig, DocumentannotationsEndpoint, DocumentclassEndpoint, DocumentclassesEndpoint, type DocumentmodeEnum, DocumentmodeEnumValues, DocumentsEndpoint, DocumenttypeEndpoint, DocumenttypesEndpoint, type Domain, DomainEndpoint, type DomainInfo, DomainsEndpoint, type Entity, type ErrorContainer, type ErrorField, type ErrorFieldCodeEnum, ErrorFieldCodeEnumValues, type Expression, type ExtractionArea, type ExtractionFile, type ExtractionReference, type Extractor, type ExtractorAttribute, type ExtractorAttributeDatatypeEnum, ExtractorAttributeDatatypeEnumValues, type ExtractorClass, type ExtractorClassOverview, type ExtractorTypeEnum, ExtractorTypeEnumValues, type Features, type Field, type FieldTypeEnum, FieldTypeEnumValues, type FileReference, type Finding, type FormatInformation, type Formatter, ImageEndpoint, ImagesEndpoint, type Info, InfoEndpoint, type Instance, type InstanceChild, type InstanceOverview, type Label, type LanguageDetection, LanguagesEndpoint, type Link, type LinkedInstance, type LinkedValue, MarkdownEndpoint, type Matcher, type MatcherTypeEnum, MatcherTypeEnumValues, type McpToolDescriptor, McptoolsEndpoint, MediaType, type Message, type MessageRoleEnum, MessageRoleEnumValues, type MetaInfoPage, type Metadata, type MetadataValue, type ModeEnum, ModeEnumValues, ModelAttributesEndpoint, ModelBoostwordEndpoint, ModelBoostwordsEndpoint, type ModelClass, ModelDatapropertiesEndpoint, ModelDatapropertyEndpoint, ModelDatatypesEndpoint, ModelDomainEndpoint, ModelDomainsEndpoint, ModelEndpoint, ModelExtractorclassEndpoint, ModelExtractorclassesEndpoint, ModelExtractorsEndpoint, ModelExtractortypesEndpoint, ModelFormattersEndpoint, type ModelInstance, type ModelMetadata, ModelMetadataEndpoint, ModelMetadatatypesEndpoint, ModelNamedentitiesEndpoint, ModelNamedentityEndpoint, ModelObjectpropertiesEndpoint, ModelOnemetadataEndpoint, ModelRegexEndpoint, ModelRegexesEndpoint, ModelRelationEndpoint, ModelRelationsEndpoint, ModelRuleEndpoint, ModelRulefunctionsEndpoint, ModelRulesEndpoint, ModelStopwordEndpoint, ModelStopwordsEndpoint, ModelSynonymEndpoint, ModelSynonymsEndpoint, ModelclassesEndpoint, ModelinstancesEndpoint, ModelontAttributeEndpoint, ModelontAttributesEndpoint, ModelontClassEndpoint, ModelontClassesEndpoint, ModelontInstanceEndpoint, ModelontInstancesEndpoint, ModelontclassInstancesEndpoint, type Name, type NamedEntity, NamedentitiesEndpoint, type Overview, type Page, type PageContent, type Paragraph, ParagraphEndpoint, type ParagraphPreview, type ParagraphUpdate, ParagraphsEndpoint, type ProcessInformation, type Prompt, PromptEndpoint, type PromptExecution, type PromptLabelEnum, PromptLabelEnumValues, type PromptOverview, type PromptOverviewPromptLabelEnum, PromptOverviewPromptLabelEnumValues, type PromptPromptLabelEnum, PromptPromptLabelEnumValues, type PromptResponse, PromptValidationEndpoint, type PromptValidationRequest, type PromptValidationResponse, type PromptValidationResult, type PromptValidationTemplate, PromptsEndpoint, type Range, type Rect, type Reference, type ReferenceDocumentsResponseContainer, ReferencedocumentEndpoint, ReferencedocumentsEndpoint, ReferencedocumentsStreamEndpoint, ReferencesEndpoint, type Regex, type Relation, type RelationCondition, type ResponseMetaInfo, RestClient, RestResponse, RolesEndpoint, type Row, type Rule, type RuleFunction, type RuleFunctionTypeEnum, RuleFunctionTypeEnumValues, type RuleOverview, SemanthaAPI, type SemanticModel, type Sentence, SentenceEndpoint, SentencesEndpoint, type Settings, type SettingsDefaultSimilarityModeEnum, SettingsDefaultSimilarityModeEnumValues, SettingsEndpoint, type SettingsExtractionStrategyEnum, SettingsExtractionStrategyEnumValues, type SettingsTaggingStrategyEnum, SettingsTaggingStrategyEnumValues, type SimpleProperty, type Statistic, StatisticEndpoint, type StopWord, type Summarization, SummarizationsEndpoint, type SummarylengthEnum, SummarylengthEnumValues, type Synonym, type TableCell, type TableInstance, type TagDocs, TagEndpoint, TagReferencedocumentsEndpoint, TagsEndpoint, type TextType, TexttypesEndpoint, type Translation, type TranslationResponse, TranslationsEndpoint, TreeEndpoint, type TypeEnum, TypeEnumValues, ValidationEndpoint, type Version, isAttributeDatatypeEnumValue, isAttributeOverviewDatatypeEnumValue, isClassBulkDatatypeEnumValue, isDifferenceOperationEnumValue, isDocumentmodeEnumValue, isErrorFieldCodeEnumValue, isExtractorAttributeDatatypeEnumValue, isExtractorTypeEnumValue, isFieldTypeEnumValue, isMatcherTypeEnumValue, isMessageRoleEnumValue, isModeEnumValue, isPromptLabelEnumValue, isPromptOverviewPromptLabelEnumValue, isPromptPromptLabelEnumValue, isRuleFunctionTypeEnumValue, isSettingsDefaultSimilarityModeEnumValue, isSettingsExtractionStrategyEnumValue, isSettingsTaggingStrategyEnumValue, isSummarylengthEnumValue, isTypeEnumValue };
|
|
5215
|
+
export { type AnnotationCell, type AnnotationPage, type Answer, type AnswerReference, AnswersEndpoint, type Area, type Argument, type Attachment, type Attribute, type AttributeDatatypeEnum, AttributeDatatypeEnumValues, type AttributeOverview, type AttributeOverviewDatatypeEnum, AttributeOverviewDatatypeEnumValues, type BoostWord, BulkDomainsEndpoint, BulkEndpoint, BulkModelEndpoint, BulkdomainsDocumentclassesEndpoint, BulkdomainsDocumenttypesEndpoint, BulkdomainsDomainEndpoint, BulkdomainsReferencedocumentsEndpoint, BulkdomainsReferencesEndpoint, BulkmodelBoostwordsEndpoint, BulkmodelClassEndpoint, BulkmodelClassesEndpoint, BulkmodelDatapropertiesEndpoint, BulkmodelDomainEndpoint, BulkmodelDomainsEndpoint, BulkmodelInstancesEndpoint, BulkmodelMetadataEndpoint, BulkmodelNamedentitiesEndpoint, BulkmodelRulesEndpoint, BulkmodelStopwordsEndpoint, BulkmodelSynonymsEndpoint, BulkmodelclassInstancesEndpoint, type CellType, CelltypesEndpoint, type Char, type Chat, type ChatConversation, ChatEndpoint, type ChatResponse, ChatsEndpoint, ChildExtractorclassesEndpoint, type Class, type ClassBulk, type ClassBulkDatatypeEnum, ClassBulkDatatypeEnumValues, type ClassesOverview, CloneEndpoint, type ComplexProperty, type Condition, type ConditionValue, ConversationEndpoint, ConversationsEndpoint, ConversionsEndpoint, type CurrentUser, CurrentuserEndpoint, type CustomField, type DataProperty, DiffEndpoint, type Difference, type DifferenceOperationEnum, DifferenceOperationEnumValues, type Distance, DocclassCustomfieldsEndpoint, DocclassDocumentclassesEndpoint, DocclassReferencedocumentsEndpoint, DocclassTagsEndpoint, type Document, type DocumentClass, type DocumentClassBulk, type DocumentClassNode, type DocumentInformation, type DocumentMetaData, type DocumentNamedEntity, type DocumentTable, type DocumentType, type DocumentTypeChange, type DocumentTypeConfig, DocumentannotationsEndpoint, DocumentclassEndpoint, DocumentclassesEndpoint, type DocumentmodeEnum, DocumentmodeEnumValues, DocumentsEndpoint, DocumenttypeEndpoint, DocumenttypesEndpoint, type Domain, DomainEndpoint, type DomainInfo, DomainsEndpoint, type Entity, type ErrorContainer, type ErrorField, type ErrorFieldCodeEnum, ErrorFieldCodeEnumValues, type Expression, type ExtractionArea, type ExtractionFile, type ExtractionReference, type Extractor, type ExtractorAttribute, type ExtractorAttributeDatatypeEnum, ExtractorAttributeDatatypeEnumValues, type ExtractorClass, type ExtractorClassOverview, type ExtractorTypeEnum, ExtractorTypeEnumValues, type Features, type Field, type FieldTypeEnum, FieldTypeEnumValues, type FileReference, type Finding, type FormatInformation, type Formatter, ImageEndpoint, ImagesEndpoint, type Info, InfoEndpoint, type Instance, type InstanceChild, type InstanceOverview, type Label, type LanguageDetection, LanguagesEndpoint, type Link, type LinkedInstance, type LinkedValue, MarkdownEndpoint, type Matcher, type MatcherTypeEnum, MatcherTypeEnumValues, type McpServerRequest, type McpToolDescriptor, type McpToolDescriptorAuthEnum, McpToolDescriptorAuthEnumValues, McptoolsEndpoint, MediaType, type Message, type MessageRoleEnum, MessageRoleEnumValues, type MetaInfoPage, type Metadata, type MetadataValue, type ModeEnum, ModeEnumValues, ModelAttributesEndpoint, ModelBoostwordEndpoint, ModelBoostwordsEndpoint, type ModelClass, ModelDatapropertiesEndpoint, ModelDatapropertyEndpoint, ModelDatatypesEndpoint, ModelDomainEndpoint, ModelDomainsEndpoint, ModelEndpoint, ModelExtractorclassEndpoint, ModelExtractorclassesEndpoint, ModelExtractorsEndpoint, ModelExtractortypesEndpoint, ModelFormattersEndpoint, type ModelInstance, type ModelMetadata, ModelMetadataEndpoint, ModelMetadatatypesEndpoint, ModelNamedentitiesEndpoint, ModelNamedentityEndpoint, ModelObjectpropertiesEndpoint, ModelOnemetadataEndpoint, ModelRegexEndpoint, ModelRegexesEndpoint, ModelRelationEndpoint, ModelRelationsEndpoint, ModelRuleEndpoint, ModelRulefunctionsEndpoint, ModelRulesEndpoint, ModelStopwordEndpoint, ModelStopwordsEndpoint, ModelSynonymEndpoint, ModelSynonymsEndpoint, ModelclassesEndpoint, ModelinstancesEndpoint, ModelontAttributeEndpoint, ModelontAttributesEndpoint, ModelontClassEndpoint, ModelontClassesEndpoint, ModelontInstanceEndpoint, ModelontInstancesEndpoint, ModelontclassInstancesEndpoint, type Name, type NamedEntity, NamedentitiesEndpoint, type Overview, type Page, type PageContent, type Paragraph, ParagraphEndpoint, type ParagraphPreview, type ParagraphUpdate, ParagraphsEndpoint, type ProcessInformation, type Prompt, PromptEndpoint, type PromptExecution, type PromptLabelEnum, PromptLabelEnumValues, type PromptOverview, type PromptOverviewPromptLabelEnum, PromptOverviewPromptLabelEnumValues, type PromptPromptLabelEnum, PromptPromptLabelEnumValues, type PromptResponse, PromptValidationEndpoint, type PromptValidationRequest, type PromptValidationResponse, type PromptValidationResult, type PromptValidationTemplate, PromptsEndpoint, type Range, type Rect, type Reference, type ReferenceDocumentsResponseContainer, ReferencedocumentEndpoint, ReferencedocumentsEndpoint, ReferencedocumentsStreamEndpoint, ReferencesEndpoint, type Regex, type Relation, type RelationCondition, type ResponseMetaInfo, RestClient, RestResponse, RolesEndpoint, type Row, type Rule, type RuleFunction, type RuleFunctionTypeEnum, RuleFunctionTypeEnumValues, type RuleOverview, SemanthaAPI, type SemanticModel, type Sentence, SentenceEndpoint, SentencesEndpoint, type Settings, type SettingsDefaultSimilarityModeEnum, SettingsDefaultSimilarityModeEnumValues, SettingsEndpoint, type SettingsExtractionStrategyEnum, SettingsExtractionStrategyEnumValues, type SettingsTaggingStrategyEnum, SettingsTaggingStrategyEnumValues, type SimpleProperty, type Statistic, StatisticEndpoint, type StopWord, type Summarization, SummarizationsEndpoint, type SummarylengthEnum, SummarylengthEnumValues, type Synonym, type TableCell, type TableInstance, type TagDocs, TagEndpoint, TagReferencedocumentsEndpoint, TagsEndpoint, type TextType, TexttypesEndpoint, type Translation, type TranslationResponse, TranslationsEndpoint, TreeEndpoint, type TypeEnum, TypeEnumValues, ValidationEndpoint, type Version, isAttributeDatatypeEnumValue, isAttributeOverviewDatatypeEnumValue, isClassBulkDatatypeEnumValue, isDifferenceOperationEnumValue, isDocumentmodeEnumValue, isErrorFieldCodeEnumValue, isExtractorAttributeDatatypeEnumValue, isExtractorTypeEnumValue, isFieldTypeEnumValue, isMatcherTypeEnumValue, isMcpToolDescriptorAuthEnumValue, isMessageRoleEnumValue, isModeEnumValue, isPromptLabelEnumValue, isPromptOverviewPromptLabelEnumValue, isPromptPromptLabelEnumValue, isRuleFunctionTypeEnumValue, isSettingsDefaultSimilarityModeEnumValue, isSettingsExtractionStrategyEnumValue, isSettingsTaggingStrategyEnumValue, isSummarylengthEnumValue, isTypeEnumValue };
|