Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nRetrieve not being respected for embeddings #2716

Open
3 tasks done
RomneyDa opened this issue Oct 28, 2024 · 1 comment
Open
3 tasks done

nRetrieve not being respected for embeddings #2716

RomneyDa opened this issue Oct 28, 2024 · 1 comment
Assignees
Labels
area:indexing Relates to embedding and indexing kind:bug Indicates an unexpected problem or unintended behavior priority:high Indicates high priority

Comments

@RomneyDa
Copy link
Collaborator

Before submitting your bug report

Relevant environment info

"contextProviders": [
    {
      "name": "diff",
      "params": {}
    },
    {
      "name": "folder",
      "params": {
        "nRetrieve": 256,
        "nFinal": 32,
        "useReranking": true
      }
    },
    {
      "name": "codebase",
      "params": {
        "nRetrieve": 256,
        "nFinal": 32,
        "useReranking": true
      }
    },

Description

@Lael on discord
https://discord.com/channels/1108621136150929458/1299251762376736839/1300210690958561412

nRetrieve is not being respected for text embeddings provider

To reproduce

No response

Log output

2024-10-28T17:06:37.326127Z ERROR rerank: text_embeddings_router::http::server: router/src/http/server.rs:374: batch size 1095 > maximum allowed batch size 1024
@RomneyDa
Copy link
Collaborator Author

batch of 1095 was sent to embeddings provider with nRetrieve = 256

@dosubot dosubot bot added area:indexing Relates to embedding and indexing kind:bug Indicates an unexpected problem or unintended behavior labels Oct 28, 2024
@RomneyDa RomneyDa assigned sestinj and unassigned Patrick-Erichsen Nov 1, 2024
@RomneyDa RomneyDa added priority:high Indicates high priority and removed needs-triage labels Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:indexing Relates to embedding and indexing kind:bug Indicates an unexpected problem or unintended behavior priority:high Indicates high priority
Projects
None yet
Development

No branches or pull requests

3 participants