mirror of
https://github.com/vxcontrol/langchaingo.git
synced 2026-07-22 01:16:11 -04:00
08132f9598
* feat(vectorstore): add redisvector * feat(vectorstore): add redisvector unit test * deps: go mod tidy --------- Co-authored-by: Travis Cline <travis.cline@gmail.com>
54 lines
1.2 KiB
JSON
54 lines
1.2 KiB
JSON
{
|
|
"numeric": [
|
|
{
|
|
"name": "age",
|
|
"no_index": false,
|
|
"sortable": false
|
|
}
|
|
],
|
|
"text": [
|
|
{
|
|
"name": "user",
|
|
"no_index": false,
|
|
"no_stem": false,
|
|
"sortable": false,
|
|
"weight": 1,
|
|
"withsuffixtrie": false
|
|
},
|
|
{
|
|
"name": "job",
|
|
"no_index": false,
|
|
"no_stem": false,
|
|
"sortable": false,
|
|
"weight": 1,
|
|
"withsuffixtrie": false
|
|
},
|
|
{
|
|
"name": "credit_score",
|
|
"no_index": false,
|
|
"no_stem": false,
|
|
"sortable": false,
|
|
"weight": 1,
|
|
"withsuffixtrie": false
|
|
},
|
|
{
|
|
"name": "content",
|
|
"no_index": false,
|
|
"no_stem": false,
|
|
"sortable": false,
|
|
"weight": 1,
|
|
"withsuffixtrie": false
|
|
}
|
|
],
|
|
"vector": [
|
|
{
|
|
"algorithm": "FLAT",
|
|
"block_size": 1000,
|
|
"datatype": "FLOAT32",
|
|
"dims": 1536,
|
|
"distance_metric": "COSINE",
|
|
"initial_cap": 20000,
|
|
"name": "content_vector"
|
|
}
|
|
]
|
|
} |