按語義相似性搜尋文件

Initiate a search operation with a query text of up to 400 words and receive the most semantically similar responses from the stored knowledge. For question-answering, convert your question into an ideal answer and submit it to receive similar real answers.

GEThttps://api.rememberizer.ai/api/v1/documents/search/
Query parameters
Response

Successful retrieval of documents

Body
data_sourcesarray of object
matched_chunksarray of object
Request
const response = await fetch('https://api.rememberizer.ai/api/v1/documents/search/', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "data_sources": [
    {
      "name": "text",
      "documents": 1
    }
  ],
  "matched_chunks": [
    {
      "document": {
        "id": 18,
        "document_id": "text",
        "name": "text",
        "type": "text",
        "path": "text",
        "url": "text",
        "created_time": "2024-11-21T09:54:06.971Z",
        "modified_time": "2024-11-21T09:54:06.971Z",
        "indexed_on": "2024-11-21T09:54:06.971Z",
        "integration": {
          "integration_type": "text"
        }
      },
      "matched_content": "text",
      "distance": 0
    }
  ]
}

Last updated