All URIs are relative to https://training.simsage.ai
| Method | HTTP request | Description |
|---|---|---|
| addDefaultSynSets | PUT /api/language/default-syn-sets/{organisationId}/{kbId} | Add all default SynSets |
| deleteAllSynonyms | DELETE /api/language/delete-all-synonyms/{organisationId}/{kbId} | Delete All Synonyms |
| deleteCategorization | DELETE /api/language/categorization/{organisationId}/{kbId}/{categorizationLabel} | remove categorization |
| deleteSemantic | DELETE /api/language/delete-semantic/{organisationId}/{kbId}/{word}/{semantic} | Delete Semantic |
| deleteSynSet | DELETE /api/language/delete-syn-set/{organisationId}/{kbId}/{lemma} | Delete SynSet |
| deleteSynonym | DELETE /api/language/delete-synonym/{organisationId}/{kbId}/{id} | Delete Synonym |
| findSynSets | PUT /api/language/find-syn-sets | Find SynSets |
| getCategorizationList | GET /api/language/categorization/{organisationId}/{kbId}/{prevCategorizationLabel}/{pageSize} | categorization list |
| getPaginated | PUT /api/language/synonyms | get Synonyms Paginated |
| getSemanticsPaginated | PUT /api/language/semantics | Semantics Paginated |
| optimizeIndexes | PUT /api/language/optimize-indexes | Optimize Indexes |
| optimizeIndexesAbort | PUT /api/language/optimize-indexes-abort | Abort Index Optimization |
| redactDocument | GET /api/language/redact/{organisationId}/{kbId}/{url}/{entityCsv}/{wordCsv}/{allowWordsCsv} | Redact Document |
| saveCategorization | PUT /api/language/categorization | save categorization |
| saveSemantic | PUT /api/language/save-semantic/{organisationId}/{kbId} | Save Semantic |
| saveSynSet | PUT /api/language/save-syn-set/{organisationId}/{kbId} | Save SynSet |
| saveSynonym | PUT /api/language/save-synonym/{organisationId}/{kbId} | Save Synonym |
| tuneLanguageGraph | GET /api/language/tune-graph/{organisationId}/{kbId} | Tune Graph |
| version2 | GET /api/language/version | Version |
JsonMessage addDefaultSynSets(organisationId, kbId, session-id, API-Version)
Add all default SynSets
Add default syn-sets to the given org/kb
| Name | Type | Description | Notes |
|---|---|---|---|
| organisationId | String | the organisation (its guid id) | [default to null] |
| kbId | String | the knowledge-base (its guid id) | [default to null] |
| session-id | String | a valid SimSage Session id. | [default to null] |
| API-Version | String | [optional] [default to null] [enum: 1] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
JsonMessage deleteAllSynonyms(organisationId, kbId, session-id, API-Version)
Delete All Synonyms
Delete all synonyms for a given org/kb
| Name | Type | Description | Notes |
|---|---|---|---|
| organisationId | String | the organisation (its guid id) | [default to null] |
| kbId | String | the knowledge-base to delete/remove (its guid id) | [default to null] |
| session-id | String | a valid SimSage Session id. | [default to null] |
| API-Version | String | [optional] [default to null] [enum: 1] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
JsonMessage deleteCategorization(organisationId, kbId, categorizationLabel, session-id, API-Version)
remove categorization
remove a specific categorization for a given org/kb
| Name | Type | Description | Notes |
|---|---|---|---|
| organisationId | String | the organisation (its guid id) | [default to null] |
| kbId | String | the knowledge-base (its guid id) | [default to null] |
| categorizationLabel | String | the metadata (name) to remove | [default to null] |
| session-id | String | a valid SimSage Session id. | [default to null] |
| API-Version | String | [optional] [default to null] [enum: 1] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
JsonMessage deleteSemantic(organisationId, kbId, word, semantic, session-id, API-Version)
Delete Semantic
Remove an existing semantic from SimSage.
| Name | Type | Description | Notes |
|---|---|---|---|
| organisationId | String | the organisation (its guid id) | [default to null] |
| kbId | String | the knowledge-base (its guid id) | [default to null] |
| word | String | the word (more specific item) of the semantic to delete (eg. "John") | [default to null] |
| semantic | String | the semantic of the word to delete (eg. "person") | [default to null] |
| session-id | String | a valid SimSage Session id. | [default to null] |
| API-Version | String | [optional] [default to null] [enum: 1] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
JsonMessage deleteSynSet(organisationId, kbId, lemma, session-id, API-Version)
Delete SynSet
Remove a syn-set from SimSage by lemma.
| Name | Type | Description | Notes |
|---|---|---|---|
| organisationId | String | the organisation (its guid id) | [default to null] |
| kbId | String | the knowledge-base (its guid id) | [default to null] |
| lemma | String | the lemma (base word) of the syn-set to remove. | [default to null] |
| session-id | String | a valid SimSage Session id. | [default to null] |
| API-Version | String | [optional] [default to null] [enum: 1] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
JsonMessage deleteSynonym(organisationId, kbId, id, session-id, API-Version)
Delete Synonym
Delete a synonym using its id.
| Name | Type | Description | Notes |
|---|---|---|---|
| organisationId | String | the organisation (its guid id) | [default to null] |
| kbId | String | the knowledge-base (its guid id) | [default to null] |
| id | Integer | the id of the synonym to remove. | [default to null] |
| session-id | String | a valid SimSage Session id. | [default to null] |
| API-Version | String | [optional] [default to null] [enum: 1] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
CMSynSetList findSynSets(session-id, CMSynSetFind, API-Version)
Find SynSets
Find syn-sets using filters
| Name | Type | Description | Notes |
|---|---|---|---|
| session-id | String | a valid SimSage Session id. | [default to null] |
| CMSynSetFind | CMSynSetFind | ||
| API-Version | String | [optional] [default to null] [enum: 1] |
No authorization required
- Content-Type: application/json
- Accept: application/json
CMCategorizationPaginatedList getCategorizationList(organisationId, kbId, prevCategorizationLabel, pageSize, session-id, API-Version)
categorization list
get all categorizations for a given org/kb paginated
| Name | Type | Description | Notes |
|---|---|---|---|
| organisationId | String | the organisation (its guid id) | [default to null] |
| kbId | String | the knowledge-base (its guid id) | [default to null] |
| prevCategorizationLabel | String | the previous categorization label for pagination, or null if first page | [default to null] |
| pageSize | Integer | the size of the page returned | [default to null] |
| session-id | String | a valid SimSage Session id. | [default to null] |
| API-Version | String | [optional] [default to null] [enum: 1] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
CMSynonymsPaginatedResult getPaginated(session-id, CMSynonymsPaginated, API-Version)
get Synonyms Paginated
return a paginated list of synonyms with optional filtering.
| Name | Type | Description | Notes |
|---|---|---|---|
| session-id | String | a valid SimSage Session id. | [default to null] |
| CMSynonymsPaginated | CMSynonymsPaginated | ||
| API-Version | String | [optional] [default to null] [enum: 1] |
No authorization required
- Content-Type: application/json
- Accept: application/json
CMSemanticsPaginatedResult getSemanticsPaginated(session-id, CMSemanticsPaginated, API-Version)
Semantics Paginated
Return a paginated list of semantics with an optional filter.
| Name | Type | Description | Notes |
|---|---|---|---|
| session-id | String | a valid SimSage Session id. | [default to null] |
| CMSemanticsPaginated | CMSemanticsPaginated | ||
| API-Version | String | [optional] [default to null] [enum: 1] |
No authorization required
- Content-Type: application/json
- Accept: application/json
JsonMessage optimizeIndexes(session-id, CMOptimizeIndex, API-Version)
Optimize Indexes
Force index optimization for a the given knowledge-base, now.
| Name | Type | Description | Notes |
|---|---|---|---|
| session-id | String | a valid SimSage Session id. | [default to null] |
| CMOptimizeIndex | CMOptimizeIndex | ||
| API-Version | String | [optional] [default to null] [enum: 1] |
No authorization required
- Content-Type: application/json
- Accept: application/json
JsonMessage optimizeIndexesAbort(session-id, CMOptimizeIndex, API-Version)
Abort Index Optimization
Force index optimizer to abort a job.
| Name | Type | Description | Notes |
|---|---|---|---|
| session-id | String | a valid SimSage Session id. | [default to null] |
| CMOptimizeIndex | CMOptimizeIndex | ||
| API-Version | String | [optional] [default to null] [enum: 1] |
No authorization required
- Content-Type: application/json
- Accept: application/json
byte[] redactDocument(organisationId, kbId, url, entityCsv, wordCsv, allowWordsCsv, session-id)
Redact Document
Create a redacted version of a document as a PDF given its url.
| Name | Type | Description | Notes |
|---|---|---|---|
| organisationId | String | the organisation (its guid id) | [default to null] |
| kbId | String | the knowledge-base (its guid id) | [default to null] |
| url | String | the base-64 encoded (no-prefix) url of the document | [default to null] |
| entityCsv | String | a csv list of entities to redact (e.g. person,location) | [default to null] |
| wordCsv | String | a csv list of additional words to redact (e.g. John,Markov. Use null for ignore.) | [default to null] |
| allowWordsCsv | String | a csv list of words to not-redact (e.g. John,Markov. Use null for ignore.) | [default to null] |
| session-id | String | an optional SimSage Session id. | [optional] [default to null] |
byte[]
No authorization required
- Content-Type: Not defined
- Accept: application/json, application/pdf
JsonMessage saveCategorization(session-id, CMCategorization, API-Version)
save categorization
create or update a specific categorization for a given org/kb
| Name | Type | Description | Notes |
|---|---|---|---|
| session-id | String | a valid SimSage Session id. | [default to null] |
| CMCategorization | CMCategorization | ||
| API-Version | String | [optional] [default to null] [enum: 1] |
No authorization required
- Content-Type: application/json
- Accept: application/json
JsonMessage saveSemantic(organisationId, kbId, session-id, CMSemanticModelEdit, API-Version)
Save Semantic
Create or update (save) a semantic in SimSage.
| Name | Type | Description | Notes |
|---|---|---|---|
| organisationId | String | the organisation (its guid id) | [default to null] |
| kbId | String | the knowledge-base (its guid id) | [default to null] |
| session-id | String | a valid SimSage Session id. | [default to null] |
| CMSemanticModelEdit | CMSemanticModelEdit | ||
| API-Version | String | [optional] [default to null] [enum: 1] |
No authorization required
- Content-Type: application/json
- Accept: application/json
JsonMessage saveSynSet(organisationId, kbId, session-id, CMSynSet, API-Version)
Save SynSet
Save (update/create) a syn-set in SimSage.
| Name | Type | Description | Notes |
|---|---|---|---|
| organisationId | String | the organisation (its guid id) | [default to null] |
| kbId | String | the knowledge-base (its guid id) | [default to null] |
| session-id | String | a valid SimSage Session id. | [default to null] |
| CMSynSet | CMSynSet | ||
| API-Version | String | [optional] [default to null] [enum: 1] |
No authorization required
- Content-Type: application/json
- Accept: application/json
JsonMessage saveSynonym(organisationId, kbId, session-id, CMSynonym, API-Version)
Save Synonym
Save (update/create) a synonym.
| Name | Type | Description | Notes |
|---|---|---|---|
| organisationId | String | the organisation (its guid id) | [default to null] |
| kbId | String | the knowledge-base (its guid id) | [default to null] |
| session-id | String | a valid SimSage Session id. | [default to null] |
| CMSynonym | CMSynonym | ||
| API-Version | String | [optional] [default to null] [enum: 1] |
No authorization required
- Content-Type: application/json
- Accept: application/json
JsonMessage tuneLanguageGraph(organisationId, kbId, session-id, API-Version)
Tune Graph
Create a tuned language graph for a given organisation/knowledge-base.
| Name | Type | Description | Notes |
|---|---|---|---|
| organisationId | String | the organisation (its guid id) | [default to null] |
| kbId | String | the knowledge-base (its guid id) | [default to null] |
| session-id | String | a valid SimSage Session id. | [default to null] |
| API-Version | String | [optional] [default to null] [enum: 1] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
CMVersion version2()
Version
Return the version of the SimSage Language Services.
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json