@semantha/sdk 11.8.1 → 11.9.1

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.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[];
@@ -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,35 +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 StopWord {
1716
- word: string;
1717
- id?: string;
1718
- standard?: boolean;
1719
- }
1720
-
1721
- /**
1722
- * @author semantha
1723
- *
1724
- * This is a generated file do not change manually!
1725
- */
1726
- interface Summarization {
1727
- summary?: string;
1728
- }
1729
-
1730
- /**
1731
- * @author semantha
1732
- *
1733
- * This is a generated file do not change manually!
1734
- */
1735
- declare const SummarylengthEnumValues: readonly ["SHORT", "MEDIUM", "LONG"];
1736
- type SummarylengthEnum = (typeof SummarylengthEnumValues)[number];
1737
- declare function isSummarylengthEnumValue(value: any): value is SummarylengthEnum;
1738
-
1739
1705
  /**
1740
1706
  * @author semantha
1741
1707
  *
@@ -1801,6 +1767,27 @@ declare class RestResponse<T> {
1801
1767
  getStatusCode(): Promise<number>;
1802
1768
  getStatusText(): Promise<string>;
1803
1769
  }
1770
+ /**
1771
+ * A single Server-Sent Event as emitted by a `text/event-stream` response,
1772
+ * parsed according to the WHATWG event stream format.
1773
+ */
1774
+ declare class ServerSentEvent {
1775
+ readonly event: string | undefined;
1776
+ readonly data: string;
1777
+ readonly id?: string | undefined;
1778
+ readonly retry?: number | undefined;
1779
+ constructor(event: string | undefined, data: string, id?: string | undefined, retry?: number | undefined);
1780
+ /**
1781
+ * The `data` payload parsed as JSON.
1782
+ */
1783
+ json<T = unknown>(): T;
1784
+ }
1785
+ /**
1786
+ * Turns the raw byte stream of a `text/event-stream` response into an async
1787
+ * iterable of {@link ServerSentEvent}s, yielding each event as soon as it has
1788
+ * been fully received.
1789
+ */
1790
+ declare function parseServerSentEvents(body: ReadableStream<Uint8Array>): AsyncIterable<ServerSentEvent>;
1804
1791
 
1805
1792
  declare enum MediaType {
1806
1793
  JSON = "application/json",
@@ -1811,7 +1798,8 @@ declare enum MediaType {
1811
1798
  REQIFZ = "application/reqifz",
1812
1799
  PNG = "image/png",
1813
1800
  BINARY = "application/octet-stream",
1814
- TEXT_PLAIN = "text/plain"
1801
+ TEXT_PLAIN = "text/plain",
1802
+ EVENT_STREAM = "text/event-stream"
1815
1803
  }
1816
1804
  declare class RestClient {
1817
1805
  private readonly serverUrl;
@@ -1839,6 +1827,12 @@ declare class RestClient {
1839
1827
  post<R>(url: string, params?: any, headers?: {
1840
1828
  [key: string]: string;
1841
1829
  }, data?: any, responseType?: ResponseType): Promise<RestResponse<R>>;
1830
+ postEventStream(url: string, params?: {
1831
+ [key: string]: any;
1832
+ }, headers?: {
1833
+ [key: string]: string;
1834
+ }, data?: any, signal?: AbortSignal): Promise<AsyncIterable<ServerSentEvent>>;
1835
+ private toQueryString;
1842
1836
  delete(url: string, data?: any, params?: any, headers?: {
1843
1837
  [key: string]: string;
1844
1838
  }): Promise<RestResponse<void>>;
@@ -1906,19 +1900,6 @@ declare class BulkDomainsEndpoint {
1906
1900
  constructor(restClient: RestClient, parentEndpoint: string);
1907
1901
  }
1908
1902
 
1909
- /**
1910
- * @author semantha
1911
- *
1912
- * Class to access resource "/api/bulk/model/domains/{domainname}/boostwords"
1913
- * This is a generated file do not change manually!
1914
- */
1915
- declare class BulkmodelBoostwordsEndpoint {
1916
- private readonly restClient;
1917
- private readonly parentEndpoint;
1918
- private readonly ENDPOINT;
1919
- constructor(restClient: RestClient, parentEndpoint: string);
1920
- }
1921
-
1922
1903
  /**
1923
1904
  * @author semantha
1924
1905
  *
@@ -2097,25 +2078,6 @@ declare class BulkmodelRulesEndpoint {
2097
2078
  post(body?: Rule[]): Promise<void>;
2098
2079
  }
2099
2080
 
2100
- /**
2101
- * @author semantha
2102
- *
2103
- * Class to access resource "/api/bulk/model/domains/{domainname}/stopwords"
2104
- * This is a generated file do not change manually!
2105
- */
2106
- declare class BulkmodelStopwordsEndpoint {
2107
- private readonly restClient;
2108
- private readonly parentEndpoint;
2109
- private readonly ENDPOINT;
2110
- constructor(restClient: RestClient, parentEndpoint: string);
2111
- /**
2112
- * Add a list of stop words to your domain
2113
- *
2114
- * @param body StopWord[]? -
2115
- */
2116
- post(body?: StopWord[]): Promise<void>;
2117
- }
2118
-
2119
2081
  /**
2120
2082
  * @author semantha
2121
2083
  *
@@ -2148,7 +2110,6 @@ declare class BulkmodelDomainEndpoint {
2148
2110
  private readonly domainname;
2149
2111
  private readonly ENDPOINT;
2150
2112
  constructor(restClient: RestClient, parentEndpoint: string, domainname: string);
2151
- boostwords(): BulkmodelBoostwordsEndpoint;
2152
2113
  classes(): BulkmodelClassesEndpoint;
2153
2114
  classes(classid: string): BulkmodelClassEndpoint;
2154
2115
  dataproperties(): BulkmodelDatapropertiesEndpoint;
@@ -2156,7 +2117,6 @@ declare class BulkmodelDomainEndpoint {
2156
2117
  metadata(): BulkmodelMetadataEndpoint;
2157
2118
  namedentities(): BulkmodelNamedentitiesEndpoint;
2158
2119
  rules(): BulkmodelRulesEndpoint;
2159
- stopwords(): BulkmodelStopwordsEndpoint;
2160
2120
  synonyms(): BulkmodelSynonymsEndpoint;
2161
2121
  }
2162
2122
 
@@ -2397,6 +2357,15 @@ declare class SseEndpoint {
2397
2357
  private readonly parentEndpoint;
2398
2358
  private readonly ENDPOINT;
2399
2359
  constructor(restClient: RestClient, parentEndpoint: string);
2360
+ /**
2361
+ * Stream a chat response via Server-Sent Events
2362
+ * Streaming variant of the chat endpoint with identical semantics (same {id} prompt-variant selection, request body, and Polarion header credentials). The response is a text/event-stream: an 'event: delta' per output-text chunk (data: {"content":"..."}), a terminal 'event: done' carrying the conversationId (data: {"conversationId":"..."}), and 'event: error' (data: {"message":"..."}) if generation fails after the stream has started. Requires a generative model that supports streaming (the stateful Responses backend).
2363
+ *
2364
+ * @param body Chat? -
2365
+ * @param xPolarionAccessToken string? - Polarion personal access token; must be provided together with the base url header. Takes precedence over the deprecated ChatDTO body fields.
2366
+ * @param xPolarionBaseUrl string? - Base url of the Polarion instance to validate the token against.
2367
+ */
2368
+ postAsEventStream(body?: Chat, xPolarionAccessToken?: string, xPolarionBaseUrl?: string): Promise<AsyncIterable<ServerSentEvent>>;
2400
2369
  }
2401
2370
 
2402
2371
  /**
@@ -3952,41 +3921,6 @@ declare class SettingsEndpoint {
3952
3921
  patch(body: Settings): Promise<Settings>;
3953
3922
  }
3954
3923
 
3955
- /**
3956
- * @author semantha
3957
- *
3958
- * Class to access resource "/api/domains/{domainname}/summarizations"
3959
- * This is a generated file do not change manually!
3960
- */
3961
- declare class SummarizationsEndpoint {
3962
- private readonly restClient;
3963
- private readonly parentEndpoint;
3964
- private readonly ENDPOINT;
3965
- constructor(restClient: RestClient, parentEndpoint: string);
3966
- /**
3967
- * Generates a summary for given number of texts. If topic is supplied summarization is generated for this topic
3968
- *
3969
- * @param texts string[]? - List of texts which are summarized.
3970
- * @param topic string? - Set the topic which is used to summarize the given texts.
3971
- * @param language string? - Change the language of the summary text, if not set the language of the domain is used.
3972
- * Supported Languages:
3973
- * "ar", "cs", "da", "de", "en", "es", "el", "fr", "fi", "hu", "hr",
3974
- * "it", "ja", "ko", "nl", "no", "pl", "pt", "ro", "ru", "sk", "sl",
3975
- * "sv", "tr", "zh"
3976
- * @param temperature number? - Temperature regulates the unpredictability of a language model's output. With higher temperature settings, outputs become more creative and less predictable.
3977
- * @param summarylength SummarylengthEnum? - Influences the length of the returned summary. Values are 'SHORT, 'MEDIUM', 'LONG'
3978
- * @param promptid string? - Id of the prompt to generate a summary, other parameters are ignored.
3979
- */
3980
- post(data: {
3981
- texts?: string[];
3982
- topic?: string;
3983
- language?: string;
3984
- temperature?: number;
3985
- summarylength?: SummarylengthEnum;
3986
- promptid?: string;
3987
- }): Promise<Summarization>;
3988
- }
3989
-
3990
3924
  /**
3991
3925
  * @author semantha
3992
3926
  *
@@ -4140,7 +4074,6 @@ declare class DomainEndpoint {
4140
4074
  referencedocuments(documentid: string): ReferencedocumentEndpoint;
4141
4075
  references(): ReferencesEndpoint;
4142
4076
  settings(): SettingsEndpoint;
4143
- summarizations(): SummarizationsEndpoint;
4144
4077
  tags(): TagsEndpoint;
4145
4078
  tags(tagname: string): TagEndpoint;
4146
4079
  texttypes(): TexttypesEndpoint;
@@ -4247,33 +4180,6 @@ declare class ModelAttributesEndpoint {
4247
4180
  get(): Promise<AttributeOverview[]>;
4248
4181
  }
4249
4182
 
4250
- /**
4251
- * @author semantha
4252
- *
4253
- * Class to access resource "/api/model/domains/{domainname}/boostwords/{id}"
4254
- * This is a generated file do not change manually!
4255
- */
4256
- declare class ModelBoostwordEndpoint {
4257
- private readonly restClient;
4258
- private readonly parentEndpoint;
4259
- private readonly id;
4260
- private readonly ENDPOINT;
4261
- constructor(restClient: RestClient, parentEndpoint: string, id: string);
4262
- }
4263
-
4264
- /**
4265
- * @author semantha
4266
- *
4267
- * Class to access resource "/api/model/domains/{domainname}/boostwords"
4268
- * This is a generated file do not change manually!
4269
- */
4270
- declare class ModelBoostwordsEndpoint {
4271
- private readonly restClient;
4272
- private readonly parentEndpoint;
4273
- private readonly ENDPOINT;
4274
- constructor(restClient: RestClient, parentEndpoint: string);
4275
- }
4276
-
4277
4183
  /**
4278
4184
  * @author semantha
4279
4185
  *
@@ -4732,65 +4638,6 @@ declare class ModelRulesEndpoint {
4732
4638
  post(body?: Rule): Promise<Rule>;
4733
4639
  }
4734
4640
 
4735
- /**
4736
- * @author semantha
4737
- *
4738
- * Class to access resource "/api/model/domains/{domainname}/stopwords/{id}"
4739
- * This is a generated file do not change manually!
4740
- */
4741
- declare class ModelStopwordEndpoint {
4742
- private readonly restClient;
4743
- private readonly parentEndpoint;
4744
- private readonly id;
4745
- private readonly ENDPOINT;
4746
- constructor(restClient: RestClient, parentEndpoint: string, id: string);
4747
- /**
4748
- * Get a stop word by id
4749
- */
4750
- get(): Promise<StopWord>;
4751
- /**
4752
- * Delete a stop word by id
4753
- */
4754
- delete(): Promise<RestResponse<void>>;
4755
- /**
4756
- * Update a stop word by id
4757
- *
4758
- * @param body StopWord -
4759
- */
4760
- put(body: StopWord): Promise<StopWord>;
4761
- }
4762
-
4763
- /**
4764
- * @author semantha
4765
- *
4766
- * Class to access resource "/api/model/domains/{domainname}/stopwords"
4767
- * This is a generated file do not change manually!
4768
- */
4769
- declare class ModelStopwordsEndpoint {
4770
- private readonly restClient;
4771
- private readonly parentEndpoint;
4772
- private readonly ENDPOINT;
4773
- constructor(restClient: RestClient, parentEndpoint: string);
4774
- /**
4775
- * Get all stop words
4776
- */
4777
- get(): Promise<StopWord[]>;
4778
- /**
4779
- * Delete all stop words
4780
- *
4781
- * @param params.restorestandardstopwords boolean? -
4782
- */
4783
- delete(params?: {
4784
- restorestandardstopwords?: boolean;
4785
- }): Promise<RestResponse<void>>;
4786
- /**
4787
- * Create a stop word
4788
- *
4789
- * @param body StopWord? -
4790
- */
4791
- post(body?: StopWord): Promise<StopWord>;
4792
- }
4793
-
4794
4641
  /**
4795
4642
  * @author semantha
4796
4643
  *
@@ -5040,8 +4887,6 @@ declare class ModelDomainEndpoint {
5040
4887
  private readonly ENDPOINT;
5041
4888
  constructor(restClient: RestClient, parentEndpoint: string, domainname: string);
5042
4889
  attributes(): ModelAttributesEndpoint;
5043
- boostwords(): ModelBoostwordsEndpoint;
5044
- boostwords(id: string): ModelBoostwordEndpoint;
5045
4890
  classes(): ModelontClassesEndpoint;
5046
4891
  classes(classid: string): ModelontClassEndpoint;
5047
4892
  dataproperties(): ModelDatapropertiesEndpoint;
@@ -5064,8 +4909,6 @@ declare class ModelDomainEndpoint {
5064
4909
  rulefunctions(): ModelRulefunctionsEndpoint;
5065
4910
  rules(): ModelRulesEndpoint;
5066
4911
  rules(id: string): ModelRuleEndpoint;
5067
- stopwords(): ModelStopwordsEndpoint;
5068
- stopwords(id: string): ModelStopwordEndpoint;
5069
4912
  synonyms(): ModelSynonymsEndpoint;
5070
4913
  synonyms(id: string): ModelSynonymEndpoint;
5071
4914
  /**
@@ -5212,4 +5055,4 @@ declare class SemanthaAPI {
5212
5055
  model(): ModelEndpoint;
5213
5056
  }
5214
5057
 
5215
- export { type AnnotationCell, type AnnotationPage, type Answer, type AnswerReference, AnswersEndpoint, type Area, type Argument, type Attachment, type Attribute, type AttributeDatatypeEnum, AttributeDatatypeEnumValues, type AttributeOverview, type AttributeOverviewDatatypeEnum, AttributeOverviewDatatypeEnumValues, BulkDomainsEndpoint, BulkEndpoint, BulkModelEndpoint, BulkdomainsDocumentclassesEndpoint, BulkdomainsDocumenttypesEndpoint, BulkdomainsDomainEndpoint, BulkdomainsReferencedocumentsEndpoint, BulkdomainsReferencesEndpoint, BulkmodelBoostwordsEndpoint, BulkmodelClassEndpoint, BulkmodelClassesEndpoint, BulkmodelDatapropertiesEndpoint, BulkmodelDomainEndpoint, BulkmodelDomainsEndpoint, BulkmodelInstancesEndpoint, BulkmodelMetadataEndpoint, BulkmodelNamedentitiesEndpoint, BulkmodelRulesEndpoint, BulkmodelStopwordsEndpoint, BulkmodelSynonymsEndpoint, BulkmodelclassInstancesEndpoint, type CellType, CelltypesEndpoint, type Char, type Chat, type ChatConversation, ChatEndpoint, type ChatResponse, ChatsEndpoint, ChildExtractorclassesEndpoint, type Class, type ClassBulk, type ClassBulkDatatypeEnum, ClassBulkDatatypeEnumValues, type ClassesOverview, CloneEndpoint, type ComplexProperty, type Condition, type ConditionValue, ConversationEndpoint, ConversationsEndpoint, ConversionsEndpoint, type CurrentUser, CurrentuserEndpoint, type CustomField, type DataProperty, DiffEndpoint, type Difference, type DifferenceOperationEnum, DifferenceOperationEnumValues, type Distance, DocclassCustomfieldsEndpoint, DocclassDocumentclassesEndpoint, DocclassReferencedocumentsEndpoint, DocclassTagsEndpoint, type Document, type DocumentClass, type DocumentClassBulk, type DocumentClassNode, type DocumentInformation, type DocumentMetaData, type DocumentNamedEntity, type DocumentTable, type DocumentType, type DocumentTypeChange, type DocumentTypeConfig, DocumentannotationsEndpoint, DocumentclassEndpoint, DocumentclassesEndpoint, type DocumentmodeEnum, DocumentmodeEnumValues, DocumentsEndpoint, DocumenttypeEndpoint, DocumenttypesEndpoint, type Domain, DomainEndpoint, type DomainInfo, DomainsEndpoint, type Entity, type ErrorContainer, type ErrorField, type ErrorFieldCodeEnum, ErrorFieldCodeEnumValues, type Expression, type ExtractionArea, type ExtractionFile, type ExtractionReference, type Extractor, type ExtractorAttribute, type ExtractorAttributeDatatypeEnum, ExtractorAttributeDatatypeEnumValues, type ExtractorClass, type ExtractorClassOverview, type ExtractorTypeEnum, ExtractorTypeEnumValues, type Features, type Field, type FieldTypeEnum, FieldTypeEnumValues, type FileReference, type Finding, type FormatInformation, type Formatter, ImageEndpoint, ImagesEndpoint, type Info, InfoEndpoint, type Instance, type InstanceChild, type InstanceOverview, type Label, type LanguageDetection, LanguagesEndpoint, type Link, type LinkedInstance, type LinkedValue, MarkdownEndpoint, type Matcher, type MatcherTypeEnum, MatcherTypeEnumValues, type McpServerRequest, type McpToolDescriptor, type McpToolDescriptorAuthEnum, McpToolDescriptorAuthEnumValues, McptoolsEndpoint, MediaType, type Message, type MessageResponse, type MessageResponseRoleEnum, MessageResponseRoleEnumValues, type MessageRoleEnum, MessageRoleEnumValues, type MetaInfoPage, type Metadata, type MetadataValue, type ModeEnum, ModeEnumValues, ModelAttributesEndpoint, ModelBoostwordEndpoint, ModelBoostwordsEndpoint, type ModelClass, ModelDatapropertiesEndpoint, ModelDatapropertyEndpoint, ModelDatatypesEndpoint, ModelDomainEndpoint, ModelDomainsEndpoint, ModelEndpoint, ModelExtractorclassEndpoint, ModelExtractorclassesEndpoint, ModelExtractorsEndpoint, ModelExtractortypesEndpoint, ModelFormattersEndpoint, type ModelInstance, type ModelMetadata, ModelMetadataEndpoint, ModelMetadatatypesEndpoint, ModelNamedentitiesEndpoint, ModelNamedentityEndpoint, ModelObjectpropertiesEndpoint, ModelOnemetadataEndpoint, ModelRegexEndpoint, ModelRegexesEndpoint, ModelRelationEndpoint, ModelRelationsEndpoint, ModelRuleEndpoint, ModelRulefunctionsEndpoint, ModelRulesEndpoint, ModelStopwordEndpoint, ModelStopwordsEndpoint, ModelSynonymEndpoint, ModelSynonymsEndpoint, ModelclassesEndpoint, ModelinstancesEndpoint, ModelontAttributeEndpoint, ModelontAttributesEndpoint, ModelontClassEndpoint, ModelontClassesEndpoint, ModelontInstanceEndpoint, ModelontInstancesEndpoint, ModelontclassInstancesEndpoint, type Name, type NamedEntity, NamedentitiesEndpoint, type Overview, type Page, type PageContent, type Paragraph, ParagraphEndpoint, type ParagraphPreview, type ParagraphUpdate, ParagraphsEndpoint, type ProcessInformation, type Prompt, PromptEndpoint, type PromptExecution, type PromptLabelEnum, PromptLabelEnumValues, type PromptOverview, type PromptOverviewPromptLabelEnum, PromptOverviewPromptLabelEnumValues, type PromptPromptLabelEnum, PromptPromptLabelEnumValues, type PromptResponse, PromptValidationEndpoint, type PromptValidationRequest, type PromptValidationResponse, type PromptValidationResult, type PromptValidationTemplate, PromptsEndpoint, type Range, type Rect, type Reference, type ReferenceDocumentsResponseContainer, ReferencedocumentEndpoint, ReferencedocumentsEndpoint, ReferencedocumentsStreamEndpoint, ReferencesEndpoint, type Regex, type Relation, type RelationCondition, type ResponseMetaInfo, RestClient, RestResponse, RolesEndpoint, type Row, type Rule, type RuleFunction, type RuleFunctionTypeEnum, RuleFunctionTypeEnumValues, type RuleOverview, SemanthaAPI, type SemanticModel, type Sentence, SentenceEndpoint, SentencesEndpoint, type Settings, type SettingsDefaultSimilarityModeEnum, SettingsDefaultSimilarityModeEnumValues, SettingsEndpoint, type SettingsExtractionStrategyEnum, SettingsExtractionStrategyEnumValues, type SettingsTaggingStrategyEnum, SettingsTaggingStrategyEnumValues, type SimpleProperty, SseEndpoint, type Statistic, StatisticEndpoint, type StopWord, type Summarization, SummarizationsEndpoint, type SummarylengthEnum, SummarylengthEnumValues, type Synonym, type TableCell, type TableInstance, type TagDocs, TagEndpoint, TagReferencedocumentsEndpoint, TagsEndpoint, type TextType, TexttypesEndpoint, type Translation, type TranslationResponse, TranslationsEndpoint, TreeEndpoint, type TypeEnum, TypeEnumValues, ValidationEndpoint, type Version, isAttributeDatatypeEnumValue, isAttributeOverviewDatatypeEnumValue, isClassBulkDatatypeEnumValue, isDifferenceOperationEnumValue, isDocumentmodeEnumValue, isErrorFieldCodeEnumValue, isExtractorAttributeDatatypeEnumValue, isExtractorTypeEnumValue, isFieldTypeEnumValue, isMatcherTypeEnumValue, isMcpToolDescriptorAuthEnumValue, isMessageResponseRoleEnumValue, isMessageRoleEnumValue, isModeEnumValue, isPromptLabelEnumValue, isPromptOverviewPromptLabelEnumValue, isPromptPromptLabelEnumValue, isRuleFunctionTypeEnumValue, isSettingsDefaultSimilarityModeEnumValue, isSettingsExtractionStrategyEnumValue, isSettingsTaggingStrategyEnumValue, isSummarylengthEnumValue, isTypeEnumValue };
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 };