@nuclia/core
Advanced tools
Comparing version 1.14.7 to 1.14.8
@@ -0,1 +1,12 @@ | ||
# 1.14.8 (2024-04-29) | ||
### Improvements | ||
- Improve HTTP 429 errors handling on resource modification and deletion | ||
- Support `max_tokens` on `/chat` endpoint | ||
### Bug fix | ||
- Prevent `normalizeSchemaProperty` to crash when the `LearningConfigurations` contains null values. | ||
# 1.14.7 (2024-04-19) | ||
@@ -2,0 +13,0 @@ |
@@ -90,2 +90,3 @@ export type AccountTypes = 'stash-trial' | 'v3starter' | 'v3fly' | 'v3growth' | 'v3enterprise' | 'stash-basic' | 'stash-team' | 'stash-startup' | 'stash-starter' | 'stash-growth' | 'stash-enterprise' | 'stash-developer' | 'stash-business'; | ||
output: number | null; | ||
image: number | null; | ||
}; | ||
@@ -109,2 +110,3 @@ } | ||
output: number | null; | ||
image: number | null; | ||
}; | ||
@@ -111,0 +113,0 @@ } |
@@ -221,2 +221,3 @@ import type { Observable } from 'rxjs'; | ||
hideThumbnails?: boolean; | ||
displayFieldList?: boolean; | ||
knowledgeGraph?: boolean; | ||
@@ -223,0 +224,0 @@ useSynonyms?: boolean; |
@@ -8,2 +8,2 @@ import type { Classification, TokenAnnotation, UserFieldMetadata } from './resource.models'; | ||
export declare const lengthUnicode: (str: string | undefined) => number; | ||
export declare const resourceRetryConfig: RetryConfig; | ||
export declare const retry429Config: (maxWaitOn429?: number) => RetryConfig; |
@@ -52,2 +52,6 @@ import type { ExtractedDataTypes, FIELD_TYPE, FieldId, IFieldData, IResource, RelationEntityType, RelationType } from '../resource'; | ||
rephrase?: boolean; | ||
/** | ||
* Defines the maximum number of tokens that the model will generate. | ||
*/ | ||
max_tokens?: number; | ||
} | ||
@@ -54,0 +58,0 @@ export interface SearchOptions extends BaseSearchOptions { |
import { Observable } from 'rxjs'; | ||
import type { INuclia } from '../models'; | ||
import type { ICreateResource } from './resource'; | ||
import { ICreateResource } from './resource'; | ||
export interface UploadResponse { | ||
@@ -5,0 +5,0 @@ resource?: string; |
{ | ||
"name": "@nuclia/core", | ||
"version": "1.14.7", | ||
"version": "1.14.8", | ||
"description": "SDK allowing to integrate Nuclia services in your frontend application", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -90,2 +90,3 @@ export type AccountTypes = 'stash-trial' | 'v3starter' | 'v3fly' | 'v3growth' | 'v3enterprise' | 'stash-basic' | 'stash-team' | 'stash-startup' | 'stash-starter' | 'stash-growth' | 'stash-enterprise' | 'stash-developer' | 'stash-business'; | ||
output: number | null; | ||
image: number | null; | ||
}; | ||
@@ -109,2 +110,3 @@ } | ||
output: number | null; | ||
image: number | null; | ||
}; | ||
@@ -111,0 +113,0 @@ } |
@@ -221,2 +221,3 @@ import type { Observable } from 'rxjs'; | ||
hideThumbnails?: boolean; | ||
displayFieldList?: boolean; | ||
knowledgeGraph?: boolean; | ||
@@ -223,0 +224,0 @@ useSynonyms?: boolean; |
@@ -8,2 +8,2 @@ import type { Classification, TokenAnnotation, UserFieldMetadata } from './resource.models'; | ||
export declare const lengthUnicode: (str: string | undefined) => number; | ||
export declare const resourceRetryConfig: RetryConfig; | ||
export declare const retry429Config: (maxWaitOn429?: number) => RetryConfig; |
@@ -52,2 +52,6 @@ import type { ExtractedDataTypes, FIELD_TYPE, FieldId, IFieldData, IResource, RelationEntityType, RelationType } from '../resource'; | ||
rephrase?: boolean; | ||
/** | ||
* Defines the maximum number of tokens that the model will generate. | ||
*/ | ||
max_tokens?: number; | ||
} | ||
@@ -54,0 +58,0 @@ export interface SearchOptions extends BaseSearchOptions { |
import { Observable } from 'rxjs'; | ||
import type { INuclia } from '../models'; | ||
import type { ICreateResource } from './resource'; | ||
import { ICreateResource } from './resource'; | ||
export interface UploadResponse { | ||
@@ -5,0 +5,0 @@ resource?: string; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
481203
9409