Skip to content

feat: vector field search with custom embeddings (v0.3.0)#3

Merged
loookashow merged 1 commit intomainfrom
feat/add-vector-search
Mar 20, 2026
Merged

feat: vector field search with custom embeddings (v0.3.0)#3
loookashow merged 1 commit intomainfrom
feat/add-vector-search

Conversation

@loookashow
Copy link
Copy Markdown
Contributor

Summary

  • Add support for custom embedding vectors via new embeddings, query_vector, and vector_field parameters on FoxNoseRetriever
  • Refactor retriever to use SDK v0.5.0 typed convenience methods (vector_search(), hybrid_search(), boosted_search(), vector_field_search()) instead of manually building request bodies
  • Add strict config validation — hybrid_config and vector_boost_config dicts now reject unknown keys at init time
  • Deprecate build_search_body() (removal in v0.4.0)
  • Bump to foxnose-sdk>=0.5.0, release as v0.3.0

…onvenience methods

- Add embeddings, query_vector, and vector_field parameters to FoxNoseRetriever
  for custom embedding search via SDK's vector_field_search()
- Refactor retriever to use SDK v0.5.0 convenience methods (vector_search,
  hybrid_search, boosted_search) instead of manual body building
- Add strict validation for hybrid_config/vector_boost_config (reject unknown keys)
- Improve search_kwargs handling: split into named params vs extra_body,
  reject conflicting SearchRequest keys
- Deprecate build_search_body() (will be removed in v0.4.0)
- Bump foxnose-sdk dependency to >=0.5.0, version to 0.3.0
@loookashow loookashow merged commit 0a8ad84 into main Mar 20, 2026
6 checks passed
@loookashow loookashow deleted the feat/add-vector-search branch March 20, 2026 10:51
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 20, 2026

Codecov Report

❌ Patch coverage is 92.23301% with 16 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/langchain_foxnose/_validators.py 84.61% 10 Missing ⚠️
src/langchain_foxnose/retrievers.py 95.65% 6 Missing ⚠️

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant