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

[Bug] metadatFilter input on QueryByVectorIdRequest variable impossible to use as it does not start with a capital letter. #75

Open
mgagnon-rvo opened this issue Sep 14, 2024 · 1 comment
Labels
bug Something isn't working status:on-roadmap This has been picked up by the team and is on our roadmap

Comments

@mgagnon-rvo
Copy link

mgagnon-rvo commented Sep 14, 2024

Is this a new bug?
In other words: Is this an error, flaw, failure or fault? Please search Github issues and check our Community Forum to see if someone has already reported the bug you encountered.

If this is a request for help or troubleshooting code in your own Pinecone project, please join the Pinecone Community Forum.

  • [ X] I believe this is a new bug
  • [ X] I have searched the existing Github issues and Community Forum, and I could not find an existing post for this bug

Describe the bug

The input variable on this method has the metadataFilter variable in lowercase. This makes usage of this input variable impossible.

Here is the struct showing the metadataFilter variable

type QueryByVectorIdRequest struct {
	VectorId        string
	TopK            uint32
	metadataFilter  *MetadataFilter
	IncludeValues   bool
	IncludeMetadata bool
	SparseValues    *SparseValues
}

This is the function it is used in.
func (idx *IndexConnection) QueryByVectorId(ctx context.Context, in *QueryByVectorIdRequest) (*QueryVectorsResponse, error)

@mgagnon-rvo mgagnon-rvo added the bug Something isn't working label Sep 14, 2024
@github-actions github-actions bot added the status:needs-triage An issue that needs to be triaged by the Pinecone team label Sep 14, 2024
@anawishnoff anawishnoff added status:on-roadmap This has been picked up by the team and is on our roadmap and removed status:needs-triage An issue that needs to be triaged by the Pinecone team labels Oct 1, 2024
@anawishnoff
Copy link
Contributor

Hey @mgagnon-rvo , thanks for opening this, and apologies for the delayed response. We're investigating this bug now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working status:on-roadmap This has been picked up by the team and is on our roadmap
Projects
None yet
Development

No branches or pull requests

2 participants