Skip to content

Commit

Permalink
minor configuration updates
Browse files Browse the repository at this point in the history
  • Loading branch information
pablonyx committed Nov 14, 2024
1 parent 21d5cc4 commit 0883f16
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ schema DANSWER_CHUNK_NAME {
# Must have an additional field for whether to skip title embeddings
# This information cannot be extracted from either the title field nor title embedding
field skip_title type bool {
indexing: attribute
indexing: attribute
}
# May not always match the `semantic_identifier` e.g. for Slack docs the
# `semantic_identifier` will be the channel name, but the `title` will be empty
Expand All @@ -36,15 +36,15 @@ schema DANSWER_CHUNK_NAME {
}
# Title embedding (x1)
field title_embedding type tensor<float>(x[VARIABLE_DIM]) {
indexing: attribute
indexing: attribute | index
attribute {
distance-metric: angular
}
}
# Content embeddings (chunk + optional mini chunks embeddings)
# "t" and "x" are arbitrary names, not special keywords
field embeddings type tensor<float>(t{},x[VARIABLE_DIM]) {
indexing: attribute
indexing: attribute | index
attribute {
distance-metric: angular
}
Expand Down

0 comments on commit 0883f16

Please sign in to comment.