@semantha/sdk 11.9.0 → 11.9.2

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 CHANGED
@@ -271,7 +271,6 @@ interface Chat {
271
271
  originalPromptId?: string;
272
272
  messages?: Message[];
273
273
  temperature?: number;
274
- topK?: number;
275
274
  conversationId?: string;
276
275
  mcpServers?: McpServerRequest[];
277
276
  }
@@ -884,7 +883,6 @@ interface Settings {
884
883
  analyzerMaxItems?: number;
885
884
  keepNumbers?: boolean;
886
885
  minTokens?: number;
887
- similarityMeasure?: string;
888
886
  paragraphReferenceStrategy?: string;
889
887
  contextWeight?: number;
890
888
  enableStringComparison?: boolean;
@@ -893,7 +891,6 @@ interface Settings {
893
891
  defaultDocumentType?: string;
894
892
  enableParagraphSorting?: boolean;
895
893
  enableParagraphEndDetection?: boolean;
896
- enableBoostWordFilteringForInputDocuments?: boolean;
897
894
  taggingSimilarityMode?: string;
898
895
  enableUpdatingFingerprintsOnTagUpdates?: boolean;
899
896
  enableParagraphMergingBasedOnFormatting?: boolean;
@@ -1409,7 +1406,6 @@ interface Prompt {
1409
1406
  systemPrompt?: string;
1410
1407
  userPrompt?: string;
1411
1408
  temperature?: number;
1412
- topK?: number;
1413
1409
  iconName?: string;
1414
1410
  readonly?: boolean;
1415
1411
  customFields?: CustomField[];
@@ -1432,7 +1428,7 @@ interface PromptExecution {
1432
1428
  *
1433
1429
  * This is a generated file do not change manually!
1434
1430
  */
1435
- declare const PromptLabelEnumValues: readonly ["COMPARE", "REQUIREMENTS", "SEARCH", "LIBRARY"];
1431
+ declare const PromptLabelEnumValues: readonly ["COMPARE", "REQUIREMENTS", "SEARCH", "LIBRARY", "POLARION", "AITASKS"];
1436
1432
  type PromptLabelEnum = (typeof PromptLabelEnumValues)[number];
1437
1433
  declare function isPromptLabelEnumValue(value: any): value is PromptLabelEnum;
1438
1434
 
@@ -1456,7 +1452,7 @@ interface PromptOverview {
1456
1452
  *
1457
1453
  * This is a generated file do not change manually!
1458
1454
  */
1459
- declare const PromptOverviewPromptLabelEnumValues: readonly ["COMPARE", "REQUIREMENTS", "SEARCH", "LIBRARY"];
1455
+ declare const PromptOverviewPromptLabelEnumValues: readonly ["COMPARE", "REQUIREMENTS", "SEARCH", "LIBRARY", "POLARION", "AITASKS"];
1460
1456
  type PromptOverviewPromptLabelEnum = (typeof PromptOverviewPromptLabelEnumValues)[number];
1461
1457
  declare function isPromptOverviewPromptLabelEnumValue(value: any): value is PromptOverviewPromptLabelEnum;
1462
1458
 
@@ -1465,7 +1461,7 @@ declare function isPromptOverviewPromptLabelEnumValue(value: any): value is Prom
1465
1461
  *
1466
1462
  * This is a generated file do not change manually!
1467
1463
  */
1468
- declare const PromptPromptLabelEnumValues: readonly ["COMPARE", "REQUIREMENTS", "SEARCH", "LIBRARY"];
1464
+ declare const PromptPromptLabelEnumValues: readonly ["COMPARE", "REQUIREMENTS", "SEARCH", "LIBRARY", "POLARION", "AITASKS"];
1469
1465
  type PromptPromptLabelEnum = (typeof PromptPromptLabelEnumValues)[number];
1470
1466
  declare function isPromptPromptLabelEnumValue(value: any): value is PromptPromptLabelEnum;
1471
1467
 
@@ -1488,7 +1484,6 @@ interface PromptValidationTemplate {
1488
1484
  userPrompt: string;
1489
1485
  systemPrompt?: string;
1490
1486
  temperature?: number;
1491
- topK?: number;
1492
1487
  customFields?: CustomField[];
1493
1488
  }
1494
1489
 
@@ -1707,24 +1702,6 @@ interface Statistic {
1707
1702
  docsPerTag?: TagDocs[];
1708
1703
  }
1709
1704
 
1710
- /**
1711
- * @author semantha
1712
- *
1713
- * This is a generated file do not change manually!
1714
- */
1715
- interface Summarization {
1716
- summary?: string;
1717
- }
1718
-
1719
- /**
1720
- * @author semantha
1721
- *
1722
- * This is a generated file do not change manually!
1723
- */
1724
- declare const SummarylengthEnumValues: readonly ["SHORT", "MEDIUM", "LONG"];
1725
- type SummarylengthEnum = (typeof SummarylengthEnumValues)[number];
1726
- declare function isSummarylengthEnumValue(value: any): value is SummarylengthEnum;
1727
-
1728
1705
  /**
1729
1706
  * @author semantha
1730
1707
  *
@@ -1854,7 +1831,7 @@ declare class RestClient {
1854
1831
  [key: string]: any;
1855
1832
  }, headers?: {
1856
1833
  [key: string]: string;
1857
- }, data?: any): Promise<AsyncIterable<ServerSentEvent>>;
1834
+ }, data?: any, signal?: AbortSignal): Promise<AsyncIterable<ServerSentEvent>>;
1858
1835
  private toQueryString;
1859
1836
  delete(url: string, data?: any, params?: any, headers?: {
1860
1837
  [key: string]: string;
@@ -3944,41 +3921,6 @@ declare class SettingsEndpoint {
3944
3921
  patch(body: Settings): Promise<Settings>;
3945
3922
  }
3946
3923
 
3947
- /**
3948
- * @author semantha
3949
- *
3950
- * Class to access resource "/api/domains/{domainname}/summarizations"
3951
- * This is a generated file do not change manually!
3952
- */
3953
- declare class SummarizationsEndpoint {
3954
- private readonly restClient;
3955
- private readonly parentEndpoint;
3956
- private readonly ENDPOINT;
3957
- constructor(restClient: RestClient, parentEndpoint: string);
3958
- /**
3959
- * Generates a summary for given number of texts. If topic is supplied summarization is generated for this topic
3960
- *
3961
- * @param texts string[]? - List of texts which are summarized.
3962
- * @param topic string? - Set the topic which is used to summarize the given texts.
3963
- * @param language string? - Change the language of the summary text, if not set the language of the domain is used.
3964
- * Supported Languages:
3965
- * "ar", "cs", "da", "de", "en", "es", "el", "fr", "fi", "hu", "hr",
3966
- * "it", "ja", "ko", "nl", "no", "pl", "pt", "ro", "ru", "sk", "sl",
3967
- * "sv", "tr", "zh"
3968
- * @param temperature number? - Temperature regulates the unpredictability of a language model's output. With higher temperature settings, outputs become more creative and less predictable.
3969
- * @param summarylength SummarylengthEnum? - Influences the length of the returned summary. Values are 'SHORT, 'MEDIUM', 'LONG'
3970
- * @param promptid string? - Id of the prompt to generate a summary, other parameters are ignored.
3971
- */
3972
- post(data: {
3973
- texts?: string[];
3974
- topic?: string;
3975
- language?: string;
3976
- temperature?: number;
3977
- summarylength?: SummarylengthEnum;
3978
- promptid?: string;
3979
- }): Promise<Summarization>;
3980
- }
3981
-
3982
3924
  /**
3983
3925
  * @author semantha
3984
3926
  *
@@ -4132,7 +4074,6 @@ declare class DomainEndpoint {
4132
4074
  referencedocuments(documentid: string): ReferencedocumentEndpoint;
4133
4075
  references(): ReferencesEndpoint;
4134
4076
  settings(): SettingsEndpoint;
4135
- summarizations(): SummarizationsEndpoint;
4136
4077
  tags(): TagsEndpoint;
4137
4078
  tags(tagname: string): TagEndpoint;
4138
4079
  texttypes(): TexttypesEndpoint;
@@ -5114,4 +5055,4 @@ declare class SemanthaAPI {
5114
5055
  model(): ModelEndpoint;
5115
5056
  }
5116
5057
 
5117
- 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, BulkDomainsEndpoint, BulkEndpoint, BulkModelEndpoint, BulkdomainsDocumentclassesEndpoint, BulkdomainsDocumenttypesEndpoint, BulkdomainsDomainEndpoint, BulkdomainsReferencedocumentsEndpoint, BulkdomainsReferencesEndpoint, BulkmodelClassEndpoint, BulkmodelClassesEndpoint, BulkmodelDatapropertiesEndpoint, BulkmodelDomainEndpoint, BulkmodelDomainsEndpoint, BulkmodelInstancesEndpoint, BulkmodelMetadataEndpoint, BulkmodelNamedentitiesEndpoint, BulkmodelRulesEndpoint, 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 MessageResponse, type MessageResponseRoleEnum, MessageResponseRoleEnumValues, type MessageRoleEnum, MessageRoleEnumValues, type MetaInfoPage, type Metadata, type MetadataValue, type ModeEnum, ModeEnumValues, ModelAttributesEndpoint, 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, 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, ServerSentEvent, type Settings, type SettingsDefaultSimilarityModeEnum, SettingsDefaultSimilarityModeEnumValues, SettingsEndpoint, type SettingsExtractionStrategyEnum, SettingsExtractionStrategyEnumValues, type SettingsTaggingStrategyEnum, SettingsTaggingStrategyEnumValues, type SimpleProperty, SseEndpoint, type Statistic, StatisticEndpoint, 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, isMessageResponseRoleEnumValue, isMessageRoleEnumValue, isModeEnumValue, isPromptLabelEnumValue, isPromptOverviewPromptLabelEnumValue, isPromptPromptLabelEnumValue, isRuleFunctionTypeEnumValue, isSettingsDefaultSimilarityModeEnumValue, isSettingsExtractionStrategyEnumValue, isSettingsTaggingStrategyEnumValue, isSummarylengthEnumValue, isTypeEnumValue, parseServerSentEvents };
5058
+ 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, BulkDomainsEndpoint, BulkEndpoint, BulkModelEndpoint, BulkdomainsDocumentclassesEndpoint, BulkdomainsDocumenttypesEndpoint, BulkdomainsDomainEndpoint, BulkdomainsReferencedocumentsEndpoint, BulkdomainsReferencesEndpoint, BulkmodelClassEndpoint, BulkmodelClassesEndpoint, BulkmodelDatapropertiesEndpoint, BulkmodelDomainEndpoint, BulkmodelDomainsEndpoint, BulkmodelInstancesEndpoint, BulkmodelMetadataEndpoint, BulkmodelNamedentitiesEndpoint, BulkmodelRulesEndpoint, 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 MessageResponse, type MessageResponseRoleEnum, MessageResponseRoleEnumValues, type MessageRoleEnum, MessageRoleEnumValues, type MetaInfoPage, type Metadata, type MetadataValue, type ModeEnum, ModeEnumValues, ModelAttributesEndpoint, 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, 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, ServerSentEvent, type Settings, type SettingsDefaultSimilarityModeEnum, SettingsDefaultSimilarityModeEnumValues, SettingsEndpoint, type SettingsExtractionStrategyEnum, SettingsExtractionStrategyEnumValues, type SettingsTaggingStrategyEnum, SettingsTaggingStrategyEnumValues, type SimpleProperty, SseEndpoint, type Statistic, StatisticEndpoint, 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, isMessageResponseRoleEnumValue, isMessageRoleEnumValue, isModeEnumValue, isPromptLabelEnumValue, isPromptOverviewPromptLabelEnumValue, isPromptPromptLabelEnumValue, isRuleFunctionTypeEnumValue, isSettingsDefaultSimilarityModeEnumValue, isSettingsExtractionStrategyEnumValue, isSettingsTaggingStrategyEnumValue, isTypeEnumValue, parseServerSentEvents };
package/dist/index.d.ts CHANGED
@@ -271,7 +271,6 @@ interface Chat {
271
271
  originalPromptId?: string;
272
272
  messages?: Message[];
273
273
  temperature?: number;
274
- topK?: number;
275
274
  conversationId?: string;
276
275
  mcpServers?: McpServerRequest[];
277
276
  }
@@ -884,7 +883,6 @@ interface Settings {
884
883
  analyzerMaxItems?: number;
885
884
  keepNumbers?: boolean;
886
885
  minTokens?: number;
887
- similarityMeasure?: string;
888
886
  paragraphReferenceStrategy?: string;
889
887
  contextWeight?: number;
890
888
  enableStringComparison?: boolean;
@@ -893,7 +891,6 @@ interface Settings {
893
891
  defaultDocumentType?: string;
894
892
  enableParagraphSorting?: boolean;
895
893
  enableParagraphEndDetection?: boolean;
896
- enableBoostWordFilteringForInputDocuments?: boolean;
897
894
  taggingSimilarityMode?: string;
898
895
  enableUpdatingFingerprintsOnTagUpdates?: boolean;
899
896
  enableParagraphMergingBasedOnFormatting?: boolean;
@@ -1409,7 +1406,6 @@ interface Prompt {
1409
1406
  systemPrompt?: string;
1410
1407
  userPrompt?: string;
1411
1408
  temperature?: number;
1412
- topK?: number;
1413
1409
  iconName?: string;
1414
1410
  readonly?: boolean;
1415
1411
  customFields?: CustomField[];
@@ -1432,7 +1428,7 @@ interface PromptExecution {
1432
1428
  *
1433
1429
  * This is a generated file do not change manually!
1434
1430
  */
1435
- declare const PromptLabelEnumValues: readonly ["COMPARE", "REQUIREMENTS", "SEARCH", "LIBRARY"];
1431
+ declare const PromptLabelEnumValues: readonly ["COMPARE", "REQUIREMENTS", "SEARCH", "LIBRARY", "POLARION", "AITASKS"];
1436
1432
  type PromptLabelEnum = (typeof PromptLabelEnumValues)[number];
1437
1433
  declare function isPromptLabelEnumValue(value: any): value is PromptLabelEnum;
1438
1434
 
@@ -1456,7 +1452,7 @@ interface PromptOverview {
1456
1452
  *
1457
1453
  * This is a generated file do not change manually!
1458
1454
  */
1459
- declare const PromptOverviewPromptLabelEnumValues: readonly ["COMPARE", "REQUIREMENTS", "SEARCH", "LIBRARY"];
1455
+ declare const PromptOverviewPromptLabelEnumValues: readonly ["COMPARE", "REQUIREMENTS", "SEARCH", "LIBRARY", "POLARION", "AITASKS"];
1460
1456
  type PromptOverviewPromptLabelEnum = (typeof PromptOverviewPromptLabelEnumValues)[number];
1461
1457
  declare function isPromptOverviewPromptLabelEnumValue(value: any): value is PromptOverviewPromptLabelEnum;
1462
1458
 
@@ -1465,7 +1461,7 @@ declare function isPromptOverviewPromptLabelEnumValue(value: any): value is Prom
1465
1461
  *
1466
1462
  * This is a generated file do not change manually!
1467
1463
  */
1468
- declare const PromptPromptLabelEnumValues: readonly ["COMPARE", "REQUIREMENTS", "SEARCH", "LIBRARY"];
1464
+ declare const PromptPromptLabelEnumValues: readonly ["COMPARE", "REQUIREMENTS", "SEARCH", "LIBRARY", "POLARION", "AITASKS"];
1469
1465
  type PromptPromptLabelEnum = (typeof PromptPromptLabelEnumValues)[number];
1470
1466
  declare function isPromptPromptLabelEnumValue(value: any): value is PromptPromptLabelEnum;
1471
1467
 
@@ -1488,7 +1484,6 @@ interface PromptValidationTemplate {
1488
1484
  userPrompt: string;
1489
1485
  systemPrompt?: string;
1490
1486
  temperature?: number;
1491
- topK?: number;
1492
1487
  customFields?: CustomField[];
1493
1488
  }
1494
1489
 
@@ -1707,24 +1702,6 @@ interface Statistic {
1707
1702
  docsPerTag?: TagDocs[];
1708
1703
  }
1709
1704
 
1710
- /**
1711
- * @author semantha
1712
- *
1713
- * This is a generated file do not change manually!
1714
- */
1715
- interface Summarization {
1716
- summary?: string;
1717
- }
1718
-
1719
- /**
1720
- * @author semantha
1721
- *
1722
- * This is a generated file do not change manually!
1723
- */
1724
- declare const SummarylengthEnumValues: readonly ["SHORT", "MEDIUM", "LONG"];
1725
- type SummarylengthEnum = (typeof SummarylengthEnumValues)[number];
1726
- declare function isSummarylengthEnumValue(value: any): value is SummarylengthEnum;
1727
-
1728
1705
  /**
1729
1706
  * @author semantha
1730
1707
  *
@@ -1854,7 +1831,7 @@ declare class RestClient {
1854
1831
  [key: string]: any;
1855
1832
  }, headers?: {
1856
1833
  [key: string]: string;
1857
- }, data?: any): Promise<AsyncIterable<ServerSentEvent>>;
1834
+ }, data?: any, signal?: AbortSignal): Promise<AsyncIterable<ServerSentEvent>>;
1858
1835
  private toQueryString;
1859
1836
  delete(url: string, data?: any, params?: any, headers?: {
1860
1837
  [key: string]: string;
@@ -3944,41 +3921,6 @@ declare class SettingsEndpoint {
3944
3921
  patch(body: Settings): Promise<Settings>;
3945
3922
  }
3946
3923
 
3947
- /**
3948
- * @author semantha
3949
- *
3950
- * Class to access resource "/api/domains/{domainname}/summarizations"
3951
- * This is a generated file do not change manually!
3952
- */
3953
- declare class SummarizationsEndpoint {
3954
- private readonly restClient;
3955
- private readonly parentEndpoint;
3956
- private readonly ENDPOINT;
3957
- constructor(restClient: RestClient, parentEndpoint: string);
3958
- /**
3959
- * Generates a summary for given number of texts. If topic is supplied summarization is generated for this topic
3960
- *
3961
- * @param texts string[]? - List of texts which are summarized.
3962
- * @param topic string? - Set the topic which is used to summarize the given texts.
3963
- * @param language string? - Change the language of the summary text, if not set the language of the domain is used.
3964
- * Supported Languages:
3965
- * "ar", "cs", "da", "de", "en", "es", "el", "fr", "fi", "hu", "hr",
3966
- * "it", "ja", "ko", "nl", "no", "pl", "pt", "ro", "ru", "sk", "sl",
3967
- * "sv", "tr", "zh"
3968
- * @param temperature number? - Temperature regulates the unpredictability of a language model's output. With higher temperature settings, outputs become more creative and less predictable.
3969
- * @param summarylength SummarylengthEnum? - Influences the length of the returned summary. Values are 'SHORT, 'MEDIUM', 'LONG'
3970
- * @param promptid string? - Id of the prompt to generate a summary, other parameters are ignored.
3971
- */
3972
- post(data: {
3973
- texts?: string[];
3974
- topic?: string;
3975
- language?: string;
3976
- temperature?: number;
3977
- summarylength?: SummarylengthEnum;
3978
- promptid?: string;
3979
- }): Promise<Summarization>;
3980
- }
3981
-
3982
3924
  /**
3983
3925
  * @author semantha
3984
3926
  *
@@ -4132,7 +4074,6 @@ declare class DomainEndpoint {
4132
4074
  referencedocuments(documentid: string): ReferencedocumentEndpoint;
4133
4075
  references(): ReferencesEndpoint;
4134
4076
  settings(): SettingsEndpoint;
4135
- summarizations(): SummarizationsEndpoint;
4136
4077
  tags(): TagsEndpoint;
4137
4078
  tags(tagname: string): TagEndpoint;
4138
4079
  texttypes(): TexttypesEndpoint;
@@ -5114,4 +5055,4 @@ declare class SemanthaAPI {
5114
5055
  model(): ModelEndpoint;
5115
5056
  }
5116
5057
 
5117
- 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, BulkDomainsEndpoint, BulkEndpoint, BulkModelEndpoint, BulkdomainsDocumentclassesEndpoint, BulkdomainsDocumenttypesEndpoint, BulkdomainsDomainEndpoint, BulkdomainsReferencedocumentsEndpoint, BulkdomainsReferencesEndpoint, BulkmodelClassEndpoint, BulkmodelClassesEndpoint, BulkmodelDatapropertiesEndpoint, BulkmodelDomainEndpoint, BulkmodelDomainsEndpoint, BulkmodelInstancesEndpoint, BulkmodelMetadataEndpoint, BulkmodelNamedentitiesEndpoint, BulkmodelRulesEndpoint, 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 MessageResponse, type MessageResponseRoleEnum, MessageResponseRoleEnumValues, type MessageRoleEnum, MessageRoleEnumValues, type MetaInfoPage, type Metadata, type MetadataValue, type ModeEnum, ModeEnumValues, ModelAttributesEndpoint, 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, 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, ServerSentEvent, type Settings, type SettingsDefaultSimilarityModeEnum, SettingsDefaultSimilarityModeEnumValues, SettingsEndpoint, type SettingsExtractionStrategyEnum, SettingsExtractionStrategyEnumValues, type SettingsTaggingStrategyEnum, SettingsTaggingStrategyEnumValues, type SimpleProperty, SseEndpoint, type Statistic, StatisticEndpoint, 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, isMessageResponseRoleEnumValue, isMessageRoleEnumValue, isModeEnumValue, isPromptLabelEnumValue, isPromptOverviewPromptLabelEnumValue, isPromptPromptLabelEnumValue, isRuleFunctionTypeEnumValue, isSettingsDefaultSimilarityModeEnumValue, isSettingsExtractionStrategyEnumValue, isSettingsTaggingStrategyEnumValue, isSummarylengthEnumValue, isTypeEnumValue, parseServerSentEvents };
5058
+ 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, BulkDomainsEndpoint, BulkEndpoint, BulkModelEndpoint, BulkdomainsDocumentclassesEndpoint, BulkdomainsDocumenttypesEndpoint, BulkdomainsDomainEndpoint, BulkdomainsReferencedocumentsEndpoint, BulkdomainsReferencesEndpoint, BulkmodelClassEndpoint, BulkmodelClassesEndpoint, BulkmodelDatapropertiesEndpoint, BulkmodelDomainEndpoint, BulkmodelDomainsEndpoint, BulkmodelInstancesEndpoint, BulkmodelMetadataEndpoint, BulkmodelNamedentitiesEndpoint, BulkmodelRulesEndpoint, 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 MessageResponse, type MessageResponseRoleEnum, MessageResponseRoleEnumValues, type MessageRoleEnum, MessageRoleEnumValues, type MetaInfoPage, type Metadata, type MetadataValue, type ModeEnum, ModeEnumValues, ModelAttributesEndpoint, 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, 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, ServerSentEvent, type Settings, type SettingsDefaultSimilarityModeEnum, SettingsDefaultSimilarityModeEnumValues, SettingsEndpoint, type SettingsExtractionStrategyEnum, SettingsExtractionStrategyEnumValues, type SettingsTaggingStrategyEnum, SettingsTaggingStrategyEnumValues, type SimpleProperty, SseEndpoint, type Statistic, StatisticEndpoint, 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, isMessageResponseRoleEnumValue, isMessageRoleEnumValue, isModeEnumValue, isPromptLabelEnumValue, isPromptOverviewPromptLabelEnumValue, isPromptPromptLabelEnumValue, isRuleFunctionTypeEnumValue, isSettingsDefaultSimilarityModeEnumValue, isSettingsExtractionStrategyEnumValue, isSettingsTaggingStrategyEnumValue, isTypeEnumValue, parseServerSentEvents };