Created
November 10, 2024 10:33
-
-
Save numpde/e024e3a92584e246beeda4bce11ded02 to your computer and use it in GitHub Desktop.
WA/TA: Typesense collection for an issue tracker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "issues", | |
"fields": [ | |
{ | |
"name": "thread_id", | |
"type": "string", | |
"facet": true, | |
"optional": false, | |
"index": true, | |
"sort": false, | |
"infix": false, | |
"locale": "" | |
}, | |
{ | |
"name": "client_id", | |
"type": "string", | |
"facet": true, | |
"optional": false, | |
"index": true, | |
"sort": false, | |
"infix": false, | |
"locale": "" | |
}, | |
{ | |
"name": "business_id", | |
"type": "string", | |
"facet": true, | |
"optional": false, | |
"index": true, | |
"sort": false, | |
"infix": false, | |
"locale": "" | |
}, | |
{ | |
"name": "subtopic", | |
"type": "string", | |
"facet": true, | |
"optional": true, | |
"index": true, | |
"sort": false, | |
"infix": true, | |
"locale": "" | |
}, | |
{ | |
"name": "created_at", | |
"type": "int64", | |
"facet": false, | |
"optional": false, | |
"index": true, | |
"sort": true, | |
"infix": false, | |
"locale": "" | |
}, | |
{ | |
"name": "updated_at", | |
"type": "int64", | |
"facet": false, | |
"optional": false, | |
"index": true, | |
"sort": true, | |
"infix": false, | |
"locale": "" | |
}, | |
{ | |
"name": "status", | |
"type": "string", | |
"facet": true, | |
"optional": false, | |
"index": true, | |
"sort": false, | |
"infix": false, | |
"locale": "" | |
}, | |
{ | |
"name": "priority", | |
"type": "int32", | |
"facet": true, | |
"optional": true, | |
"index": true, | |
"sort": true, | |
"infix": false, | |
"locale": "" | |
}, | |
{ | |
"name": "assigned_agent", | |
"type": "string", | |
"facet": true, | |
"optional": true, | |
"index": true, | |
"sort": false, | |
"infix": false, | |
"locale": "" | |
}, | |
{ | |
"name": "summary", | |
"type": "string", | |
"facet": false, | |
"optional": true, | |
"index": true, | |
"sort": false, | |
"infix": true, | |
"locale": "" | |
}, | |
{ | |
"name": "embedding", | |
"type": "float[]", | |
"facet": false, | |
"optional": false, | |
"index": true, | |
"sort": false, | |
"infix": false, | |
"locale": "", | |
"embed": { | |
"from": [ | |
"subtopic", | |
"summary" | |
], | |
"model_config": { | |
"api_key": "sk-pr***************************************************************************************************************************************************************", | |
"model_name": "openai/text-embedding-3-small" | |
} | |
}, | |
"num_dim": 1536, | |
"vec_dist": "cosine" | |
} | |
], | |
"default_sorting_field": "updated_at", | |
"enable_nested_fields": false, | |
"symbols_to_index": [], | |
"token_separators": [] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment