Batch Project Document Search

Perform a semantic search across documents from multiple projects.

Batch Project Document Search API

  • URL: /projects-documents/batch-search

  • Method: POST

  • Returns: A json with a list of citations as well as an summarized response.

Query Parameters

Parameter
Type
Description

list

[{'id': int, 'registry':string} ]

List of projects with id and registry.

query

string

The semantic search query.

Sample Request

cURL

curl -X POST https://api.sequestor.dev/project-documents/batch-search \
-H "Content-Type: application/json" \
-d '{
  "projectList": [
    {
      "project_id": 2000,
      "registry": "Verra"
    },
    {
      "project_id": 3425,
      "registry": "Verra"
    }
  ],
  "query": "What is the baseline scenario?"
}'

Python

Sample Response

Last updated