mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-03-29 11:12:02 +01:00
Fix
This commit is contained in:
parent
17866dcf8b
commit
8e81b935d1
@ -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]
|
||||
return filtered_hits
|
||||
# inference_chunks = [_vespa_hit_to_inference_chunk(hit) for hit in filtered_hits]
|
||||
# return inference_chunks
|
||||
inference_chunks = [_vespa_hit_to_inference_chunk(hit) for hit in filtered_hits]
|
||||
return inference_chunks
|
||||
|
||||
|
||||
class VespaIndex(DocumentIndex):
|
||||
|
Loading…
x
Reference in New Issue
Block a user