Skip to content

Commit

Permalink
fix: embedding model name should be span attribute (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
RogerHYang authored Jan 11, 2024
1 parent 82c5d83 commit bf6579b
Showing 1 changed file with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ class SpanAttributes:
"""
A list of objects containing embedding data, including the vector and represented piece of text.
"""
EMBEDDING_MODEL_NAME = "embedding.model_name"
"""
The name of the embedding model.
"""

LLM_FUNCTION_CALL = "llm.function_call"
"""
Expand Down Expand Up @@ -178,14 +182,6 @@ class EmbeddingAttributes:
Attributes for an embedding
"""

EMBEDDING_EMBEDDINGS = "embedding.embeddings"
"""
A list of objects containing embedding data, including the vector and represented piece of text.
"""
EMBEDDING_MODEL_NAME = "embedding.model_name"
"""
The name of the embedding model.
"""
EMBEDDING_TEXT = "embedding.text"
"""
The text represented by the embedding.
Expand Down

0 comments on commit bf6579b

Please sign in to comment.