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
8cceaeeb
Commit
8cceaeeb
authored
Jul 14, 2026
by
Yaowentong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
减少模型调用
parent
1c725847
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
94 additions
and
43 deletions
+94
-43
process.py
aidso_geo/models/process.py
+3
-3
qianwen_android_data_process.py
aidso_geo/models/qianwen_android_data_process.py
+2
-0
ai_utils.py
aidso_geo/utils/ai_utils.py
+89
-40
No files found.
aidso_geo/models/process.py
View file @
8cceaeeb
...
@@ -227,10 +227,10 @@ def cache_get_ai_product_list(taskId, platform, response_content, prompt):
...
@@ -227,10 +227,10 @@ def cache_get_ai_product_list(taskId, platform, response_content, prompt):
return
ai_brand_list
return
ai_brand_list
ai_result_search
=
ai_utils
.
ai_get_product_list
(
response_content
,
prompt
)
ai_result_search
=
ai_utils
.
ai_get_product_list
(
response_content
,
prompt
)
ai_result
=
ai_get_product_list_search
(
ai_result_search
)
#
ai_result = ai_get_product_list_search(ai_result_search)
bh_utils
.
insert_data
(
"geo_ai_product_list"
,
[{
"taskId"
:
taskId
,
"platform"
:
platform
,
"ai_brand_list"
:
ai_result
}])
bh_utils
.
insert_data
(
"geo_ai_product_list"
,
[{
"taskId"
:
taskId
,
"platform"
:
platform
,
"ai_brand_list"
:
ai_result
_search
}])
return
ai_result
return
ai_result
_search
def
split_word_rank
(
ai_word_list
,
brand_words
,
com_word_list
,
all_word_rank_list
):
def
split_word_rank
(
ai_word_list
,
brand_words
,
com_word_list
,
all_word_rank_list
):
...
...
aidso_geo/models/qianwen_android_data_process.py
View file @
8cceaeeb
...
@@ -360,6 +360,8 @@ def qianwen_android_process_original_data(task_data):
...
@@ -360,6 +360,8 @@ def qianwen_android_process_original_data(task_data):
response_content
=
response_content
.
replace
(
"[(deep_think)]"
,
""
)
response_content
=
response_content
.
replace
(
"[(deep_think)]"
,
""
)
response_content
=
response_content
.
replace
(
"[(multimodal_chat_think_1)]"
,
""
)
response_content
=
response_content
.
replace
(
"[(multimodal_chat_think_1)]"
,
""
)
spider_save_tos
.
process_and_save_files
(
file_path
,
search_keyword
,
url_list
,
think_content
,
response_content
,
spider_save_tos
.
process_and_save_files
(
file_path
,
search_keyword
,
url_list
,
think_content
,
response_content
,
suggestions
,
rich_media_block
)
suggestions
,
rich_media_block
)
return
(
file_path
,
search_keyword
,
url_list
,
think_content
,
response_content
,
suggestions
)
return
(
file_path
,
search_keyword
,
url_list
,
think_content
,
response_content
,
suggestions
)
...
...
aidso_geo/utils/ai_utils.py
View file @
8cceaeeb
This diff is collapsed.
Click to expand it.
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