@wildix/wim-knowledge-base-client
wim-knowledge-base-client package
Classes
Class | Description |
|---|---|
Clean the data source by its ID. It will clean all documents and sync logs. This operation is irreversible. | |
Clone a data source by its ID. Only configuration will be cloned, not the data. | |
Configure a data source by its ID | |
Register a new data source with minimal configuration. All other parameters will be set in update operation. | |
Create a new document for a data source by its ID | |
Create a new knowledge base | |
Delete a data source by its ID | |
Delete a document by its ID | |
Delete a knowledge base by its ID | |
Describe the data source by its ID. It will return additional information about the data source based on the parameters provided. | |
Query a knowledge base by its ID and return the answer from the LLM | |
Get a data source by its ID | |
Get the sync status of a data source by its ID | |
Get the chunks of a document by its ID | |
Get a document by its ID | |
Get a presigned URL for downloading the original file of the document | |
Get the markdown content of a document by its ID | |
Get a presigned URL for uploading the original file of the document. You must upload the file to this URL using the PUT method. | |
Get a document by its ID with its content and chunks | |
Get a knowledge base by its ID | |
Base exception class for all service exceptions from KnowledgeBase service. | |
List all data sources for the current company | |
List the statistics of a data source by its ID | |
Get the sync logs of a data source by its ID | |
List all documents for a data source by its ID | |
You can use this endpoint to retrieve the search history statistics. | |
List all knowledge bases for the current company | |
You can use this endpoint to retrieve the search history. | |
Search a knowledge base by its ID and return the chunks that match the query with its score | |
Start the sync of a data source by its ID | |
Stop the sync of a data source by its ID | |
Update a data source by its ID | |
Update a document by its ID | |
Update a knowledge base by its ID | |
Interfaces
Namespaces
Namespace | Description |
|---|---|
Variables
Variable | Description |
|---|---|
Type Aliases
Type Alias | Description |
|---|---|