Skip to content

Commit b0aa2d5

Browse files
committed
refactor: one more rename
1 parent e68cf07 commit b0aa2d5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

python/cocoindex/op.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def __call__(
9191
class ArgRelationship(Enum):
9292
"""Specifies the relationship between an input argument and the output."""
9393

94-
EMBEDDING_ORIGIN_TEXT = _COCOINDEX_ATTR_PREFIX + "vector_origin_text"
94+
EMBEDDING_ORIGIN_TEXT = _COCOINDEX_ATTR_PREFIX + "embedding_origin_text"
9595
CHUNKS_BASE_TEXT = _COCOINDEX_ATTR_PREFIX + "chunk_base_text"
9696
RECTS_BASE_IMAGE = _COCOINDEX_ATTR_PREFIX + "rects_base_image"
9797

src/base/field_attrs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ pub static CONTENT_MIME_TYPE: &str = concatcp!(COCOINDEX_PREFIX, "content_mime_t
1515
pub static CHUNK_BASE_TEXT: &str = concatcp!(COCOINDEX_PREFIX, "chunk_base_text");
1616

1717
/// Base text for an embedding vector.
18-
pub static _EMBEDDING_ORIGIN_TEXT: &str = concatcp!(COCOINDEX_PREFIX, "vector_origin_text");
18+
pub static _EMBEDDING_ORIGIN_TEXT: &str = concatcp!(COCOINDEX_PREFIX, "embedding_origin_text");

0 commit comments

Comments
 (0)