mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-06-30 01:30:45 +02:00
minor configuration updates (#3134)
This commit is contained in:
@ -15,7 +15,7 @@ schema DANSWER_CHUNK_NAME {
|
|||||||
# Must have an additional field for whether to skip title embeddings
|
# Must have an additional field for whether to skip title embeddings
|
||||||
# This information cannot be extracted from either the title field nor title embedding
|
# This information cannot be extracted from either the title field nor title embedding
|
||||||
field skip_title type bool {
|
field skip_title type bool {
|
||||||
indexing: attribute
|
indexing: attribute
|
||||||
}
|
}
|
||||||
# May not always match the `semantic_identifier` e.g. for Slack docs the
|
# 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
|
# `semantic_identifier` will be the channel name, but the `title` will be empty
|
||||||
@ -36,7 +36,7 @@ schema DANSWER_CHUNK_NAME {
|
|||||||
}
|
}
|
||||||
# Title embedding (x1)
|
# Title embedding (x1)
|
||||||
field title_embedding type tensor<float>(x[VARIABLE_DIM]) {
|
field title_embedding type tensor<float>(x[VARIABLE_DIM]) {
|
||||||
indexing: attribute
|
indexing: attribute | index
|
||||||
attribute {
|
attribute {
|
||||||
distance-metric: angular
|
distance-metric: angular
|
||||||
}
|
}
|
||||||
@ -44,7 +44,7 @@ schema DANSWER_CHUNK_NAME {
|
|||||||
# Content embeddings (chunk + optional mini chunks embeddings)
|
# Content embeddings (chunk + optional mini chunks embeddings)
|
||||||
# "t" and "x" are arbitrary names, not special keywords
|
# "t" and "x" are arbitrary names, not special keywords
|
||||||
field embeddings type tensor<float>(t{},x[VARIABLE_DIM]) {
|
field embeddings type tensor<float>(t{},x[VARIABLE_DIM]) {
|
||||||
indexing: attribute
|
indexing: attribute | index
|
||||||
attribute {
|
attribute {
|
||||||
distance-metric: angular
|
distance-metric: angular
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user