mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-19 12:03:54 +02:00
Fix
This commit is contained in:
@@ -464,9 +464,8 @@ def _query_vespa(query_params: Mapping[str, str | int]) -> list[InferenceChunk]:
|
|||||||
)
|
)
|
||||||
|
|
||||||
filtered_hits = [hit for hit in hits if hit["fields"].get(CONTENT) is not None]
|
filtered_hits = [hit for hit in hits if hit["fields"].get(CONTENT) is not None]
|
||||||
return filtered_hits
|
inference_chunks = [_vespa_hit_to_inference_chunk(hit) for hit in filtered_hits]
|
||||||
# inference_chunks = [_vespa_hit_to_inference_chunk(hit) for hit in filtered_hits]
|
return inference_chunks
|
||||||
# return inference_chunks
|
|
||||||
|
|
||||||
|
|
||||||
class VespaIndex(DocumentIndex):
|
class VespaIndex(DocumentIndex):
|
||||||
|
Reference in New Issue
Block a user