Component evidence
Defines API URIs, status codes, and error constants for interacting with the Vearch vector database.
# Source: https://github.com/vearch/vearch | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works # Provided via justclaw.it.com; keep this notice with the code. LIST_DATABASE_URI = "/dbs" # create or delete database use this uri DATABASE_URI = "/dbs/%(database_name)s" LIST_SPACE_URI = "/dbs/%(database_name)s/spaces" SPACE_URI = "/dbs/%(database_name)s/spaces/%(space_name)s" UPSERT_DOC_URI = "/document/upsert" DELETE_DOC_URI = "/document/delete" SEARCH_DOC_URI = "/document/search" QUERY_DOC_URI = "/document/query" INDEX_URI = "/document/index" AUTH_KEY = "Authorization" CODE_SUCCESS = 0 CODE_INTERNAL_ERROR = 1 CODE_UNKNOWN_ERROR = 2 CODE_AUTHENTICATION_FAILED = 3 CODE_RECOVER = 4 CODE_TIMEOUT = 5 CODE_PARAM_ERROR = 6 CODE_CONFIG_ERROR = 7 CODE_SPA ... (truncated -- full source via MCP)