PulseAI-OpenAPI
  1. Dataset
PulseAI-OpenAPI
  • App
    • README
    • Send Chat Message
      POST
    • File Upload
      POST
    • Stop Generate
      POST
    • Message Feedback
      POST
    • Next Suggested Questions
      GET
    • Get Conversation History Messages
      GET
    • Get Conversations
      GET
    • Delete Conversation
      DELETE
    • Conversation Rename
      POST
    • Speech to Text
      POST
    • Text to Audio
      POST
    • Text to Audio V2
      POST
    • Get Application Information
      GET
    • Get Application Parameters
      GET
    • Get Application Meta Information
      GET
    • Create Chat
      POST
  • Dataset
    • README
    • Create a Document from Text
      POST
    • Create a Document from a File
      POST
    • Create an Empty Knowledge Base
      POST
    • Get Knowledge Base List
      GET
    • Delete a Knowledge Base
      DELETE
    • Update a Document with Text
      POST
    • Update a Document with a File
      POST
    • Get Document Embedding Status (Progress)
      GET
    • Delete a Document
      DELETE
    • Get the Document List of a Knowledge Base
      GET
    • Add Chunks to a Document
      POST
    • Get Chunks from a Document
      GET
    • Update a Chunk in a Document
      POST
    • Delete a Chunk in a Document
      DELETE
    • Retrieve Chunks from a Knowledge Base
      POST
  • Tenant
    • README
    • Get a List of Tenant Space Charactar
    • Figure txt2img
    • Get a List of Tenant Space Plot
    • Get a List of Tenant Space Audio
  • OpenAPI
    GET
  1. Dataset

README

Knowledge API#

The Knowledge Base feature visualises the various aspects of the RAG pipeline and provides an easy-to-use user interface for application builders to manage their personal or team knowledge base and quickly integrate it into AI applications.
Compared to the static pre-training data built into AI models, the content in the knowledge base can be updated in real-time, ensuring that LLMs have access to the latest information and avoiding problems caused by outdated or missing information.
Upon receiving a user's question, the LLM will first retrieve content within the knowledge base based on keywords. Based on the keywords, the knowledge base will recall blocks of content with high relevance rankings and provide key context to the LLM to assist it in generating more accurate answers.
In this way, developers can ensure that the LLM does not only rely on knowledge from the training data, but is also able to process dynamic data from real-time documents and databases, thus increasing the accuracy and relevance of the answers.

Base URL#

https://api-platform.digitpulse.ai/v1

Authentication#

The Service API uses API-Key authentication. Strongly recommend storing your API Key on the server-side, not shared or stored on the client-side, to avoid possible API-Key leakage that can lead to serious consequences.
For all API requests, include your API Key in the AuthorizationHTTP Header, as shown below:
Authorization: Bearer {API_KEY}

Error Code#

codestatusmessage
no_file_uploaded400Please upload your file.
too_many_files400Only one file is allowed.
file_too_large413File size exceeded.
unsupported_file_type415File type not allowed.
high_quality_dataset_only400Current operation only supports 'high-quality' datasets.
dataset_not_initialized400The dataset is still being initialized or indexing. Please wait a moment.
archived_document_immutable403The archived document is not editable.
dataset_name_duplicate409The dataset name already exists. Please modify your dataset name.
invalid_action400Invalid action.
document_already_finished400The document has been processed. Please refresh the page or go to the document details.
document_indexing400The document is being processed and cannot be edited.
invalid_metadata400The metadata content is incorrect. Please check and verify.

Example#

  {
    "code": "no_file_uploaded",
    "message": "Please upload your file.",
    "status": 400
  }
Modified at 2025-01-13 09:45:48
Previous
Create Chat
Next
Create a Document from Text
Built with