Browse Source

Docs: Update HTTP API reference with new response fields (#9434)

### What problem does this PR solve?

Add `url`, `doc_type`, and `created_at` fields to the API response
example in the documentation.

### Type of change

- [x] Documentation Update
tags/v0.20.2
Liu An 2 months ago
parent
commit
3492f54c7a
No account linked to committer's email address
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      docs/references/http_api_reference.md

+ 3
- 0
docs/references/http_api_reference.md View File

"document_name": "1.txt", "document_name": "1.txt",
"dataset_id": "8e83e57a884611ef9d760242ac120006", "dataset_id": "8e83e57a884611ef9d760242ac120006",
"image_id": "", "image_id": "",
"url": null,
"similarity": 0.7, "similarity": 0.7,
"vector_similarity": 0.0, "vector_similarity": 0.0,
"term_similarity": 1.0, "term_similarity": 1.0,
"doc_type": [],
"positions": [ "positions": [
"" ""
] ]
] ]
}, },
"prompt": "xxxxxxxxxxx", "prompt": "xxxxxxxxxxx",
"created_at": 1755055623.6401553,
"id": "a84c5dd4-97b4-4624-8c3b-974012c8000d", "id": "a84c5dd4-97b4-4624-8c3b-974012c8000d",
"session_id": "82b0ab2a9c1911ef9d870242ac120006" "session_id": "82b0ab2a9c1911ef9d870242ac120006"
} }

Loading…
Cancel
Save