truncate related queries
This commit is contained in:
parent
560be165ee
commit
5c9de4c433
@ -81,7 +81,7 @@ export default {
|
|||||||
{
|
{
|
||||||
neural: {
|
neural: {
|
||||||
title_embedding: {
|
title_embedding: {
|
||||||
query_text: qtext,
|
query_text: qtitle,
|
||||||
model_id: process.env.OPENSEARCH_MODEL_ID,
|
model_id: process.env.OPENSEARCH_MODEL_ID,
|
||||||
k: decodedCursor.offset + LIMIT
|
k: decodedCursor.offset + LIMIT
|
||||||
}
|
}
|
||||||
@ -90,7 +90,7 @@ export default {
|
|||||||
{
|
{
|
||||||
neural: {
|
neural: {
|
||||||
text_embedding: {
|
text_embedding: {
|
||||||
query_text: qtitle,
|
query_text: qtext.slice(0, 100),
|
||||||
model_id: process.env.OPENSEARCH_MODEL_ID,
|
model_id: process.env.OPENSEARCH_MODEL_ID,
|
||||||
k: decodedCursor.offset + LIMIT
|
k: decodedCursor.offset + LIMIT
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user