mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-08-19 08:47:32 +00:00
feat:add summary
This commit is contained in:
parent
cdcfe7faf1
commit
8be43c5e24
@ -461,8 +461,8 @@ class KnowledgeService:
|
|||||||
summary = await self._mapreduce_extract_summary(
|
summary = await self._mapreduce_extract_summary(
|
||||||
docs=texts,
|
docs=texts,
|
||||||
model_name=model_name,
|
model_name=model_name,
|
||||||
max_iteration=space_context["summary"]["max_iteration"],
|
max_iteration=int(space_context["summary"]["max_iteration"]),
|
||||||
concurrency_limit=space_context["summary"]["concurrency_limit"],
|
concurrency_limit=int(space_context["summary"]["concurrency_limit"]),
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
summary = await self._mapreduce_extract_summary(
|
summary = await self._mapreduce_extract_summary(
|
||||||
|
Loading…
Reference in New Issue
Block a user