fix: return chunk payload
This commit is contained in:
parent
84bd2f38f7
commit
d351c9a009
1 changed files with 1 additions and 0 deletions
|
|
@ -57,6 +57,7 @@ class ChunksRetriever(BaseRetriever):
|
|||
|
||||
chunk_payloads = [result.payload for result in found_chunks]
|
||||
logger.info(f"Returning {len(chunk_payloads)} chunk payloads")
|
||||
return chunk_payloads
|
||||
|
||||
async def get_completion(
|
||||
self, query: str, context: Optional[Any] = None, session_id: Optional[str] = None
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue