We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0bcce2 commit 67a50b0Copy full SHA for 67a50b0
specification/_types/query_dsl/WeightedTokensQuery.ts
@@ -18,7 +18,7 @@
18
*/
19
20
import { float } from '@_types/Numeric'
21
-import { SingleKeyDictionary } from '@spec_utils/Dictionary'
+import { Dictionary } from '@spec_utils/Dictionary'
22
import { QueryBase } from './abstractions'
23
import { TokenPruningConfig } from './TokenPruningConfig'
24
@@ -27,7 +27,7 @@ import { TokenPruningConfig } from './TokenPruningConfig'
27
28
export class WeightedTokensQuery extends QueryBase {
29
/** The tokens representing this query */
30
- tokens: SingleKeyDictionary<string, float>[]
+ tokens: Dictionary<string, float> | Dictionary<string, float>[]
31
/** Token pruning configurations */
32
pruning_config?: TokenPruningConfig
33
}
0 commit comments