@spotto/contract 1.0.70-alpha.20 → 1.0.70-alpha.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
* refining a query made seconds ago, one saved last month, or one built by
|
|
8
8
|
* clicking filter pills are all the identical call.
|
|
9
9
|
*/
|
|
10
|
+
import { SemanticQueryEntityType } from '../../semantic-queries/shared';
|
|
10
11
|
export interface PostAiSemanticQueryRequest {
|
|
11
12
|
/**
|
|
12
13
|
* What the user asked for, in natural language — a fresh query ("blood
|
|
@@ -21,6 +22,18 @@ export interface PostAiSemanticQueryRequest {
|
|
|
21
22
|
* `query`-kind records refine; anything else starts fresh.
|
|
22
23
|
*/
|
|
23
24
|
baseQueryId?: string;
|
|
25
|
+
/**
|
|
26
|
+
* WHICH list to build a query for — which vocabulary the model is shown and
|
|
27
|
+
* the compiler gates against. Defaults to `asset`, what this endpoint has
|
|
28
|
+
* always meant.
|
|
29
|
+
*
|
|
30
|
+
* Only entities the language actually speaks are accepted, and the refusal
|
|
31
|
+
* is loud. Falling back to assets for an entity with no preamble would
|
|
32
|
+
* generate a valid ASSET query from a location question: it compiles, it
|
|
33
|
+
* runs, and it returns a plausible list of the wrong kind of record — the
|
|
34
|
+
* silent-wrong-rows failure this whole surface is built to prevent.
|
|
35
|
+
*/
|
|
36
|
+
entityType?: SemanticQueryEntityType;
|
|
24
37
|
/**
|
|
25
38
|
* IANA timezone for "today" in the prompt and for the draft's relative-date
|
|
26
39
|
* resolution — recorded on the registered record exactly as a hand-built
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spotto/contract",
|
|
3
3
|
"license": "ISC",
|
|
4
|
-
"version": "1.0.70-alpha.
|
|
4
|
+
"version": "1.0.70-alpha.21",
|
|
5
5
|
"description": "Spotto's API Contract type definitions",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"files": [
|
|
@@ -18,5 +18,5 @@
|
|
|
18
18
|
"@types/geojson": "^7946.0.11",
|
|
19
19
|
"shx": "^0.3.4"
|
|
20
20
|
},
|
|
21
|
-
"gitHead": "
|
|
21
|
+
"gitHead": "f4b9aa917dee5e07a6b8c1442dd98a4e15cd2b89"
|
|
22
22
|
}
|