Skip to main content

This is a python client sdk for accessing semantha (the semantic platform)

Project description

💜 semantha SDK

The semantha SDK is a high-level REST client to access the semantha API. The SDK is updated in parallel to each new version of semantha (typically every 2 weeks). Use the same SDK version as your semantha server version. An overview of the currently supported endpoints may be found at the end of this document (see section "State of Development"). The semantha SDK is compatible with python >= 3.10.

🔬 Design guideline/idea

Every api call can easily be translated into a python sdk call where the HTTP method becomes the last method:

  • GET /api/info -> api.info.get()

Parameters in the URL become method parameters:

  • POST /api/domains/<your_domain>/referencedocuments -> api.domains("<your_domain>").referencedocuments.post(file=somefile)

The SDK offers type hints and doc strings for services, parameters, input types and return types within your IDE.

📝 Changelog

See list of changes below.

🚀 Quickstart

  1. If you have access to semantha you can create your own login credentials: As a domain administrator go to "Administration" App -> then select "Client Administration" in the upper dropdown. Here you can add a new "client" by clicking "+ Add new". Configure "Domain Access", "App Access" (not used so far) and Roles. Click "Add" and download the credentials.properties file via the action menu. You can use this properties file to login with the SDK. See an example below.
  2. In case you are not a semantha user already you can request a demo access to semantha's API via this contact form.

Authentication with client credentials.properties file

import semantha_sdk
# file name has to end with '.properties'!
api = semantha_sdk.login(key_file="credentials.properties")
print("Talking to semantha server: " + api.info.get().version)

Alternatively you can set the 4 parameters: server_url, client_id, client_secret and token_url with the values from your credentials.properties files.

import semantha_sdk
api = semantha_sdk.login(server_url="<semantha server URL>", client_id="<id>", client_secret="<secret>", token_url="<url>")
print("Talking to semantha server: " + api.info.get().version)

Old: Authentication with API key

import semantha_sdk
api = semantha_sdk.login(server_url="<semantha server URL>", key="<your key>")
print("Talking to semantha server: " + api.info.get().version)

Old: Authentication with json key file

import semantha_sdk
#file name has to end with '.json'!
api = semantha_sdk.login(server_url="<semantha server URL>", key_file="<path to your key file (json format)>")
# end-points (resp. resources) can be used like objects
my_domain = api.domains("my_domain")
# they may have sub-resources, which can be retrieved as objects as well
reference_documents = my_domain.referencedocuments
# GET all reference documents
print("Library contains "+ len(reference_documents.get()) + " entries")

Example key file in json format:

{ "API_Key" : "<your key>",
  "server_url": "<your serverurl>" }

CRUD on End-points

# CRUD operations are functions
domain_settings = my_domain.settings.get()
#Warning: this deletes ALL reference documents/library entries
my_domain.referencedocuments.delete() 

Function Return Types & semantha Data Model

# some functions only return None, e.g.
my_domain.referencedocuments.delete() # returns NoneType

# others return built in types, e.g
roles_list = currentuser.roles.get() # returns List[str]

# but most return objects of the semantha Data Model
# (all returned objects are instances of frozen dataclasses)
settings = my_domain.settings.get() # returns instance of Settings
# attributes can be accessed as properties, e.g.
settings.enable_tagging # returns true or false
# Data Model objects may be complex
document = my_domain.references.post(file=a, referencedocument=b) # returns instance of Document
# the following returns the similarity value of the first references of the first sentence of the
# the first paragraph on the first page of the document (if a reference was found for this sentence)
similarity = pages[0].contents[0].paragraphs[0].references[0].similarity # returns float

Getting an annotated pdf and saving it locally

import semantha_sdk
api = semantha_sdk.login(server_url="<semantha server URL>", key="<your key>")
domain = "<your domain>"
pdf = open('<your_file>.pdf', 'rb')
annotated_pdf = api.domains(domain).documentannotations.post_as_pdf(file=pdf, similaritythreshold=0.85)
with open('annotated.pdf', 'wb') as annotated_file:
    annotated_file.write(annotated_pdf.getbuffer())

Changelog for the Python SDK for the semantha platform

[9.0.0] 2025-06-17

Added

  • New endpoint to initiate a chat with a GenAI service: /domains/{domainname}/chats/{id} (POST)

[8.12.0] 2025-05-14

Added

  • New endpoint to get and change domain-specific text types: /domains/{domainname}/texttypes (GET/PATCH)

[8.10.0] 2025-04-23

Added

  • New parameter: icon_name for prompts endpoint.
  • New parameter withreferenceimage for: /bulk/domains/{domainname}/references
  • New endpoint to convert a Microsoft document (docx, pptx, xlsx) to PDF: /conversions (POST)

Removed

  • Parameter: similarity_calculator has been removed from /domains/{domainname}/settings

[8.9.0] 2025-04-02

Added

  • New endpoint to retrieve images of a document in library: /domains/{domainname}/referencedocuments/{documentid}/images/{imageid}
  • New query parameter addsourcedocument for: /domains/{domainname}/referencedocuments
  • New output parameter: was_chunked for answers and summarizations endpoints.

[8.8.1] 2025-03-19

Fixed

  • fixed a bug which prevented dependencies from being correctly resolved (in version 8.8.0 only)

[8.8.0] 2025-03-12

Changed

  • Error response is now specified: error_container.py, error_field.py, error_field_code_enum.py

Added

  • New parameter addsourcedocument for: /domains/{domainname}/referencedocuments
  • New parameter withreferenceimage for: /domains/{domainname}/references

Removed

  • Parameters s and u have been removed from /domains/{domainname}/summarizations

[8.6.0] 2025-02-04

Changed

  • Removed dependency to numpy

Added

  • Added top_k parameter to execution of prompts.

[8.5.1] 2025-01-22

Changed

  • Return type of POST /domains/{domainname}/prompts/{id} is json object now

[8.5.0] 2025-01-22

Changed

  • dropped support for Python 3.8 and 3.9

Removed

  • removed library_as_dataframe function in use case SDK

Added

  • new entity: Prompt with 6 CRUD services and an execution endpoint.
  • new service to return (parts) of pdf page as png image: /domains/{domainname}/documents with accept header: image/png
  • new field in Document and Documentinformation: "attachments", information about embedded files within a document
  • new field in Document and Documentinformation: "mime_type"

[8.3.0] 2024-11-28

Added

  • new parameter tags for endpoint: /domains/{domainname}/answers which filters the library.
  • new parameter maxanswerreferences for endpoint: /domains/{domainname}/answers limits the number of references sent to a GenAI service.

[8.2.0] 2024-11-14

Added

  • new endpoint /domains/{domainname}/documentclasses/{id}/referencedocuments/tags.

[8.1.0] 2024-10-30

Added

  • new field in Settings: "enable_paragraph_length_comparison".

[8.0.0] 2024-10-16

Added

  • new field in CellType: "hidden".
  • new field in DocumentTypeChange: "viewport" and "ignoredPages".

[7.13.0] 2024-10-02

Added

  • support for enums as part of objects in request/response.
  • new field in document_type
  • new field in settings

[7.11.0] 2024-09-09

Added

  • support for reqifz as output document format.

[7.10.0] 2024-08-28

Added

  • New parameters for /api/domains/{domainname}/documents endpoint: 'withformatinfo'. Enable return of aggregated formatting information of paragraphs.

[7.9.0] 2024-08-09

no changes

[7.8.0] 2024-07-24

Added

  • New parameters for /api/domains/{domainname}/documents endpoint: 'withcharacters' and 'withsentences'. Enable/disable character and sentence data in the response.

[7.5.0] 2024-06-13

Added

  • New field in domain settings: max_number_of_rows.

[7.3.0] 2024-05-17

Added

  • New field in domain settings.

[7.1.1] 2024-04-26

Fixed

  • wrong POST of IOBase in body.

[7.1.0] 2024-04-23

Added

  • Client for accessing "Administration Product" where you can create an export/import of the content of domain.

Fixed

  • Fixed a bug where list of strings as an input parameter was not serialized properly.

[7.0.0] 2024-04-09

  • no changes

[6.11.1] 2024-03-27

Improved

  • Better handling of circular imports.

[6.11.0] 2024-03-20

Added

  • SDK supports enum input parameter now.
  • Added summarylength parameter to /api/domains/{domainname}/summarizations endpoint.

Improved

  • Error message for bad requests on value errors contain a detailed explanation of what went wrong now.

[6.10.0] 2024-03-07

Added

  • Added temperature parameter to /api/domains/{domainname}/summarizations endpoint.

Improved

  • More method and parameter comments

[6.9.0] 2024-02-23

Added

Added implementation method "post_json" for "overloaded" services where we have content type multipart/form-data as well as application/json:

  • /bulk/domains/{domainname}/referencedocuments POST
  • /domains/{domainname}/modelinstances POST
  • /domains/{domainname}/referencedocuments POST
  • /domains/{domainname}/similaritymatrix/cluster POST

[6.8.0] 2024-02-09

Removed

  • Removed two setting values: similarity_matcher and similarity_threshold for endpoint: /domains/{domainname}/settings GET

Improved

  • More method and parameter comments
  • Endpoint /domains GET returns DomainInfo object now instead of Domain

[6.7.0] 2024-01-29

Improved

  • More class and method comments, improved styling

[6.6.0] 2024-01-18

Added

  • Added transactions endpoint: /domains/{domainname}/transactions GET

Removed

  • Removed deprecated endpoint: /domains/{domainname}/documentcomparisons

[6.5.0] 2023-12-21

Improved

  • Reuse session object of requests library to increase performance on multiple calls

[6.4.0] 2023-12-07

Removed

  • /model/domains/{domainname}/documentcomparisons POST (Accept: xlsx)

[6.3.0] 2023-11-21

Fixed

  • PATCH and PUT methods with a list of dataclasses wasn't working.

Added

  • Added language parameter to /answers and /summarizations endpoints.

[6.2.1] 2023-11-13

Fixed

  • Dataclasses aren't frozen anymore.
  • Improved permission denied message with url.

[6.2.0] 2023-11-09

Added

  • server_url is read from credentials.properties file now -> semantha_sdk.login(key_file = "credentials.properties") parameter key_file is enough now.
  • server_url is read from json config file if present.
  • Checks to normalize server_url

[6.1.0] 2023-10-25

This version should only be used with a semantha server version >= 6.1

Changed

  • /api/info is versioned now and SDK calls /api/v3/info internally. This is a breaking change
  • login() function and SemanthaAPI class are generated now

[6.0.1] 2023-10-17

Added

  • Support for OAuth 2.0 Client Credentials Flow for credentials created via Semantha Administration UI.

[6.0.0] 2023-10-04

Fixed

  • GET of files with different mimetype than application/json (e.g. get_as_docx)

[5.11.1] 2023-09-21

Removed

  • /model/domains/{domainname}/extractortables has been removed
  • /model/domains/{domainname}/extractortables/{id} has been removed

Fixed

  • fixed serialization on post of bulk endpoints with list of objects

[5.11.0]

Changed

  • /api/domains/{domainname}/summarizations returns an object now instead of string.
  • renamed class Metadata to ModelMetadata

[5.10.0]

Improved Use Case SDK

[5.9.0]

Removed

  • /api/domains/{domainname}/referencedocuments/{documentid}/paragraphs/{id}/links

[5.8.0]

Added

  • /api/domains/{domainname}/documentclasses/{id}/documentclasses
  • /api/domains/{domainname}/documentclasses/{id}/referencedocuments
  • /api/domains/{domainname}/referencedocuments/{documentid}/paragraphs/{id}/links
  • /api/model/domains/{domainname}/backups

SDK covers now 193/197 services.

[5.7.0]

Added new endpoints in:

  • /api/domains/{domainname}/documenttypes/*
  • /api/domains/{domainname}/documentclasses/{id}/customfields
  • /api/model/domains/{domainname}/classes/*

SDK covers now 184/197 services.

[5.6.0]

Added most endpoints in */api/models/ ** SDK covers now 158/180 services.

[5.5.0]

Removed language parameter on /api/domains/{domainname}/references Fixed bug on serialization of /api/domains/{domainname}/modelinstances response. Fixed return of binary responses of bulk services.

[5.4.0]

Added new service:

  • /api/domains/{domainname}/summarizations which generations a summarization for a given list of texts and a given topic.

Added support for existing services:

  • /api/model/domains/{domainname}/boostwords/{id}
  • /api/model/domains/{domainname}/namedentities
  • /api/model/domains/{domainname}/namedentities/{id}
  • /api/model/domains/{domainname}/stopwords
  • /api/model/domains/{domainname}/stopwords/{id}
  • /api/model/domains/{domainname}/synonyms/{id}

[5.3.0]

Added new service: /api/domains/{domainid}/answers with retrieval augemented answer generation based on your library entries. Added new parameter on /modelinstances

[5.2.0]

The SDK is now automatically generated from our openapi.json specification. It covers 71/169 (=42%) of all available services. Many class names and package names have been changed.

[4.5.0]

Major restructuring of the SDK. All sub-resources are directly accessible (instead of invoking getters). That also means that (except for a few) all functions are plain get/post/delete/put/patch. For example, in Versions < 4.5.0 a domain resource was fetched using semantha_sdk.domains.get_one("domain_name"). Starting with 4.5.0 it is semantha_sdk.domains("domain_name"). That also means that get/post/put/patch functions return semantha model objects (and never resources), which makes usage more consistent.

State of Development

The following resources and end-points are fully functional and (partially) tested:

  • /bulk -> BulkEndpoint
  • /bulk/domains -> BulkDomainsEndpoint
  • /bulk/domains/{domainname} -> BulkdomainsDomainEndpoint
  • /bulk/domains/{domainname}/documentclasses -> BulkdomainsDocumentclassesEndpoint
    • GET -> List[DocumentClassBulk]
    • POST -> None
  • /bulk/domains/{domainname}/documenttypes -> BulkdomainsDocumenttypesEndpoint
    • GET -> List[DocumentType]
    • POST -> None
  • /bulk/domains/{domainname}/prompts
  • /bulk/domains/{domainname}/referencedocuments -> BulkdomainsReferencedocumentsEndpoint
    • GET -> List[Document]
    • POST -> None
    • POST -> None
    • DELETE -> None
  • /bulk/domains/{domainname}/references -> BulkdomainsReferencesEndpoint
    • POST -> List[Document]
  • /bulk/model -> BulkModelEndpoint
  • /bulk/model/domains -> BulkmodelDomainsEndpoint
  • /bulk/model/domains/{domainname} -> BulkmodelDomainEndpoint
  • /bulk/model/domains/{domainname}/boostwords -> BulkmodelBoostwordsEndpoint
    • POST -> None
  • /bulk/model/domains/{domainname}/classes -> BulkmodelClassesEndpoint
    • GET -> List[ClassBulk]
    • POST -> None
  • /bulk/model/domains/{domainname}/classes/{classid} -> BulkmodelClassEndpoint
  • /bulk/model/domains/{domainname}/classes/{classid}/instances -> BulkmodelclassInstancesEndpoint
    • GET -> List[Instance]
  • /bulk/model/domains/{domainname}/dataproperties -> BulkmodelDatapropertiesEndpoint
    • GET -> List[DataProperty]
    • POST -> None
  • /bulk/model/domains/{domainname}/instances -> BulkmodelInstancesEndpoint
    • GET -> List[Instance]
    • POST -> None
  • /bulk/model/domains/{domainname}/metadata -> BulkmodelMetadataEndpoint
    • GET -> List[ModelMetadata]
    • POST -> None
  • /bulk/model/domains/{domainname}/namedentities -> BulkmodelNamedentitiesEndpoint
    • POST -> None
  • /bulk/model/domains/{domainname}/rules -> BulkmodelRulesEndpoint
    • GET -> List[Rule]
    • POST -> None
  • /bulk/model/domains/{domainname}/stopwords -> BulkmodelStopwordsEndpoint
    • POST -> None
  • /bulk/model/domains/{domainname}/synonyms -> BulkmodelSynonymsEndpoint
    • POST -> None
  • /celltypes -> CelltypesEndpoint
    • GET -> List[CellType]
  • /conversions -> ConversionsEndpoint
    • POST -> IOBase
  • /currentuser -> CurrentuserEndpoint
    • GET -> CurrentUser
  • /currentuser/roles -> RolesEndpoint
    • GET -> List[str]
  • /diff -> DiffEndpoint
    • POST -> List[Difference]
  • /domains -> DomainsEndpoint
    • GET -> List[DomainInfo]
  • /domains/{domainname} -> DomainEndpoint
    • GET -> Domain
  • /domains/{domainname}/answers -> AnswersEndpoint
    • POST -> Answer
  • /domains/{domainname}/chats -> ChatsEndpoint
  • /domains/{domainname}/chats/{id} -> ChatEndpoint
    • POST -> ChatResponse
  • /domains/{domainname}/documentannotations -> DocumentannotationsEndpoint
    • POST (Accept: docx) -> IOBase
    • POST (Accept: pdf) -> IOBase
  • /domains/{domainname}/documentclasses -> DocumentclassesEndpoint
    • GET -> List[DocumentClass]
    • POST -> DocumentClass
    • DELETE -> None
  • /domains/{domainname}/documentclasses/{id} -> DocumentclassEndpoint
    • GET -> DocumentClass
    • DELETE -> None
    • PUT -> DocumentClass
  • /domains/{domainname}/documentclasses/{id}/customfields -> DocclassCustomfieldsEndpoint
    • DELETE -> None
    • PUT -> None
  • /domains/{domainname}/documentclasses/{id}/documentclasses -> DocclassDocumentclassesEndpoint
    • GET -> List[DocumentClass]
    • POST -> DocumentClass
    • DELETE -> List[DocumentClass]
    • PATCH -> List[DocumentClass]
  • /domains/{domainname}/documentclasses/{id}/referencedocuments -> DocclassReferencedocumentsEndpoint
    • GET -> List[DocumentInformation]
    • DELETE -> None
    • PATCH -> None
  • /domains/{domainname}/documentclasses/{id}/referencedocuments/tags -> DocclassTagsEndpoint
    • GET -> List[str]
  • /domains/{domainname}/documents -> DocumentsEndpoint
    • POST -> List[Document]
    • POST (Accept: xlsx) -> IOBase
    • POST (Accept: docx) -> IOBase
    • POST (Accept: png) -> IOBase
    • POST (Accept: reqifz) -> IOBase
  • /domains/{domainname}/documenttypes -> DocumenttypesEndpoint
    • GET -> List[DocumentType]
    • POST -> DocumentType
    • DELETE -> None
  • /domains/{domainname}/documenttypes/{id} -> DocumenttypeEndpoint
    • GET -> DocumentType
    • DELETE -> None
    • PATCH -> DocumentType
  • /domains/{domainname}/documenttypes/{id}/clone -> CloneEndpoint
    • POST -> DocumentType
  • /domains/{domainname}/modelclasses -> ModelclassesEndpoint
    • GET -> List[ModelClass]
  • /domains/{domainname}/modelinstances -> ModelinstancesEndpoint
    • POST -> SemanticModel
    • POST -> SemanticModel
    • POST (Accept: xlsx) -> IOBase
  • /domains/{domainname}/prompts -> PromptsEndpoint
    • GET -> List[PromptOverview]
    • POST -> Prompt
    • DELETE -> None
  • /domains/{domainname}/prompts/{id} -> PromptEndpoint
    • GET -> Prompt
    • POST -> PromptResponse
    • DELETE -> None
    • PUT -> Prompt
  • /domains/{domainname}/referencedocuments -> ReferencedocumentsEndpoint
    • GET -> ReferenceDocumentsResponseContainer
    • GET (Accept: xlsx) -> IOBase
    • POST -> List[DocumentInformation]
    • POST -> List[DocumentInformation]
    • DELETE -> None
    • PATCH -> None
  • /domains/{domainname}/referencedocuments/clusters -> ClustersEndpoint
    • GET -> SmartClusterResponseContainer
    • PUT -> SmartClusterResponseContainer
  • /domains/{domainname}/referencedocuments/namedentities -> NamedentitiesEndpoint
    • GET -> List[DocumentNamedEntity]
  • /domains/{domainname}/referencedocuments/statistic -> StatisticEndpoint
    • GET -> Statistic
  • /domains/{domainname}/referencedocuments/{documentid} -> ReferencedocumentEndpoint
    • GET -> Document
    • DELETE -> None
    • PATCH -> DocumentInformation
  • /domains/{domainname}/referencedocuments/{documentid}/images -> ImagesEndpoint
  • /domains/{domainname}/referencedocuments/{documentid}/images/{id} -> ImageEndpoint
    • GET (Accept: binary) -> IOBase
  • /domains/{domainname}/referencedocuments/{documentid}/paragraphs -> ParagraphsEndpoint
  • /domains/{domainname}/referencedocuments/{documentid}/paragraphs/{id} -> ParagraphEndpoint
    • GET -> Paragraph
    • DELETE -> None
    • PATCH -> Paragraph
  • /domains/{domainname}/referencedocuments/{documentid}/sentences -> SentencesEndpoint
  • /domains/{domainname}/referencedocuments/{documentid}/sentences/{id} -> SentenceEndpoint
    • GET -> Sentence
  • /domains/{domainname}/references -> ReferencesEndpoint
    • POST -> Document
    • POST (Accept: xlsx) -> IOBase
    • POST (Accept: docx) -> IOBase
    • POST (Accept: pdf) -> IOBase
  • /domains/{domainname}/settings -> SettingsEndpoint
    • GET -> Settings
    • PATCH -> Settings
  • /domains/{domainname}/similaritymatrix -> SimilaritymatrixEndpoint
    • POST -> List[MatrixRow]
  • /domains/{domainname}/similaritymatrix/cluster -> SimilaritymatrixClusterEndpoint
    • POST -> List[MatrixRow]
    • POST -> List[MatrixRow]
  • /domains/{domainname}/summarizations -> SummarizationsEndpoint
    • POST -> Summarization
  • /domains/{domainname}/tags -> TagsEndpoint
    • GET -> List[str]
  • /domains/{domainname}/tags/{tagname} -> TagEndpoint
  • /domains/{domainname}/tags/{tagname}/referencedocuments -> TagReferencedocumentsEndpoint
    • GET -> List[DocumentInformation]
    • DELETE -> None
  • /domains/{domainname}/texttypes -> TexttypesEndpoint
    • GET -> List[TextType]
    • DELETE -> None
    • PATCH -> None
  • /domains/{domainname}/transactions -> TransactionsEndpoint
    • GET -> List[TransactionSummary]
  • /domains/{domainname}/validation -> ValidationEndpoint
    • POST -> SemanticModel
  • /info -> InfoEndpoint
    • GET -> Info
  • /languages -> LanguagesEndpoint
    • POST -> LanguageDetection
  • /model -> ModelEndpoint
  • /model/datatypes -> ModelDatatypesEndpoint
    • GET -> List[str]
  • /model/domains -> ModelDomainsEndpoint
  • /model/domains/{domainname} -> ModelDomainEndpoint
    • GET (Accept: xlsx) -> IOBase
    • PATCH -> IOBase
  • /model/domains/{domainname}/attributes -> ModelAttributesEndpoint
    • GET -> List[AttributeOverview]
  • /model/domains/{domainname}/backups -> ModelBackupsEndpoint
    • POST -> None
  • /model/domains/{domainname}/boostwords -> ModelBoostwordsEndpoint
    • GET -> List[BoostWord]
    • POST -> BoostWord
    • DELETE -> None
  • /model/domains/{domainname}/boostwords/{id} -> ModelBoostwordEndpoint
    • GET -> BoostWord
    • DELETE -> None
    • PUT -> BoostWord
  • /model/domains/{domainname}/classes -> ModelontClassesEndpoint
    • GET -> List[ClassesOverview]
    • POST -> Clazz
    • DELETE -> None
  • /model/domains/{domainname}/classes/{classid} -> ModelontClassEndpoint
    • GET -> Clazz
    • DELETE -> None
    • PUT -> Clazz
  • /model/domains/{domainname}/classes/{classid}/attributes -> ModelontAttributesEndpoint
    • GET -> List[Attribute]
    • POST -> Attribute
    • DELETE -> None
  • /model/domains/{domainname}/classes/{classid}/attributes/{id} -> ModelontAttributeEndpoint
    • GET -> Attribute
    • DELETE -> None
    • PUT -> Attribute
  • /model/domains/{domainname}/classes/{classid}/instances -> ModelontclassInstancesEndpoint
    • GET -> List[Instance]
    • DELETE -> None
  • /model/domains/{domainname}/dataproperties -> ModelDatapropertiesEndpoint
    • GET -> List[Overview]
    • POST -> DataProperty
    • DELETE -> None
  • /model/domains/{domainname}/dataproperties/{id} -> ModelDatapropertyEndpoint
    • GET -> DataProperty
    • DELETE -> None
    • PUT -> DataProperty
  • /model/domains/{domainname}/extractorclasses -> ModelExtractorclassesEndpoint
    • GET -> List[ExtractorClassOverview]
    • POST -> ExtractorClass
    • DELETE -> None
    • PUT -> None
  • /model/domains/{domainname}/extractorclasses/{id} -> ModelExtractorclassEndpoint
    • GET -> ExtractorClass
    • DELETE -> None
    • PUT -> ExtractorClass
  • /model/domains/{domainname}/extractorclasses/{id}/extractorclasses -> ChildExtractorclassesEndpoint
    • POST -> ExtractorClass
  • /model/domains/{domainname}/extractors -> ModelExtractorsEndpoint
    • GET -> List[Entity]
  • /model/domains/{domainname}/formatters -> ModelFormattersEndpoint
    • GET -> List[Formatter]
  • /model/domains/{domainname}/instances -> ModelontInstancesEndpoint
    • GET -> List[InstanceOverview]
    • GET (Accept: xlsx) -> IOBase
    • POST -> Instance
    • DELETE -> None
    • PATCH -> None
  • /model/domains/{domainname}/instances/{id} -> ModelontInstanceEndpoint
    • GET -> Instance
    • DELETE -> None
    • PUT -> Instance
  • /model/domains/{domainname}/metadata -> ModelMetadataEndpoint
    • GET -> List[ModelMetadata]
    • POST -> ModelMetadata
    • DELETE -> None
  • /model/domains/{domainname}/metadata/{id} -> ModelOnemetadataEndpoint
    • GET -> ModelMetadata
    • DELETE -> None
    • PUT -> ModelMetadata
  • /model/domains/{domainname}/namedentities -> ModelNamedentitiesEndpoint
    • GET -> List[NamedEntity]
    • POST -> NamedEntity
    • DELETE -> None
  • /model/domains/{domainname}/namedentities/{id} -> ModelNamedentityEndpoint
    • GET -> NamedEntity
    • DELETE -> None
    • PUT -> NamedEntity
  • /model/domains/{domainname}/objectproperties -> ModelObjectpropertiesEndpoint
    • GET -> List[Overview]
  • /model/domains/{domainname}/regexes -> ModelRegexesEndpoint
    • GET -> List[Regex]
    • POST -> Regex
    • DELETE -> None
  • /model/domains/{domainname}/regexes/{id} -> ModelRegexEndpoint
    • GET -> Regex
    • DELETE -> None
    • PUT -> Regex
  • /model/domains/{domainname}/relations -> ModelRelationsEndpoint
    • GET -> List[Relation]
    • POST -> Relation
    • DELETE -> None
  • /model/domains/{domainname}/relations/{id} -> ModelRelationEndpoint
    • GET -> Relation
    • DELETE -> None
    • PUT -> Relation
  • /model/domains/{domainname}/rulefunctions -> ModelRulefunctionsEndpoint
    • GET -> List[RuleFunction]
  • /model/domains/{domainname}/rules -> ModelRulesEndpoint
    • GET -> List[RuleOverview]
    • POST -> Rule
    • DELETE -> None
  • /model/domains/{domainname}/rules/{id} -> ModelRuleEndpoint
    • GET -> Rule
    • DELETE -> None
    • PUT -> Rule
  • /model/domains/{domainname}/stopwords -> ModelStopwordsEndpoint
    • GET -> List[StopWord]
    • POST -> StopWord
    • DELETE -> None
  • /model/domains/{domainname}/stopwords/{id} -> ModelStopwordEndpoint
    • GET -> StopWord
    • DELETE -> None
    • PUT -> StopWord
  • /model/domains/{domainname}/synonyms -> ModelSynonymsEndpoint
    • GET -> List[Synonym]
    • POST -> Synonym
    • DELETE -> None
  • /model/domains/{domainname}/synonyms/{id} -> ModelSynonymEndpoint
    • GET -> Synonym
    • DELETE -> None
    • PUT -> Synonym
  • /model/extractortypes -> ModelExtractortypesEndpoint
    • GET -> List[str]
  • /model/metadatatypes -> ModelMetadatatypesEndpoint
    • GET -> List[str]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

semantha_sdk-9.1.0.tar.gz (68.0 kB view details)

Uploaded Source

Built Distribution

semantha_sdk-9.1.0-py3-none-any.whl (195.5 kB view details)

Uploaded Python 3

File details

Details for the file semantha_sdk-9.1.0.tar.gz.

File metadata

  • Download URL: semantha_sdk-9.1.0.tar.gz
  • Upload date:
  • Size: 68.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.12.3 Linux/6.8.0-1029-aws

File hashes

Hashes for semantha_sdk-9.1.0.tar.gz
Algorithm Hash digest
SHA256 b990254ecb70bc8659f92cdb808374791ca145def67cbdad85658fc8d39f026b
MD5 e42f8cf554965fcf7fe6aeba295f905c
BLAKE2b-256 2b38d6c3211f039320959687935e5a0ddbc6d1db4537e2e428422f192a5e4180

See more details on using hashes here.

File details

Details for the file semantha_sdk-9.1.0-py3-none-any.whl.

File metadata

  • Download URL: semantha_sdk-9.1.0-py3-none-any.whl
  • Upload date:
  • Size: 195.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.12.3 Linux/6.8.0-1029-aws

File hashes

Hashes for semantha_sdk-9.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 034102c2b82123ad380096a4c52fc61c39310c1ad15c75b117e9ee99f0d691d4
MD5 dee219298c09e30786972ac6ca43e94d
BLAKE2b-256 742c135e77ea868cb1dfd8f434eac2b10e84709f25e819334ca7ff694b2c2536

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page