-
Notifications
You must be signed in to change notification settings - Fork 742
fix(milvus): Added New Semantic Conventions for pymilvus MilvusClient Hybrid Search #2944
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
fix(milvus): Added New Semantic Conventions for pymilvus MilvusClient Hybrid Search #2944
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Caution
Changes requested ❌
Reviewed everything up to 4372453 in 1 minute and 59 seconds. Click for details.
- Reviewed
42
lines of code in3
files - Skipped
0
files when reviewing. - Skipped posting
2
draft comments. View those below. - Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. packages/opentelemetry-semantic-conventions-ai/opentelemetry/semconv_ai/__init__.py:205
- Draft comment:
The constant 'MILVUS_HYBRID_SEARCH_RESULT_COUNT' is defined twice (lines 205 and 213). Please remove or rename the duplicate to avoid ambiguity. - Reason this comment was not posted:
Marked as duplicate.
2. packages/opentelemetry-semantic-conventions-ai/opentelemetry/semconv_ai/__init__.py:212
- Draft comment:
The constant 'MILVUS_HYBRID_SEARCH_PARTITION_NAMES' is assigned the value 'db.milvus.hybrid_search.partition_names_count'. This appears inconsistent with the naming pattern and might be a copy-paste error. Please verify if this is intentional or if it should be corrected (e.g., to 'db.milvus.hybrid_search.partition_names'). - Reason this comment was not posted:
Marked as duplicate.
Workflow ID: wflow_JD54LBJ3xMpwYMRw
You can customize by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.
packages/opentelemetry-semantic-conventions-ai/opentelemetry/semconv_ai/__init__.py
Outdated
Show resolved
Hide resolved
MILVUS_HYBRID_SEARCH_OUTPUT_FIELDS_COUNT = "db.milvus.hybrid_search.output_fields_count" | ||
MILVUS_HYBRID_SEARCH_PARTITION_NAMES_COUNT = "db.milvus.hybrid_search.partition_names_count" | ||
MILVUS_HYBRID_SEARCH_TIMEOUT = "db.milvus.hybrid_search.timeout" | ||
MILVUS_HYBRID_SEARCH_PARTITION_NAMES = "db.milvus.hybrid_search.partition_names_count" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The attribute MILVUS_HYBRID_SEARCH_PARTITION_NAMES
is assigned the value db.milvus.hybrid_search.partition_names_count
. This looks like a copy-paste error—likely it should use a distinct value (e.g. db.milvus.hybrid_search.partition_names
).
MILVUS_HYBRID_SEARCH_PARTITION_NAMES = "db.milvus.hybrid_search.partition_names_count" | |
MILVUS_HYBRID_SEARCH_PARTITION_NAMES = "db.milvus.hybrid_search.partition_names" |
25ac267
to
73c4f5f
Compare
Fixes: #2937
feat(instrumentation): ...
orfix(instrumentation): ...
.Important
Added new semantic conventions for Milvus hybrid search and updated version to 0.4.9.
SpanAttributes
in__init__.py
.MILVUS_HYBRID_SEARCH_RESULT_COUNT
inSpanAttributes
in__init__.py
.0.4.9
inversion.py
andpyproject.toml
.This description was created by
for 4372453. You can customize this summary. It will automatically update as commits are pushed.