Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
A
aidso-data
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Yaowentong
aidso-data
Commits
fa820537
Commit
fa820537
authored
Jul 06, 2026
by
Yaowentong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
处理has_goods
parent
d26f7bd6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
process.py
aidso_geo/models/process.py
+6
-4
No files found.
aidso_geo/models/process.py
View file @
fa820537
...
@@ -1523,7 +1523,7 @@ def result_v2(response_content, data):
...
@@ -1523,7 +1523,7 @@ def result_v2(response_content, data):
quotes
=
merge_sentiment
(
sentiment_list
,
quotes
)
quotes
=
merge_sentiment
(
sentiment_list
,
quotes
)
# ---------------------------------引用来源-----------------------------
# ---------------------------------引用来源-----------------------------
hasGoods
=
0
# ---------------------------------结果整合-----------------------------
# ---------------------------------结果整合-----------------------------
result
=
{
result
=
{
"brandVos"
:
brand_words_list_with_rank
,
"brandVos"
:
brand_words_list_with_rank
,
...
@@ -1539,6 +1539,7 @@ def result_v2(response_content, data):
...
@@ -1539,6 +1539,7 @@ def result_v2(response_content, data):
"prompt"
:
prompt
,
"prompt"
:
prompt
,
"reqId"
:
reqId
,
"reqId"
:
reqId
,
"sources"
:
quotes
,
"sources"
:
quotes
,
"hasGoods"
:
hasGoods
,
"taskId"
:
taskId
,
"taskId"
:
taskId
,
"totalBrandCount"
:
brand_count_sum
,
"totalBrandCount"
:
brand_count_sum
,
"totalCompetitorCount"
:
com_count_sum
,
"totalCompetitorCount"
:
com_count_sum
,
...
@@ -1559,7 +1560,8 @@ def result_v2(response_content, data):
...
@@ -1559,7 +1560,8 @@ def result_v2(response_content, data):
if
sentiment_result
:
if
sentiment_result
:
result
[
'sentiment'
]
=
sentiment_result
result
[
'sentiment'
]
=
sentiment_result
if
'render_ecom_card_widget_'
in
response_content
:
result
[
'hasGoods'
]
=
1
# ---------------------------------结果整合-----------------------------
# ---------------------------------结果整合-----------------------------
# ---------------------------------上传结果-----------------------------
# ---------------------------------上传结果-----------------------------
...
@@ -1972,8 +1974,8 @@ if __name__ == '__main__':
...
@@ -1972,8 +1974,8 @@ if __name__ == '__main__':
type_t
=
i
.
get
(
'type'
)
type_t
=
i
.
get
(
'type'
)
# type_t = 'batch'
# type_t = 'batch'
# commit_task(i,'ING')
# commit_task(i,'ING')
return
task_send_queue
(
i
,
type_t
)
#
return task_send_queue(i,type_t)
#
return platform_process(i)
return
platform_process
(
i
)
#
#
if
data_list
:
if
data_list
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment