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
2d2ee657
Commit
2d2ee657
authored
Jun 24, 2026
by
Yaowentong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ai对话机器人修复
parent
51904b4e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
17 deletions
+14
-17
doubao_android_data_process.py
aidso_geo/models/doubao_android_data_process.py
+14
-17
No files found.
aidso_geo/models/doubao_android_data_process.py
View file @
2d2ee657
...
@@ -245,15 +245,12 @@ def doubao_mobile_process_original_data(data):
...
@@ -245,15 +245,12 @@ def doubao_mobile_process_original_data(data):
response_content
+=
text_block
response_content
+=
text_block
if
content_block
[
0
]
.
get
(
'block_type'
)
==
10025
:
if
content_block
[
0
]
.
get
(
'block_type'
)
==
10025
:
if
content_block
[
0
]
.
get
(
'content'
):
if
content_block
[
0
]
.
get
(
'content'
)
.
get
(
'search_query_result_block'
)
.
get
(
if
content_block
[
0
]
.
get
(
'content'
)
.
get
(
'search_query_result_block'
)
.
get
(
'results'
)
is
not
None
:
'results'
)
is
not
None
:
search_keyword
.
extend
(
search_keyword
.
extend
(
content_block
[
0
]
.
get
(
'content'
)
.
get
(
'search_query_result_block'
)
.
get
(
content_block
[
0
]
.
get
(
'content'
)
.
get
(
'search_query_result_block'
)
.
get
(
'queries'
))
'queries'
))
# think_content += "\n\n**"
# think_content += content_block[0].get('content').get(
# 'search_query_result_block').get('summary', '')
# think_content += "**\n\n"
for
i
in
content_block
[
0
]
.
get
(
'content'
)
.
get
(
'search_query_result_block'
)
.
get
(
for
i
in
content_block
[
0
]
.
get
(
'content'
)
.
get
(
'search_query_result_block'
)
.
get
(
'results'
):
'results'
):
if
i
.
get
(
'text_card'
):
if
i
.
get
(
'text_card'
):
...
@@ -298,11 +295,11 @@ def doubao_mobile_process_original_data(data):
...
@@ -298,11 +295,11 @@ def doubao_mobile_process_original_data(data):
new_url_list
.
append
(
item
)
new_url_list
.
append
(
item
)
url_list
=
new_url_list
url_list
=
new_url_list
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
)
except
Exception
as
e
:
except
Exception
as
e
:
# traceback.print_exc()
parts
=
file_path
.
split
(
'/'
)
parts
=
file_path
.
split
(
'/'
)
platform
=
parts
[
2
]
platform
=
parts
[
2
]
task_id
=
parts
[
1
]
task_id
=
parts
[
1
]
...
@@ -334,7 +331,7 @@ if __name__ == '__main__':
...
@@ -334,7 +331,7 @@ if __name__ == '__main__':
# file_path = 'geo/c7eb465e-f385-4aa2-89c4-a7cf11897f45/KIMI/1(1).txt'
# file_path = 'geo/c7eb465e-f385-4aa2-89c4-a7cf11897f45/KIMI/1(1).txt'
data_list
=
bh_utils
.
query_data
(
data_list
=
bh_utils
.
query_data
(
f
"select * from geo_commit_task where taskId = '
48d5b7e0-49e8-491b-8719-bcb82daee835
' and platform = 'DOUBA'"
)
f
"select * from geo_commit_task where taskId = '
8f605073-841a-4e8f-ac4b-1a686d5e9c4f
' and platform = 'DOUBA'"
)
...
...
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