mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-07-28 05:43:33 +02:00
nit (#2787)
This commit is contained in:
@@ -183,6 +183,7 @@ def _index_vespa_chunk(
|
|||||||
vespa_document_fields[TENANT_ID] = chunk.tenant_id
|
vespa_document_fields[TENANT_ID] = chunk.tenant_id
|
||||||
|
|
||||||
vespa_url = f"{DOCUMENT_ID_ENDPOINT.format(index_name=index_name)}/{vespa_chunk_id}"
|
vespa_url = f"{DOCUMENT_ID_ENDPOINT.format(index_name=index_name)}/{vespa_chunk_id}"
|
||||||
|
logger.debug(f'Indexing to URL "{vespa_url}"')
|
||||||
res = http_client.post(
|
res = http_client.post(
|
||||||
vespa_url, headers=json_header, json={"fields": vespa_document_fields}
|
vespa_url, headers=json_header, json={"fields": vespa_document_fields}
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user