修复了auto_judge字段
This commit is contained in:
parent
db8aa56fb3
commit
112284f554
Binary file not shown.
@ -162,7 +162,7 @@ async def generate_content(
|
|||||||
- **audienceIds**: 受众ID列表
|
- **audienceIds**: 受众ID列表
|
||||||
- **scenicSpotIds**: 景区ID列表
|
- **scenicSpotIds**: 景区ID列表
|
||||||
- **productIds**: 产品ID列表
|
- **productIds**: 产品ID列表
|
||||||
- **auto_judge**: 是否自动进行内容审核
|
- **autoJudge**: 是否自动进行内容审核
|
||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
# 将ID转换为名称
|
# 将ID转换为名称
|
||||||
@ -180,7 +180,7 @@ async def generate_content(
|
|||||||
audiences=audiences,
|
audiences=audiences,
|
||||||
scenic_spots=scenic_spots,
|
scenic_spots=scenic_spots,
|
||||||
products=products,
|
products=products,
|
||||||
auto_judge=request.autoJudge
|
autoJudge=request.autoJudge
|
||||||
)
|
)
|
||||||
|
|
||||||
# 提取judge_success字段
|
# 提取judge_success字段
|
||||||
@ -289,7 +289,7 @@ async def run_pipeline(
|
|||||||
- **scenicSpotIds**: 景区ID列表
|
- **scenicSpotIds**: 景区ID列表
|
||||||
- **productIds**: 产品ID列表
|
- **productIds**: 产品ID列表
|
||||||
- **skip_judge**: 是否跳过内容审核步骤
|
- **skip_judge**: 是否跳过内容审核步骤
|
||||||
- **auto_judge**: 是否在内容生成时进行内嵌审核
|
- **autoJudge**: 是否在内容生成时进行内嵌审核
|
||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
# 将ID转换为名称
|
# 将ID转换为名称
|
||||||
@ -309,7 +309,7 @@ async def run_pipeline(
|
|||||||
scenic_spots=scenic_spots,
|
scenic_spots=scenic_spots,
|
||||||
products=products,
|
products=products,
|
||||||
skip_judge=request.skipJudge,
|
skip_judge=request.skipJudge,
|
||||||
auto_judge=request.autoJudge
|
autoJudge=request.autoJudge
|
||||||
)
|
)
|
||||||
|
|
||||||
return PipelineResponse(
|
return PipelineResponse(
|
||||||
|
|||||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user