Skip to content

Add more semantic conventions to query embeddings / query result events#362

Merged
nirga merged 5 commits intotraceloop:mainfrom
paolorechia:feature/semantic-convention-query-events
Jan 25, 2024
Merged

Add more semantic conventions to query embeddings / query result events#362
nirga merged 5 commits intotraceloop:mainfrom
paolorechia:feature/semantic-convention-query-events

Conversation

@paolorechia
Copy link
Copy Markdown
Contributor

No description provided.

@paolorechia
Copy link
Copy Markdown
Contributor Author

@nirga is this what you mean? I merged all of them into a single EventAttributes enum

@paolorechia
Copy link
Copy Markdown
Contributor Author

OK, also standardized it a bit more.

class EventName(Enum):
class EventAttributes(Enum):
# Query Embeddings
VECTOR_DB_QUERY_EMBEDDINGS = "vector_db.query.embeddings"
Copy link
Copy Markdown
Member

@nirga nirga Jan 25, 2024

Choose a reason for hiding this comment

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

What's the difference between VECTOR_DB_QUERY_EMBEDDINGS and VECTOR_DB_QUERY_EMBEDDINGS_VECTOR?

@paolorechia
Copy link
Copy Markdown
Contributor Author

paolorechia commented Jan 25, 2024 via email

@nirga
Copy link
Copy Markdown
Member

nirga commented Jan 25, 2024

@paolorechia ahh got it! So let's put the event name in a separate enum and then have an enum for all event attributes, WDYT?

@paolorechia
Copy link
Copy Markdown
Contributor Author

paolorechia commented Jan 25, 2024 via email

@paolorechia
Copy link
Copy Markdown
Contributor Author

@nirga There we go :)

@nirga nirga merged commit 08a6b8f into traceloop:main Jan 25, 2024
nina-kollman pushed a commit that referenced this pull request Aug 11, 2025
…ts (#362)

Co-authored-by: Nir Gazit <nirga@users.noreply.github.com>
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