Skip to content

Docs/document hybrid params#358

Open
Shaurya2k06 wants to merge 2 commits into
weaviate:feat/boost-query-apifrom
Shaurya2k06:docs/document-hybrid-params
Open

Docs/document hybrid params#358
Shaurya2k06 wants to merge 2 commits into
weaviate:feat/boost-query-apifrom
Shaurya2k06:docs/document-hybrid-params

Conversation

@Shaurya2k06

@Shaurya2k06 Shaurya2k06 commented Jul 16, 2026

Copy link
Copy Markdown

Summary

  • Add <param> documentation to the 30 public query/generate methods that previously had only a <summary> (all Hybrid overloads on Query/Generate + typed clients, 4 Generate NearVector overloads, and 2 NearText extension overloads).
  • Follow the existing thin house style from QueryClient.NearVector / BM25 (The limit, The alpha, …); copy the boost line verbatim from the rest of the public API. Rich boost prose stays on Models/Boost.cs.
  • Add ci/check_xml_param_docs.py and wire it into preflight so methods with a <summary> but missing/incomplete <param> tags fail CI on the Query/Generate (+ typed) surface — closes the CS1573/CS1591 blind spot that let this gap persist.
  • Stacked on feat/boost-query-api so these methods are fully documented including boost once that lands. No behavior or public API surface changes.

Test plan

  • dotnet build src/Weaviate.Client/ → 0 errors
  • dotnet test --filter "FullyQualifiedName~Unit" → 877 passed / 0 failed / 2 skipped
  • python3 ci/check_xml_param_docs.py → passes
  • Generated Weaviate.Client.xml includes boost, alpha, filters, etc. on Hybrid / Generate Hybrid / NearText extension overloads

Fixes #357

Document every parameter on the 30 public methods that previously had
only a <summary>, including boost, so IntelliSense matches the rest of
the query/generate API.

Signed-off-by: shaurya2k06 <shaurya2k06@gmail.com>
Add ci/check_xml_param_docs.py to fail when a public QueryClient,
GenerateClient, or typed query/generate method has a <summary> but
missing or incomplete <param> tags. Wire it into preflight so Hybrid-style
gaps cannot regress silently.
Signed-off-by: shaurya2k06 <shaurya2k06@gmail.com>

@orca-security-eu orca-security-eu Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca

@weaviate-git-bot

Copy link
Copy Markdown

To avoid any confusion in the future about your contribution to Weaviate, we work with a Contributor License Agreement. If you agree, you can simply add a comment to this PR that you agree with the CLA so that we can merge.

beep boop - the Weaviate bot 👋🤖

PS:
Are you already a member of the Weaviate Forum?

@Shaurya2k06

Copy link
Copy Markdown
Author

agree

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.

2 participants