@semantha/sdk 9.7.0 → 10.0.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/README.md CHANGED
@@ -1,3 +1,5 @@
1
1
  ![](https://www.semantha.de/wp-content/uploads/semantha-inverted.svg)
2
2
 
3
- # 💜 semantha SDK
3
+ # semantha SDK
4
+
5
+ This is the TypeScript SDK for the semantha platform
package/dist/index.d.mts CHANGED
@@ -629,7 +629,6 @@ interface Reference {
629
629
  type?: string;
630
630
  color?: string;
631
631
  comment?: string;
632
- hasOppositeMeaning?: boolean;
633
632
  }
634
633
 
635
634
  /**
@@ -851,7 +850,6 @@ interface DocumentTypeConfig {
851
850
  doAutoSplitting?: boolean;
852
851
  autoSplitDistance?: number;
853
852
  useSimilarityModelForExtraction?: boolean;
854
- doContradictionDetection?: boolean;
855
853
  doParagraphMergingForTextFiles?: boolean;
856
854
  }
857
855
 
@@ -877,7 +875,6 @@ interface DocumentType {
877
875
  interface DocumentTypeChange {
878
876
  name?: string;
879
877
  doObjectDetection?: boolean;
880
- doContradictionDetection?: boolean;
881
878
  doSubDocumentSplitting?: boolean;
882
879
  splitModus?: string;
883
880
  splitByType?: string;
@@ -993,7 +990,7 @@ interface ErrorContainer {
993
990
  *
994
991
  * This is a generated file do not change manually!
995
992
  */
996
- declare const ErrorFieldCodeEnumValues: readonly ["BAD_REQUEST", "UNAUTHORIZED", "FORBIDDEN", "NOT_FOUND", "CONFLICT", "CONTENT_TOO_LARGE", "INTERNAL_SERVER_ERROR", "GATEWAY_TIMEOUT", "DOCUMENTTYPE_NOT_FOUND", "DOCUMENTTYPE_NAME_EXISTS", "DOCUMENTTYPE_NOT_EDITABLE", "COMPARE_DOC_IS_EMPTY", "COMPARE_WRONG_LANGUAGE", "COMPARE_NO_REFERENCES", "DOMAIN_NOT_FOUND", "TOO_MANY_TOKENS", "NO_FILE_FOUND", "FILE_TYPE_NOT_SUPPORTED", "FILE_PASSWORDPROTECTED", "MISSING_SERVICE_DEFINITION", "SERVICE_CALL_ERROR", "GENERATIVE_MODEL_ERROR", "USED_AS_LINKED_EXTRACTOR", "CYCLICAL_DEPENDENCY_LINKED_EXTRACTOR", "FILE_TOO_BIG", "TOO_MANY_ROWS", "REGEX_INVALID", "GENERATIVE_MODEL_CONTEXT_EXCEEDED", "PROMPT_NOT_DELETABLE", "JPEG2000_NOT_SUPPORTED", "RESOURCE_NOT_FOUND", "PARENT_RESOURCE_NOT_FOUND", "RESOURCE_PARAMETER_CONSTRAINT_VIOLATION", "PLATFORM_UNREACHABLE", "FILE_SIZE_TOOBIG", "USER_REPOSITORY_NOT_CONFIGURED", "PDF_NOT_CONFIGURED", "INVALID_USER_PASSWORD", "UNKNOWN_FINGERPRINTER_ID", "JSON_ARRAY_EMPTY", "TOKENS_ILLEGAL_TYPE", "NO_JSON", "INVALID_JSON_FORMAT", "JSON_OBJECT_HAS_NO_DOCUMENTS", "DOCUMENTS_ARE_NO_JSON_ARRAY", "DOCUMENTS_JSON_ARRAY_EMPTY", "DOCUMENTS_VALUE_ERROR", "DOCUMENTS_TYPE_ERROR", "DOCUMENTS_TOO_FEW_DOCUMENTS", "REQ_NO_JSON_ARRAY", "SENTENCE_LIST_NOT_TWO", "IMAGE_NOT_PROVIDED", "IMAGE_INVALID_FORMAT", "MODEL_NAME_INVALID", "THRESHOLD_INVALID", "IMAGE_BUFFER_EMPTY", "INVALID_MODEL_ID", "IMAGE_NOT_PROVIDED_IFP", "IMAGE_INVALID_DATA", "IMAGE_INVALID_FORMAT_IFP"];
993
+ declare const ErrorFieldCodeEnumValues: readonly ["BAD_REQUEST", "UNAUTHORIZED", "FORBIDDEN", "NOT_FOUND", "CONFLICT", "CONTENT_TOO_LARGE", "INTERNAL_SERVER_ERROR", "GATEWAY_TIMEOUT", "DOCUMENTTYPE_NOT_FOUND", "DOCUMENTTYPE_NAME_EXISTS", "DOCUMENTTYPE_NOT_EDITABLE", "COMPARE_DOC_IS_EMPTY", "COMPARE_WRONG_LANGUAGE", "COMPARE_NO_REFERENCES", "DOMAIN_NOT_FOUND", "TOO_MANY_TOKENS", "NO_FILE_FOUND", "FILE_TYPE_NOT_SUPPORTED", "FILE_PASSWORDPROTECTED", "MISSING_SERVICE_DEFINITION", "SERVICE_CALL_ERROR", "GENERATIVE_MODEL_ERROR", "USED_AS_LINKED_EXTRACTOR", "CYCLICAL_DEPENDENCY_LINKED_EXTRACTOR", "FILE_TOO_BIG", "TOO_MANY_ROWS", "REGEX_INVALID", "GENERATIVE_MODEL_CONTEXT_EXCEEDED", "PROMPT_NOT_DELETABLE", "JPEG2000_NOT_SUPPORTED", "TRANSLATION_ERROR", "RESOURCE_NOT_FOUND", "PARENT_RESOURCE_NOT_FOUND", "RESOURCE_PARAMETER_CONSTRAINT_VIOLATION", "PLATFORM_UNREACHABLE", "FILE_SIZE_TOOBIG", "USER_REPOSITORY_NOT_CONFIGURED", "PDF_NOT_CONFIGURED", "INVALID_USER_PASSWORD", "UNKNOWN_FINGERPRINTER_ID", "JSON_ARRAY_EMPTY", "TOKENS_ILLEGAL_TYPE", "NO_JSON", "INVALID_JSON_FORMAT", "JSON_OBJECT_HAS_NO_DOCUMENTS", "DOCUMENTS_ARE_NO_JSON_ARRAY", "DOCUMENTS_JSON_ARRAY_EMPTY", "DOCUMENTS_VALUE_ERROR", "DOCUMENTS_TYPE_ERROR", "DOCUMENTS_TOO_FEW_DOCUMENTS", "REQ_NO_JSON_ARRAY", "SENTENCE_LIST_NOT_TWO", "IMAGE_NOT_PROVIDED", "IMAGE_INVALID_FORMAT", "MODEL_NAME_INVALID", "THRESHOLD_INVALID", "IMAGE_BUFFER_EMPTY", "INVALID_MODEL_ID", "IMAGE_NOT_PROVIDED_IFP", "IMAGE_INVALID_DATA", "IMAGE_INVALID_FORMAT_IFP"];
997
994
  type ErrorFieldCodeEnum = (typeof ErrorFieldCodeEnumValues)[number];
998
995
  declare function isErrorFieldCodeEnumValue(value: any): value is ErrorFieldCodeEnum;
999
996
 
@@ -1251,17 +1248,6 @@ declare const MatcherTypeEnumValues: readonly ["REGEX", "ANDREGEX", "ANDNOTREGEX
1251
1248
  type MatcherTypeEnum = (typeof MatcherTypeEnumValues)[number];
1252
1249
  declare function isMatcherTypeEnumValue(value: any): value is MatcherTypeEnum;
1253
1250
 
1254
- /**
1255
- * @author semantha
1256
- *
1257
- * This is a generated file do not change manually!
1258
- */
1259
- interface MatrixRow {
1260
- documentId?: string;
1261
- documentName?: string;
1262
- references?: Reference[];
1263
- }
1264
-
1265
1251
  /**
1266
1252
  * @author semantha
1267
1253
  *
@@ -1855,7 +1841,7 @@ declare class AnswersEndpoint {
1855
1841
  * "ar", "cs", "da", "de", "en", "es", "el", "fr", "fi", "hu", "hr",
1856
1842
  * "it", "ja", "ko", "nl", "no", "pl", "pt", "ro", "ru", "sk", "sl",
1857
1843
  * "sv", "tr", "zh"
1858
- * @param tags string? - List of tags to filter the reference library. You can combine the tags using a comma (OR) and using a plus sign (AND).
1844
+ * @param tags string? - List of tags to filter the reference library. You can combine the tags using a comma (OR) and using a plus sign (AND). Groups (single AND or OR-groups) can be negated using an "!"
1859
1845
  */
1860
1846
  post(data: {
1861
1847
  question?: string;
@@ -3739,107 +3725,6 @@ declare class SettingsEndpoint {
3739
3725
  patch(body: Settings): Promise<Settings>;
3740
3726
  }
3741
3727
 
3742
- /**
3743
- * @author semantha
3744
- *
3745
- * Class to access resource "/api/domains/{domainname}/similaritymatrix/cluster"
3746
- * This is a generated file do not change manually!
3747
- */
3748
- declare class SimilaritymatrixClusterEndpoint {
3749
- private readonly restClient;
3750
- private readonly parentEndpoint;
3751
- private readonly ENDPOINT;
3752
- constructor(restClient: RestClient, parentEndpoint: string);
3753
- /**
3754
- * Get document clustersConsolidate the documents to clusters based on the results of `post post /api/domains/{domainname}/similaritymatrix`
3755
- *
3756
- * @param tags string? - List of tags to filter the reference library. You can combine the tags using a comma (OR) and using a plus sign (AND).
3757
- * @param documentids string[]? - List of document Ids for target. The limit here is 65000 IDs.
3758
- * The IDs are passed as a JSON array.
3759
- * @param documentclassids string[]? - List of documentclass IDs for the target. The limit here is 1000 IDs.
3760
- * The IDs are passed as a JSON array.
3761
- * This does not apply on the GET referencedocuments call. Here the ids are separated with a comma.
3762
- * @param similaritythreshold number? - Threshold for the similarity score. semantha will not deliver results with a sentence score lower than the threshold.
3763
- * In general, the higher the threshold, the more precise the results.
3764
- * @param mode ModeEnum? - When using the references endpoint: Use mode to determine the type of search semantha should perform.
3765
- * fingerprint: semantic search based on sentences;
3766
- * keyword: keyword: search based on sentences;
3767
- * document: a bag-of-words search that ranks a set of documents based on the query terms appearing in each document, regardless of their proximity within the document. Higher scores indicate higher similarity. Please note that the similarity score has no upper limit and is not normalized;
3768
- * document_fingerprint: a bag-of-words search that ranks a set of documents based on the query terms appearing in each document, regardless of their proximity within the document. The results are then reranked based on a semantic search. This reranking results in normalized scores and as such represents an enhancement of the mode document;
3769
- * fingerprint_keyword (formerly auto): semantic search, if no results are found a keyword search is performed
3770
- * Creating document model: It also defines what structure should be considered for what operator (similarity or extraction).
3771
- * @param considertexttype boolean? - Use this parameter to ensure that only paragraphs of the same type are compared with each other. The parameter is of type boolean and is set to false by default.
3772
- */
3773
- post(data: {
3774
- tags?: string;
3775
- documentids?: string[];
3776
- documentclassids?: string[];
3777
- similaritythreshold?: number;
3778
- mode?: ModeEnum;
3779
- considertexttype?: boolean;
3780
- }): Promise<MatrixRow[]>;
3781
- /**
3782
- * Get document clustersConsolidate the documents to clusters based on the results of `post post /api/domains/{domainname}/similaritymatrix`
3783
- *
3784
- * @param body MatrixRow[]? -
3785
- */
3786
- postJson(body?: MatrixRow[]): Promise<MatrixRow[]>;
3787
- }
3788
-
3789
- /**
3790
- * @author semantha
3791
- *
3792
- * Class to access resource "/api/domains/{domainname}/similaritymatrix"
3793
- * This is a generated file do not change manually!
3794
- */
3795
- declare class SimilaritymatrixEndpoint {
3796
- private readonly restClient;
3797
- private readonly parentEndpoint;
3798
- private readonly ENDPOINT;
3799
- constructor(restClient: RestClient, parentEndpoint: string);
3800
- cluster(): SimilaritymatrixClusterEndpoint;
3801
- /**
3802
- * Get a similarity matrix
3803
- *
3804
- * @param file Blob? - Input document (left document).
3805
- * @param tags string? - List of tags to filter the reference library. You can combine the tags using a comma (OR) and using a plus sign (AND).
3806
- * @param sourcetags string? - Filters the input library by tags
3807
- * @param documentids string[]? - List of document Ids for target. The limit here is 65000 IDs.
3808
- * The IDs are passed as a JSON array.
3809
- * @param sourcedocumentids string[]? - List of document IDs for source. The limit here is 65000 IDs.
3810
- * The IDs are passed as a JSON array.
3811
- * @param documentclassids string[]? - List of documentclass IDs for the target. The limit here is 1000 IDs.
3812
- * The IDs are passed as a JSON array.
3813
- * This does not apply on the GET referencedocuments call. Here the ids are separated with a comma.
3814
- * @param sourcedocumentclassids string[]? - List of documentclass IDs for the source. The limit here is 1000 IDs.
3815
- * The IDs are passed as a JSON array.
3816
- * @param similaritythreshold number? - Threshold for the similarity score. semantha will not deliver results with a sentence score lower than the threshold.
3817
- * In general, the higher the threshold, the more precise the results.
3818
- * @param mode ModeEnum? - When using the references endpoint: Use mode to determine the type of search semantha should perform.
3819
- * fingerprint: semantic search based on sentences;
3820
- * keyword: keyword: search based on sentences;
3821
- * document: a bag-of-words search that ranks a set of documents based on the query terms appearing in each document, regardless of their proximity within the document. Higher scores indicate higher similarity. Please note that the similarity score has no upper limit and is not normalized;
3822
- * document_fingerprint: a bag-of-words search that ranks a set of documents based on the query terms appearing in each document, regardless of their proximity within the document. The results are then reranked based on a semantic search. This reranking results in normalized scores and as such represents an enhancement of the mode document;
3823
- * fingerprint_keyword (formerly auto): semantic search, if no results are found a keyword search is performed
3824
- * Creating document model: It also defines what structure should be considered for what operator (similarity or extraction).
3825
- * @param documenttype string? - Specifies the document type that is to be used by semantha when reading the uploaded document.
3826
- * @param considertexttype boolean? - Use this parameter to ensure that only paragraphs of the same type are compared with each other. The parameter is of type boolean and is set to false by default.
3827
- */
3828
- post(data: {
3829
- file?: Blob;
3830
- tags?: string;
3831
- sourcetags?: string;
3832
- documentids?: string[];
3833
- sourcedocumentids?: string[];
3834
- documentclassids?: string[];
3835
- sourcedocumentclassids?: string[];
3836
- similaritythreshold?: number;
3837
- mode?: ModeEnum;
3838
- documenttype?: string;
3839
- considertexttype?: boolean;
3840
- }): Promise<MatrixRow[]>;
3841
- }
3842
-
3843
3728
  /**
3844
3729
  * @author semantha
3845
3730
  *
@@ -4026,7 +3911,6 @@ declare class DomainEndpoint {
4026
3911
  referencedocuments(documentid: string): ReferencedocumentEndpoint;
4027
3912
  references(): ReferencesEndpoint;
4028
3913
  settings(): SettingsEndpoint;
4029
- similaritymatrix(): SimilaritymatrixEndpoint;
4030
3914
  summarizations(): SummarizationsEndpoint;
4031
3915
  tags(): TagsEndpoint;
4032
3916
  tags(tagname: string): TagEndpoint;
@@ -5132,4 +5016,4 @@ declare class SemanthaAPI {
5132
5016
  model(): ModelEndpoint;
5133
5017
  }
5134
5018
 
5135
- 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 ClusteredDocument, type ClusteringResponse, type ClusteringstructureEnum, ClusteringstructureEnumValues, ClustersEndpoint, 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 DocumentCluster, 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, type Matcher, type MatcherTypeEnum, MatcherTypeEnumValues, type MatrixRow, MediaType, type Message, type MessageRoleEnum, MessageRoleEnumValues, type MetaInfoPage, type Metadata, type MetadataValue, type ModeEnum, ModeEnumValues, ModelAttributesEndpoint, ModelBackupsEndpoint, 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 ParagraphUpdate, ParagraphsEndpoint, type PlotlyChart, type ProcessInformation, type Prompt, PromptEndpoint, type PromptExecution, type PromptOverview, type PromptOverviewPromptLabelEnum, PromptOverviewPromptLabelEnumValues, type PromptPromptLabelEnum, PromptPromptLabelEnumValues, type PromptResponse, PromptsEndpoint, type Range, type RangeEnum, RangeEnumValues, type Rect, type Reference, type ReferenceDocumentsResponseContainer, ReferencedocumentEndpoint, ReferencedocumentsEndpoint, 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 SemiSuperVisedDocument, type Sentence, SentenceEndpoint, SentencesEndpoint, type Settings, type SettingsDefaultSimilarityModeEnum, SettingsDefaultSimilarityModeEnumValues, SettingsEndpoint, type SettingsExtractionStrategyEnum, SettingsExtractionStrategyEnumValues, type SettingsTaggingStrategyEnum, SettingsTaggingStrategyEnumValues, SimilaritymatrixClusterEndpoint, SimilaritymatrixEndpoint, type SimpleProperty, type SmartClusterResponseContainer, type SmartClusterSemiSupervisedRequest, type SmartClusterSemiSupervisedRequestClusteringStructureEnum, SmartClusterSemiSupervisedRequestClusteringStructureEnumValues, type SmartClusterSemiSupervisedRequestTopicOverTimeRangeEnum, SmartClusterSemiSupervisedRequestTopicOverTimeRangeEnumValues, type SourceDocument, 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 TransactionSummary, TransactionsEndpoint, type TypeEnum, TypeEnumValues, ValidationEndpoint, type Version, isAttributeDatatypeEnumValue, isAttributeOverviewDatatypeEnumValue, isClassBulkDatatypeEnumValue, isClusteringstructureEnumValue, isDifferenceOperationEnumValue, isDocumentmodeEnumValue, isErrorFieldCodeEnumValue, isExtractorAttributeDatatypeEnumValue, isExtractorTypeEnumValue, isFieldTypeEnumValue, isMatcherTypeEnumValue, isMessageRoleEnumValue, isModeEnumValue, isPromptOverviewPromptLabelEnumValue, isPromptPromptLabelEnumValue, isRangeEnumValue, isRuleFunctionTypeEnumValue, isSettingsDefaultSimilarityModeEnumValue, isSettingsExtractionStrategyEnumValue, isSettingsTaggingStrategyEnumValue, isSmartClusterSemiSupervisedRequestClusteringStructureEnumValue, isSmartClusterSemiSupervisedRequestTopicOverTimeRangeEnumValue, isSummarylengthEnumValue, isTypeEnumValue };
5019
+ 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 ClusteredDocument, type ClusteringResponse, type ClusteringstructureEnum, ClusteringstructureEnumValues, ClustersEndpoint, 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 DocumentCluster, 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, type Matcher, type MatcherTypeEnum, MatcherTypeEnumValues, MediaType, type Message, type MessageRoleEnum, MessageRoleEnumValues, type MetaInfoPage, type Metadata, type MetadataValue, type ModeEnum, ModeEnumValues, ModelAttributesEndpoint, ModelBackupsEndpoint, 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 ParagraphUpdate, ParagraphsEndpoint, type PlotlyChart, type ProcessInformation, type Prompt, PromptEndpoint, type PromptExecution, type PromptOverview, type PromptOverviewPromptLabelEnum, PromptOverviewPromptLabelEnumValues, type PromptPromptLabelEnum, PromptPromptLabelEnumValues, type PromptResponse, PromptsEndpoint, type Range, type RangeEnum, RangeEnumValues, type Rect, type Reference, type ReferenceDocumentsResponseContainer, ReferencedocumentEndpoint, ReferencedocumentsEndpoint, 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 SemiSuperVisedDocument, type Sentence, SentenceEndpoint, SentencesEndpoint, type Settings, type SettingsDefaultSimilarityModeEnum, SettingsDefaultSimilarityModeEnumValues, SettingsEndpoint, type SettingsExtractionStrategyEnum, SettingsExtractionStrategyEnumValues, type SettingsTaggingStrategyEnum, SettingsTaggingStrategyEnumValues, type SimpleProperty, type SmartClusterResponseContainer, type SmartClusterSemiSupervisedRequest, type SmartClusterSemiSupervisedRequestClusteringStructureEnum, SmartClusterSemiSupervisedRequestClusteringStructureEnumValues, type SmartClusterSemiSupervisedRequestTopicOverTimeRangeEnum, SmartClusterSemiSupervisedRequestTopicOverTimeRangeEnumValues, type SourceDocument, 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 TransactionSummary, TransactionsEndpoint, type TypeEnum, TypeEnumValues, ValidationEndpoint, type Version, isAttributeDatatypeEnumValue, isAttributeOverviewDatatypeEnumValue, isClassBulkDatatypeEnumValue, isClusteringstructureEnumValue, isDifferenceOperationEnumValue, isDocumentmodeEnumValue, isErrorFieldCodeEnumValue, isExtractorAttributeDatatypeEnumValue, isExtractorTypeEnumValue, isFieldTypeEnumValue, isMatcherTypeEnumValue, isMessageRoleEnumValue, isModeEnumValue, isPromptOverviewPromptLabelEnumValue, isPromptPromptLabelEnumValue, isRangeEnumValue, isRuleFunctionTypeEnumValue, isSettingsDefaultSimilarityModeEnumValue, isSettingsExtractionStrategyEnumValue, isSettingsTaggingStrategyEnumValue, isSmartClusterSemiSupervisedRequestClusteringStructureEnumValue, isSmartClusterSemiSupervisedRequestTopicOverTimeRangeEnumValue, isSummarylengthEnumValue, isTypeEnumValue };
package/dist/index.d.ts CHANGED
@@ -629,7 +629,6 @@ interface Reference {
629
629
  type?: string;
630
630
  color?: string;
631
631
  comment?: string;
632
- hasOppositeMeaning?: boolean;
633
632
  }
634
633
 
635
634
  /**
@@ -851,7 +850,6 @@ interface DocumentTypeConfig {
851
850
  doAutoSplitting?: boolean;
852
851
  autoSplitDistance?: number;
853
852
  useSimilarityModelForExtraction?: boolean;
854
- doContradictionDetection?: boolean;
855
853
  doParagraphMergingForTextFiles?: boolean;
856
854
  }
857
855
 
@@ -877,7 +875,6 @@ interface DocumentType {
877
875
  interface DocumentTypeChange {
878
876
  name?: string;
879
877
  doObjectDetection?: boolean;
880
- doContradictionDetection?: boolean;
881
878
  doSubDocumentSplitting?: boolean;
882
879
  splitModus?: string;
883
880
  splitByType?: string;
@@ -993,7 +990,7 @@ interface ErrorContainer {
993
990
  *
994
991
  * This is a generated file do not change manually!
995
992
  */
996
- declare const ErrorFieldCodeEnumValues: readonly ["BAD_REQUEST", "UNAUTHORIZED", "FORBIDDEN", "NOT_FOUND", "CONFLICT", "CONTENT_TOO_LARGE", "INTERNAL_SERVER_ERROR", "GATEWAY_TIMEOUT", "DOCUMENTTYPE_NOT_FOUND", "DOCUMENTTYPE_NAME_EXISTS", "DOCUMENTTYPE_NOT_EDITABLE", "COMPARE_DOC_IS_EMPTY", "COMPARE_WRONG_LANGUAGE", "COMPARE_NO_REFERENCES", "DOMAIN_NOT_FOUND", "TOO_MANY_TOKENS", "NO_FILE_FOUND", "FILE_TYPE_NOT_SUPPORTED", "FILE_PASSWORDPROTECTED", "MISSING_SERVICE_DEFINITION", "SERVICE_CALL_ERROR", "GENERATIVE_MODEL_ERROR", "USED_AS_LINKED_EXTRACTOR", "CYCLICAL_DEPENDENCY_LINKED_EXTRACTOR", "FILE_TOO_BIG", "TOO_MANY_ROWS", "REGEX_INVALID", "GENERATIVE_MODEL_CONTEXT_EXCEEDED", "PROMPT_NOT_DELETABLE", "JPEG2000_NOT_SUPPORTED", "RESOURCE_NOT_FOUND", "PARENT_RESOURCE_NOT_FOUND", "RESOURCE_PARAMETER_CONSTRAINT_VIOLATION", "PLATFORM_UNREACHABLE", "FILE_SIZE_TOOBIG", "USER_REPOSITORY_NOT_CONFIGURED", "PDF_NOT_CONFIGURED", "INVALID_USER_PASSWORD", "UNKNOWN_FINGERPRINTER_ID", "JSON_ARRAY_EMPTY", "TOKENS_ILLEGAL_TYPE", "NO_JSON", "INVALID_JSON_FORMAT", "JSON_OBJECT_HAS_NO_DOCUMENTS", "DOCUMENTS_ARE_NO_JSON_ARRAY", "DOCUMENTS_JSON_ARRAY_EMPTY", "DOCUMENTS_VALUE_ERROR", "DOCUMENTS_TYPE_ERROR", "DOCUMENTS_TOO_FEW_DOCUMENTS", "REQ_NO_JSON_ARRAY", "SENTENCE_LIST_NOT_TWO", "IMAGE_NOT_PROVIDED", "IMAGE_INVALID_FORMAT", "MODEL_NAME_INVALID", "THRESHOLD_INVALID", "IMAGE_BUFFER_EMPTY", "INVALID_MODEL_ID", "IMAGE_NOT_PROVIDED_IFP", "IMAGE_INVALID_DATA", "IMAGE_INVALID_FORMAT_IFP"];
993
+ declare const ErrorFieldCodeEnumValues: readonly ["BAD_REQUEST", "UNAUTHORIZED", "FORBIDDEN", "NOT_FOUND", "CONFLICT", "CONTENT_TOO_LARGE", "INTERNAL_SERVER_ERROR", "GATEWAY_TIMEOUT", "DOCUMENTTYPE_NOT_FOUND", "DOCUMENTTYPE_NAME_EXISTS", "DOCUMENTTYPE_NOT_EDITABLE", "COMPARE_DOC_IS_EMPTY", "COMPARE_WRONG_LANGUAGE", "COMPARE_NO_REFERENCES", "DOMAIN_NOT_FOUND", "TOO_MANY_TOKENS", "NO_FILE_FOUND", "FILE_TYPE_NOT_SUPPORTED", "FILE_PASSWORDPROTECTED", "MISSING_SERVICE_DEFINITION", "SERVICE_CALL_ERROR", "GENERATIVE_MODEL_ERROR", "USED_AS_LINKED_EXTRACTOR", "CYCLICAL_DEPENDENCY_LINKED_EXTRACTOR", "FILE_TOO_BIG", "TOO_MANY_ROWS", "REGEX_INVALID", "GENERATIVE_MODEL_CONTEXT_EXCEEDED", "PROMPT_NOT_DELETABLE", "JPEG2000_NOT_SUPPORTED", "TRANSLATION_ERROR", "RESOURCE_NOT_FOUND", "PARENT_RESOURCE_NOT_FOUND", "RESOURCE_PARAMETER_CONSTRAINT_VIOLATION", "PLATFORM_UNREACHABLE", "FILE_SIZE_TOOBIG", "USER_REPOSITORY_NOT_CONFIGURED", "PDF_NOT_CONFIGURED", "INVALID_USER_PASSWORD", "UNKNOWN_FINGERPRINTER_ID", "JSON_ARRAY_EMPTY", "TOKENS_ILLEGAL_TYPE", "NO_JSON", "INVALID_JSON_FORMAT", "JSON_OBJECT_HAS_NO_DOCUMENTS", "DOCUMENTS_ARE_NO_JSON_ARRAY", "DOCUMENTS_JSON_ARRAY_EMPTY", "DOCUMENTS_VALUE_ERROR", "DOCUMENTS_TYPE_ERROR", "DOCUMENTS_TOO_FEW_DOCUMENTS", "REQ_NO_JSON_ARRAY", "SENTENCE_LIST_NOT_TWO", "IMAGE_NOT_PROVIDED", "IMAGE_INVALID_FORMAT", "MODEL_NAME_INVALID", "THRESHOLD_INVALID", "IMAGE_BUFFER_EMPTY", "INVALID_MODEL_ID", "IMAGE_NOT_PROVIDED_IFP", "IMAGE_INVALID_DATA", "IMAGE_INVALID_FORMAT_IFP"];
997
994
  type ErrorFieldCodeEnum = (typeof ErrorFieldCodeEnumValues)[number];
998
995
  declare function isErrorFieldCodeEnumValue(value: any): value is ErrorFieldCodeEnum;
999
996
 
@@ -1251,17 +1248,6 @@ declare const MatcherTypeEnumValues: readonly ["REGEX", "ANDREGEX", "ANDNOTREGEX
1251
1248
  type MatcherTypeEnum = (typeof MatcherTypeEnumValues)[number];
1252
1249
  declare function isMatcherTypeEnumValue(value: any): value is MatcherTypeEnum;
1253
1250
 
1254
- /**
1255
- * @author semantha
1256
- *
1257
- * This is a generated file do not change manually!
1258
- */
1259
- interface MatrixRow {
1260
- documentId?: string;
1261
- documentName?: string;
1262
- references?: Reference[];
1263
- }
1264
-
1265
1251
  /**
1266
1252
  * @author semantha
1267
1253
  *
@@ -1855,7 +1841,7 @@ declare class AnswersEndpoint {
1855
1841
  * "ar", "cs", "da", "de", "en", "es", "el", "fr", "fi", "hu", "hr",
1856
1842
  * "it", "ja", "ko", "nl", "no", "pl", "pt", "ro", "ru", "sk", "sl",
1857
1843
  * "sv", "tr", "zh"
1858
- * @param tags string? - List of tags to filter the reference library. You can combine the tags using a comma (OR) and using a plus sign (AND).
1844
+ * @param tags string? - List of tags to filter the reference library. You can combine the tags using a comma (OR) and using a plus sign (AND). Groups (single AND or OR-groups) can be negated using an "!"
1859
1845
  */
1860
1846
  post(data: {
1861
1847
  question?: string;
@@ -3739,107 +3725,6 @@ declare class SettingsEndpoint {
3739
3725
  patch(body: Settings): Promise<Settings>;
3740
3726
  }
3741
3727
 
3742
- /**
3743
- * @author semantha
3744
- *
3745
- * Class to access resource "/api/domains/{domainname}/similaritymatrix/cluster"
3746
- * This is a generated file do not change manually!
3747
- */
3748
- declare class SimilaritymatrixClusterEndpoint {
3749
- private readonly restClient;
3750
- private readonly parentEndpoint;
3751
- private readonly ENDPOINT;
3752
- constructor(restClient: RestClient, parentEndpoint: string);
3753
- /**
3754
- * Get document clustersConsolidate the documents to clusters based on the results of `post post /api/domains/{domainname}/similaritymatrix`
3755
- *
3756
- * @param tags string? - List of tags to filter the reference library. You can combine the tags using a comma (OR) and using a plus sign (AND).
3757
- * @param documentids string[]? - List of document Ids for target. The limit here is 65000 IDs.
3758
- * The IDs are passed as a JSON array.
3759
- * @param documentclassids string[]? - List of documentclass IDs for the target. The limit here is 1000 IDs.
3760
- * The IDs are passed as a JSON array.
3761
- * This does not apply on the GET referencedocuments call. Here the ids are separated with a comma.
3762
- * @param similaritythreshold number? - Threshold for the similarity score. semantha will not deliver results with a sentence score lower than the threshold.
3763
- * In general, the higher the threshold, the more precise the results.
3764
- * @param mode ModeEnum? - When using the references endpoint: Use mode to determine the type of search semantha should perform.
3765
- * fingerprint: semantic search based on sentences;
3766
- * keyword: keyword: search based on sentences;
3767
- * document: a bag-of-words search that ranks a set of documents based on the query terms appearing in each document, regardless of their proximity within the document. Higher scores indicate higher similarity. Please note that the similarity score has no upper limit and is not normalized;
3768
- * document_fingerprint: a bag-of-words search that ranks a set of documents based on the query terms appearing in each document, regardless of their proximity within the document. The results are then reranked based on a semantic search. This reranking results in normalized scores and as such represents an enhancement of the mode document;
3769
- * fingerprint_keyword (formerly auto): semantic search, if no results are found a keyword search is performed
3770
- * Creating document model: It also defines what structure should be considered for what operator (similarity or extraction).
3771
- * @param considertexttype boolean? - Use this parameter to ensure that only paragraphs of the same type are compared with each other. The parameter is of type boolean and is set to false by default.
3772
- */
3773
- post(data: {
3774
- tags?: string;
3775
- documentids?: string[];
3776
- documentclassids?: string[];
3777
- similaritythreshold?: number;
3778
- mode?: ModeEnum;
3779
- considertexttype?: boolean;
3780
- }): Promise<MatrixRow[]>;
3781
- /**
3782
- * Get document clustersConsolidate the documents to clusters based on the results of `post post /api/domains/{domainname}/similaritymatrix`
3783
- *
3784
- * @param body MatrixRow[]? -
3785
- */
3786
- postJson(body?: MatrixRow[]): Promise<MatrixRow[]>;
3787
- }
3788
-
3789
- /**
3790
- * @author semantha
3791
- *
3792
- * Class to access resource "/api/domains/{domainname}/similaritymatrix"
3793
- * This is a generated file do not change manually!
3794
- */
3795
- declare class SimilaritymatrixEndpoint {
3796
- private readonly restClient;
3797
- private readonly parentEndpoint;
3798
- private readonly ENDPOINT;
3799
- constructor(restClient: RestClient, parentEndpoint: string);
3800
- cluster(): SimilaritymatrixClusterEndpoint;
3801
- /**
3802
- * Get a similarity matrix
3803
- *
3804
- * @param file Blob? - Input document (left document).
3805
- * @param tags string? - List of tags to filter the reference library. You can combine the tags using a comma (OR) and using a plus sign (AND).
3806
- * @param sourcetags string? - Filters the input library by tags
3807
- * @param documentids string[]? - List of document Ids for target. The limit here is 65000 IDs.
3808
- * The IDs are passed as a JSON array.
3809
- * @param sourcedocumentids string[]? - List of document IDs for source. The limit here is 65000 IDs.
3810
- * The IDs are passed as a JSON array.
3811
- * @param documentclassids string[]? - List of documentclass IDs for the target. The limit here is 1000 IDs.
3812
- * The IDs are passed as a JSON array.
3813
- * This does not apply on the GET referencedocuments call. Here the ids are separated with a comma.
3814
- * @param sourcedocumentclassids string[]? - List of documentclass IDs for the source. The limit here is 1000 IDs.
3815
- * The IDs are passed as a JSON array.
3816
- * @param similaritythreshold number? - Threshold for the similarity score. semantha will not deliver results with a sentence score lower than the threshold.
3817
- * In general, the higher the threshold, the more precise the results.
3818
- * @param mode ModeEnum? - When using the references endpoint: Use mode to determine the type of search semantha should perform.
3819
- * fingerprint: semantic search based on sentences;
3820
- * keyword: keyword: search based on sentences;
3821
- * document: a bag-of-words search that ranks a set of documents based on the query terms appearing in each document, regardless of their proximity within the document. Higher scores indicate higher similarity. Please note that the similarity score has no upper limit and is not normalized;
3822
- * document_fingerprint: a bag-of-words search that ranks a set of documents based on the query terms appearing in each document, regardless of their proximity within the document. The results are then reranked based on a semantic search. This reranking results in normalized scores and as such represents an enhancement of the mode document;
3823
- * fingerprint_keyword (formerly auto): semantic search, if no results are found a keyword search is performed
3824
- * Creating document model: It also defines what structure should be considered for what operator (similarity or extraction).
3825
- * @param documenttype string? - Specifies the document type that is to be used by semantha when reading the uploaded document.
3826
- * @param considertexttype boolean? - Use this parameter to ensure that only paragraphs of the same type are compared with each other. The parameter is of type boolean and is set to false by default.
3827
- */
3828
- post(data: {
3829
- file?: Blob;
3830
- tags?: string;
3831
- sourcetags?: string;
3832
- documentids?: string[];
3833
- sourcedocumentids?: string[];
3834
- documentclassids?: string[];
3835
- sourcedocumentclassids?: string[];
3836
- similaritythreshold?: number;
3837
- mode?: ModeEnum;
3838
- documenttype?: string;
3839
- considertexttype?: boolean;
3840
- }): Promise<MatrixRow[]>;
3841
- }
3842
-
3843
3728
  /**
3844
3729
  * @author semantha
3845
3730
  *
@@ -4026,7 +3911,6 @@ declare class DomainEndpoint {
4026
3911
  referencedocuments(documentid: string): ReferencedocumentEndpoint;
4027
3912
  references(): ReferencesEndpoint;
4028
3913
  settings(): SettingsEndpoint;
4029
- similaritymatrix(): SimilaritymatrixEndpoint;
4030
3914
  summarizations(): SummarizationsEndpoint;
4031
3915
  tags(): TagsEndpoint;
4032
3916
  tags(tagname: string): TagEndpoint;
@@ -5132,4 +5016,4 @@ declare class SemanthaAPI {
5132
5016
  model(): ModelEndpoint;
5133
5017
  }
5134
5018
 
5135
- 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 ClusteredDocument, type ClusteringResponse, type ClusteringstructureEnum, ClusteringstructureEnumValues, ClustersEndpoint, 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 DocumentCluster, 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, type Matcher, type MatcherTypeEnum, MatcherTypeEnumValues, type MatrixRow, MediaType, type Message, type MessageRoleEnum, MessageRoleEnumValues, type MetaInfoPage, type Metadata, type MetadataValue, type ModeEnum, ModeEnumValues, ModelAttributesEndpoint, ModelBackupsEndpoint, 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 ParagraphUpdate, ParagraphsEndpoint, type PlotlyChart, type ProcessInformation, type Prompt, PromptEndpoint, type PromptExecution, type PromptOverview, type PromptOverviewPromptLabelEnum, PromptOverviewPromptLabelEnumValues, type PromptPromptLabelEnum, PromptPromptLabelEnumValues, type PromptResponse, PromptsEndpoint, type Range, type RangeEnum, RangeEnumValues, type Rect, type Reference, type ReferenceDocumentsResponseContainer, ReferencedocumentEndpoint, ReferencedocumentsEndpoint, 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 SemiSuperVisedDocument, type Sentence, SentenceEndpoint, SentencesEndpoint, type Settings, type SettingsDefaultSimilarityModeEnum, SettingsDefaultSimilarityModeEnumValues, SettingsEndpoint, type SettingsExtractionStrategyEnum, SettingsExtractionStrategyEnumValues, type SettingsTaggingStrategyEnum, SettingsTaggingStrategyEnumValues, SimilaritymatrixClusterEndpoint, SimilaritymatrixEndpoint, type SimpleProperty, type SmartClusterResponseContainer, type SmartClusterSemiSupervisedRequest, type SmartClusterSemiSupervisedRequestClusteringStructureEnum, SmartClusterSemiSupervisedRequestClusteringStructureEnumValues, type SmartClusterSemiSupervisedRequestTopicOverTimeRangeEnum, SmartClusterSemiSupervisedRequestTopicOverTimeRangeEnumValues, type SourceDocument, 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 TransactionSummary, TransactionsEndpoint, type TypeEnum, TypeEnumValues, ValidationEndpoint, type Version, isAttributeDatatypeEnumValue, isAttributeOverviewDatatypeEnumValue, isClassBulkDatatypeEnumValue, isClusteringstructureEnumValue, isDifferenceOperationEnumValue, isDocumentmodeEnumValue, isErrorFieldCodeEnumValue, isExtractorAttributeDatatypeEnumValue, isExtractorTypeEnumValue, isFieldTypeEnumValue, isMatcherTypeEnumValue, isMessageRoleEnumValue, isModeEnumValue, isPromptOverviewPromptLabelEnumValue, isPromptPromptLabelEnumValue, isRangeEnumValue, isRuleFunctionTypeEnumValue, isSettingsDefaultSimilarityModeEnumValue, isSettingsExtractionStrategyEnumValue, isSettingsTaggingStrategyEnumValue, isSmartClusterSemiSupervisedRequestClusteringStructureEnumValue, isSmartClusterSemiSupervisedRequestTopicOverTimeRangeEnumValue, isSummarylengthEnumValue, isTypeEnumValue };
5019
+ 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 ClusteredDocument, type ClusteringResponse, type ClusteringstructureEnum, ClusteringstructureEnumValues, ClustersEndpoint, 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 DocumentCluster, 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, type Matcher, type MatcherTypeEnum, MatcherTypeEnumValues, MediaType, type Message, type MessageRoleEnum, MessageRoleEnumValues, type MetaInfoPage, type Metadata, type MetadataValue, type ModeEnum, ModeEnumValues, ModelAttributesEndpoint, ModelBackupsEndpoint, 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 ParagraphUpdate, ParagraphsEndpoint, type PlotlyChart, type ProcessInformation, type Prompt, PromptEndpoint, type PromptExecution, type PromptOverview, type PromptOverviewPromptLabelEnum, PromptOverviewPromptLabelEnumValues, type PromptPromptLabelEnum, PromptPromptLabelEnumValues, type PromptResponse, PromptsEndpoint, type Range, type RangeEnum, RangeEnumValues, type Rect, type Reference, type ReferenceDocumentsResponseContainer, ReferencedocumentEndpoint, ReferencedocumentsEndpoint, 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 SemiSuperVisedDocument, type Sentence, SentenceEndpoint, SentencesEndpoint, type Settings, type SettingsDefaultSimilarityModeEnum, SettingsDefaultSimilarityModeEnumValues, SettingsEndpoint, type SettingsExtractionStrategyEnum, SettingsExtractionStrategyEnumValues, type SettingsTaggingStrategyEnum, SettingsTaggingStrategyEnumValues, type SimpleProperty, type SmartClusterResponseContainer, type SmartClusterSemiSupervisedRequest, type SmartClusterSemiSupervisedRequestClusteringStructureEnum, SmartClusterSemiSupervisedRequestClusteringStructureEnumValues, type SmartClusterSemiSupervisedRequestTopicOverTimeRangeEnum, SmartClusterSemiSupervisedRequestTopicOverTimeRangeEnumValues, type SourceDocument, 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 TransactionSummary, TransactionsEndpoint, type TypeEnum, TypeEnumValues, ValidationEndpoint, type Version, isAttributeDatatypeEnumValue, isAttributeOverviewDatatypeEnumValue, isClassBulkDatatypeEnumValue, isClusteringstructureEnumValue, isDifferenceOperationEnumValue, isDocumentmodeEnumValue, isErrorFieldCodeEnumValue, isExtractorAttributeDatatypeEnumValue, isExtractorTypeEnumValue, isFieldTypeEnumValue, isMatcherTypeEnumValue, isMessageRoleEnumValue, isModeEnumValue, isPromptOverviewPromptLabelEnumValue, isPromptPromptLabelEnumValue, isRangeEnumValue, isRuleFunctionTypeEnumValue, isSettingsDefaultSimilarityModeEnumValue, isSettingsExtractionStrategyEnumValue, isSettingsTaggingStrategyEnumValue, isSmartClusterSemiSupervisedRequestClusteringStructureEnumValue, isSmartClusterSemiSupervisedRequestTopicOverTimeRangeEnumValue, isSummarylengthEnumValue, isTypeEnumValue };