@semantha/sdk 11.7.0 → 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 +63 -10
- package/dist/index.d.ts +63 -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 +5 -5
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,13 @@ 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. 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.
|
|
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>;
|
|
2365
2404
|
}
|
|
2366
2405
|
|
|
2367
2406
|
/**
|
|
@@ -2379,8 +2418,11 @@ declare class ConversationEndpoint {
|
|
|
2379
2418
|
/**
|
|
2380
2419
|
* Retrieve the message history of a chat conversation
|
|
2381
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.
|
|
2382
2424
|
*/
|
|
2383
|
-
get(): Promise<ChatResponse>;
|
|
2425
|
+
get(xPolarionAccessToken?: string, xPolarionBaseUrl?: string): Promise<ChatResponse>;
|
|
2384
2426
|
}
|
|
2385
2427
|
|
|
2386
2428
|
/**
|
|
@@ -2394,6 +2436,17 @@ declare class ConversationsEndpoint {
|
|
|
2394
2436
|
private readonly parentEndpoint;
|
|
2395
2437
|
private readonly ENDPOINT;
|
|
2396
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[]>;
|
|
2397
2450
|
}
|
|
2398
2451
|
|
|
2399
2452
|
/**
|
|
@@ -5159,4 +5212,4 @@ declare class SemanthaAPI {
|
|
|
5159
5212
|
model(): ModelEndpoint;
|
|
5160
5213
|
}
|
|
5161
5214
|
|
|
5162
|
-
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, 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 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,13 @@ 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. 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.
|
|
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>;
|
|
2365
2404
|
}
|
|
2366
2405
|
|
|
2367
2406
|
/**
|
|
@@ -2379,8 +2418,11 @@ declare class ConversationEndpoint {
|
|
|
2379
2418
|
/**
|
|
2380
2419
|
* Retrieve the message history of a chat conversation
|
|
2381
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.
|
|
2382
2424
|
*/
|
|
2383
|
-
get(): Promise<ChatResponse>;
|
|
2425
|
+
get(xPolarionAccessToken?: string, xPolarionBaseUrl?: string): Promise<ChatResponse>;
|
|
2384
2426
|
}
|
|
2385
2427
|
|
|
2386
2428
|
/**
|
|
@@ -2394,6 +2436,17 @@ declare class ConversationsEndpoint {
|
|
|
2394
2436
|
private readonly parentEndpoint;
|
|
2395
2437
|
private readonly ENDPOINT;
|
|
2396
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[]>;
|
|
2397
2450
|
}
|
|
2398
2451
|
|
|
2399
2452
|
/**
|
|
@@ -5159,4 +5212,4 @@ declare class SemanthaAPI {
|
|
|
5159
5212
|
model(): ModelEndpoint;
|
|
5160
5213
|
}
|
|
5161
5214
|
|
|
5162
|
-
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, 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 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 };
|