mirror of
https://github.com/microsoft/graphrag.git
synced 2025-07-04 23:50:42 +00:00
Fix/drift search reduce (#1948)
* Fix Reduce Response for non streaming calls * Semver
This commit is contained in:
parent
7fba9522d4
commit
f1e2041f07
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"type": "patch",
|
||||||
|
"description": "Fix Drift Reduce Response for non streaming calls"
|
||||||
|
}
|
@ -386,7 +386,7 @@ class DRIFTSearch(BaseSearch[DRIFTSearchContextBuilder]):
|
|||||||
model_response = await self.model.achat(
|
model_response = await self.model.achat(
|
||||||
prompt=query,
|
prompt=query,
|
||||||
history=search_messages,
|
history=search_messages,
|
||||||
model_parameters=llm_kwargs,
|
model_parameters=llm_kwargs.get("model_params", {}),
|
||||||
)
|
)
|
||||||
|
|
||||||
reduced_response = model_response.output.content
|
reduced_response = model_response.output.content
|
||||||
|
Loading…
x
Reference in New Issue
Block a user