mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
c
This commit is contained in:
parent
7e31546102
commit
64e9276b4a
2 changed files with 16 additions and 2 deletions
|
@ -1227,7 +1227,14 @@ function modal_open(url)
|
|||
keytextres = data;
|
||||
console.log(keytextres)
|
||||
})
|
||||
promptWeb = '网页标题:'+ article.title +'\n'+ '网页布局:'+ modalele.slice(400) +'\n' +'网页内容:'
|
||||
promptWeb = '网页标题:'+ article.title +'\n'
|
||||
|
||||
for (el in modalele)
|
||||
{
|
||||
if((promptWeb + el + '\n').length <400)
|
||||
promptWeb = promptWeb + el + '\n';
|
||||
}
|
||||
'网页布局:\n'+ modalele.slice(400) +'\n' +'网页内容:\n'
|
||||
keySentencesCount = 0;
|
||||
for (sentence in keytextres)
|
||||
{
|
||||
|
|
|
@ -1227,7 +1227,14 @@ function modal_open(url)
|
|||
keytextres = data;
|
||||
console.log(keytextres)
|
||||
})
|
||||
promptWeb = '网页标题:'+ article.title +'\n'+ '网页布局:'+ modalele.slice(400) +'\n' +'网页内容:'
|
||||
promptWeb = '网页标题:'+ article.title +'\n'
|
||||
|
||||
for (el in modalele)
|
||||
{
|
||||
if((promptWeb + el + '\n').length <400)
|
||||
promptWeb = promptWeb + el + '\n';
|
||||
}
|
||||
'网页布局:\n'+ modalele.slice(400) +'\n' +'网页内容:\n'
|
||||
keySentencesCount = 0;
|
||||
for (sentence in keytextres)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue