@salesforce/lds-adapters-service-einsteinllm 0.1.0-dev1
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.
- package/LICENSE.txt +82 -0
- package/dist/es/es2018/service-einsteinllm.js +5967 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/createEmbeddings.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/createFeedback.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/adapters/createGenerations.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/adapters/createGenerationsForPromptTemplate.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/adapters/createPromptTemplate.d.ts +23 -0
- package/dist/es/es2018/types/src/generated/adapters/createPromptTemplateVersion.d.ts +24 -0
- package/dist/es/es2018/types/src/generated/adapters/getDataProviderInstanceConfig.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/adapters/getDataProviderTypeConfigs.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/getDataProviders.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/getInputMappedDataProviders.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/adapters/getOutputLanguages.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/getPromptTemplate.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getPromptTemplates.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/adapters/putEinsteinPromptTemplateVersionStatus.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/adapters/updatePromptTemplateVersion.d.ts +25 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +24 -0
- package/dist/es/es2018/types/src/generated/resources/getEinsteinPromptTemplateOutputLanguagesByPromptTemplateDevName.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/resources/getEinsteinPromptTemplates.d.ts +22 -0
- package/dist/es/es2018/types/src/generated/resources/getEinsteinPromptTemplatesByPromptTemplateDevName.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/getEinsteinPromptTemplatesDataProviderTypesByTemplateType.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getEinsteinPromptTemplatesDataProvidersByTemplateType.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/resources/postEinsteinLlmEmbeddings.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/postEinsteinLlmFeedback.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/resources/postEinsteinLlmPromptGenerations.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/resources/postEinsteinPromptTemplates.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/resources/postEinsteinPromptTemplatesDataProviderDescribe.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/resources/postEinsteinPromptTemplatesDataProvidersMapped.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/postEinsteinPromptTemplatesGenerationsByPromptTemplateDevName.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/resources/postEinsteinPromptTemplatesVersionsByPromptTemplateDevName.d.ts +23 -0
- package/dist/es/es2018/types/src/generated/resources/putEinsteinPromptTemplatesVersionsByPromptTemplateDevNameAndVersionId.d.ts +24 -0
- package/dist/es/es2018/types/src/generated/resources/putEinsteinPromptTemplatesVersionsStatusByPromptTemplateDevNameAndVersionId.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinLlmAdditionalConfigInputRepresentation.d.ts +59 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinLlmEmbeddingItemRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinLlmEmbeddingsAdditionalConfigInputRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinLlmEmbeddingsInputRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinLlmEmbeddingsRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinLlmEmbeddingsWrapperRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinLlmFeedbackInputRepresentation.d.ts +44 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinLlmFeedbackRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinLlmFeedbackWrapperRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinLlmGenerationCitationRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinLlmGenerationGenAiCitedReferenceRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinLlmGenerationItemRepresentation.d.ts +45 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinLlmGenerationsContentQualityRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinLlmGenerationsInputRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinLlmGenerationsInputWrapperRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinLlmGenerationsRepresentation.d.ts +49 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinLlmGenerationsSafetyScoreRepresentation.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinPromptRecordCollectionOutputRepresentation.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinPromptRecordFieldRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinPromptRecordInputRepresentation.d.ts +48 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinPromptRecordRepresentation.d.ts +47 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinPromptTemplateAttachmentExclusionInfoRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinPromptTemplateAttachmentRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinPromptTemplateGenerationsErrorRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinPromptTemplateGenerationsInputRepresentation.d.ts +45 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinPromptTemplateGenerationsInputWrapperRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinPromptTemplateGenerationsRepresentation.d.ts +81 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinPromptTemplateMaskContentRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinPromptTemplateMaskDataRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinPromptTemplateMaskSettingsRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinPromptTemplateRepresentation.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinPromptTemplateSupportedLanguageErrorRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinPromptTemplateSupportedLanguageRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinPromptTemplateVersionOutputLanguagesRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/PromptTemplateDataProviderDiscoveryInputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/PromptTemplateDataProviderInputParamRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/PromptTemplateDataProviderInstanceConfigCollectionRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/PromptTemplateDataProviderInstanceConfigInputRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/PromptTemplateDataProviderInstanceConfigRepresentation.d.ts +77 -0
- package/dist/es/es2018/types/src/generated/types/PromptTemplateDataProviderOutputParamRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/PromptTemplateDataProviderTypeConfigCollectionRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/PromptTemplateDataProviderTypeConfigRepresentation.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/types/WrappedListString.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/WrappedMap.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/WrappedValue.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/WrappedValueMap.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
- package/package.json +76 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +6102 -0
- package/src/raml/api.raml +1228 -0
- package/src/raml/luvio.raml +122 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "6458d624e5a1691821c764b6de0badb3";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: EinsteinPromptTemplateGenerationsErrorRepresentation, existing: EinsteinPromptTemplateGenerationsErrorRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EinsteinPromptTemplateGenerationsErrorRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: EinsteinPromptTemplateGenerationsErrorRepresentationNormalized, incoming: EinsteinPromptTemplateGenerationsErrorRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: EinsteinPromptTemplateGenerationsErrorRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Error output of a EinsteinPromptTemplateGeneration request
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface EinsteinPromptTemplateGenerationsErrorRepresentationNormalized {
|
|
17
|
+
/** This is the error message meant for client consumption. It may differ from the Gateway Error Message */
|
|
18
|
+
errorMessage: string;
|
|
19
|
+
/** HTTP Error Code classifying the error */
|
|
20
|
+
httpErrorCode: string;
|
|
21
|
+
/** This is the localized error message. */
|
|
22
|
+
localizedErrorMessage?: string;
|
|
23
|
+
/** The message code received from the LLM Gateway */
|
|
24
|
+
messageCode: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Error output of a EinsteinPromptTemplateGeneration request
|
|
28
|
+
*
|
|
29
|
+
* Keys:
|
|
30
|
+
* (none)
|
|
31
|
+
*/
|
|
32
|
+
export interface EinsteinPromptTemplateGenerationsErrorRepresentation {
|
|
33
|
+
errorMessage: string;
|
|
34
|
+
httpErrorCode: string;
|
|
35
|
+
localizedErrorMessage?: string;
|
|
36
|
+
messageCode: string;
|
|
37
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { EinsteinLlmAdditionalConfigInputRepresentation as EinsteinLlmAdditionalConfigInputRepresentation_EinsteinLlmAdditionalConfigInputRepresentation } from './EinsteinLlmAdditionalConfigInputRepresentation';
|
|
2
|
+
import { WrappedValueMap as WrappedValueMap_WrappedValueMap } from './WrappedValueMap';
|
|
3
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
4
|
+
export declare const VERSION = "a2cd7e0282d520ef2004c8eb2a8178b1";
|
|
5
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
|
+
export declare const RepresentationType: string;
|
|
7
|
+
export declare function normalize(input: EinsteinPromptTemplateGenerationsInputRepresentation, existing: EinsteinPromptTemplateGenerationsInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EinsteinPromptTemplateGenerationsInputRepresentationNormalized;
|
|
8
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
9
|
+
export declare function equals(existing: EinsteinPromptTemplateGenerationsInputRepresentationNormalized, incoming: EinsteinPromptTemplateGenerationsInputRepresentationNormalized): boolean;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: EinsteinPromptTemplateGenerationsInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
12
|
+
/**
|
|
13
|
+
* Input representation for generating prompt template responses with Einstein LLM
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface EinsteinPromptTemplateGenerationsInputRepresentationNormalized {
|
|
19
|
+
/** Additional configuration to fine tune model parameters */
|
|
20
|
+
additionalConfig?: EinsteinLlmAdditionalConfigInputRepresentation_EinsteinLlmAdditionalConfigInputRepresentation;
|
|
21
|
+
/** Dictionary of input parameters to generate prompt from prompt template. */
|
|
22
|
+
inputParams: WrappedValueMap_WrappedValueMap;
|
|
23
|
+
/** Whether to generate prompt template preview by resolving merge fields */
|
|
24
|
+
isPreview: boolean;
|
|
25
|
+
/** Output Language */
|
|
26
|
+
outputLanguage?: string;
|
|
27
|
+
/** LLM Provider */
|
|
28
|
+
provider?: string;
|
|
29
|
+
/** When this flag is true, mergeFieldInformation will be added to the LLM Generations Response output, which will be used to show annotations in the resolved prompt. */
|
|
30
|
+
showGroundingMetadataInResolvedPrompt?: boolean;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Input representation for generating prompt template responses with Einstein LLM
|
|
34
|
+
*
|
|
35
|
+
* Keys:
|
|
36
|
+
* (none)
|
|
37
|
+
*/
|
|
38
|
+
export interface EinsteinPromptTemplateGenerationsInputRepresentation {
|
|
39
|
+
additionalConfig?: EinsteinLlmAdditionalConfigInputRepresentation_EinsteinLlmAdditionalConfigInputRepresentation;
|
|
40
|
+
inputParams: WrappedValueMap_WrappedValueMap;
|
|
41
|
+
isPreview: boolean;
|
|
42
|
+
outputLanguage?: string;
|
|
43
|
+
provider?: string;
|
|
44
|
+
showGroundingMetadataInResolvedPrompt?: boolean;
|
|
45
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { EinsteinPromptTemplateGenerationsInputRepresentation as EinsteinPromptTemplateGenerationsInputRepresentation_EinsteinPromptTemplateGenerationsInputRepresentation } from './EinsteinPromptTemplateGenerationsInputRepresentation';
|
|
2
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "0aed7a000488d7cbb2dc18d8d5900f16";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: EinsteinPromptTemplateGenerationsInputWrapperRepresentation, existing: EinsteinPromptTemplateGenerationsInputWrapperRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EinsteinPromptTemplateGenerationsInputWrapperRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: EinsteinPromptTemplateGenerationsInputWrapperRepresentationNormalized, incoming: EinsteinPromptTemplateGenerationsInputWrapperRepresentationNormalized): boolean;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: EinsteinPromptTemplateGenerationsInputWrapperRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Input wrapper for prompt template generations input representation
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface EinsteinPromptTemplateGenerationsInputWrapperRepresentationNormalized {
|
|
18
|
+
promptTemplateGenerationsInput: EinsteinPromptTemplateGenerationsInputRepresentation_EinsteinPromptTemplateGenerationsInputRepresentation;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Input wrapper for prompt template generations input representation
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface EinsteinPromptTemplateGenerationsInputWrapperRepresentation {
|
|
27
|
+
promptTemplateGenerationsInput: EinsteinPromptTemplateGenerationsInputRepresentation_EinsteinPromptTemplateGenerationsInputRepresentation;
|
|
28
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { EinsteinLlmGenerationCitationRepresentation as EinsteinLlmGenerationCitationRepresentation_EinsteinLlmGenerationCitationRepresentation } from './EinsteinLlmGenerationCitationRepresentation';
|
|
2
|
+
import { EinsteinPromptTemplateAttachmentRepresentation as EinsteinPromptTemplateAttachmentRepresentation_EinsteinPromptTemplateAttachmentRepresentation } from './EinsteinPromptTemplateAttachmentRepresentation';
|
|
3
|
+
import { EinsteinPromptTemplateGenerationsErrorRepresentation as EinsteinPromptTemplateGenerationsErrorRepresentation_EinsteinPromptTemplateGenerationsErrorRepresentation } from './EinsteinPromptTemplateGenerationsErrorRepresentation';
|
|
4
|
+
import { EinsteinLlmGenerationItemRepresentation as EinsteinLlmGenerationItemRepresentation_EinsteinLlmGenerationItemRepresentation } from './EinsteinLlmGenerationItemRepresentation';
|
|
5
|
+
import { WrappedMap as WrappedMap_WrappedMap } from './WrappedMap';
|
|
6
|
+
import { EinsteinPromptTemplateMaskContentRepresentation as EinsteinPromptTemplateMaskContentRepresentation_EinsteinPromptTemplateMaskContentRepresentation } from './EinsteinPromptTemplateMaskContentRepresentation';
|
|
7
|
+
import { EinsteinPromptTemplateMaskDataRepresentation as EinsteinPromptTemplateMaskDataRepresentation_EinsteinPromptTemplateMaskDataRepresentation } from './EinsteinPromptTemplateMaskDataRepresentation';
|
|
8
|
+
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
9
|
+
export declare const TTL = 100;
|
|
10
|
+
export declare const VERSION = "25461f267931be0754b36e2788461191";
|
|
11
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
12
|
+
export declare const RepresentationType: string;
|
|
13
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
14
|
+
requestId: string;
|
|
15
|
+
}
|
|
16
|
+
export type EinsteinPromptTemplateGenerationsRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
17
|
+
export type PartialEinsteinPromptTemplateGenerationsRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
18
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
19
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): EinsteinPromptTemplateGenerationsRepresentationNormalizedKeyMetadata;
|
|
20
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: EinsteinPromptTemplateGenerationsRepresentation): string;
|
|
21
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: EinsteinPromptTemplateGenerationsRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
22
|
+
export declare function normalize(input: EinsteinPromptTemplateGenerationsRepresentation, existing: EinsteinPromptTemplateGenerationsRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EinsteinPromptTemplateGenerationsRepresentationNormalized;
|
|
23
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
24
|
+
export declare function equals(existing: EinsteinPromptTemplateGenerationsRepresentationNormalized, incoming: EinsteinPromptTemplateGenerationsRepresentationNormalized): boolean;
|
|
25
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
26
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: EinsteinPromptTemplateGenerationsRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
27
|
+
/**
|
|
28
|
+
* Output of a einstein llm generations response for given prompt template
|
|
29
|
+
*
|
|
30
|
+
* Keys:
|
|
31
|
+
* requestId (string): requestId
|
|
32
|
+
*/
|
|
33
|
+
export interface EinsteinPromptTemplateGenerationsRepresentationNormalized {
|
|
34
|
+
citations?: EinsteinLlmGenerationCitationRepresentation_EinsteinLlmGenerationCitationRepresentation;
|
|
35
|
+
/** file info of the input files used in generation */
|
|
36
|
+
fileData?: Array<EinsteinPromptTemplateAttachmentRepresentation_EinsteinPromptTemplateAttachmentRepresentation>;
|
|
37
|
+
/** generated prompt template generationErrors */
|
|
38
|
+
generationErrors?: Array<EinsteinPromptTemplateGenerationsErrorRepresentation_EinsteinPromptTemplateGenerationsErrorRepresentation>;
|
|
39
|
+
/** List of generated text */
|
|
40
|
+
generations: Array<EinsteinLlmGenerationItemRepresentation_EinsteinLlmGenerationItemRepresentation>;
|
|
41
|
+
/** merge field information mapping used for annotations in the resolved prompt */
|
|
42
|
+
mergeFieldInformation?: {
|
|
43
|
+
[key: string]: unknown;
|
|
44
|
+
};
|
|
45
|
+
/** Any provider specific attributes will be included as part of this object */
|
|
46
|
+
parameters: WrappedMap_WrappedMap | null;
|
|
47
|
+
/** Prompt used for the generation */
|
|
48
|
+
prompt: string | null;
|
|
49
|
+
/** generated prompt template promptTemplateDevName */
|
|
50
|
+
promptTemplateDevName: string;
|
|
51
|
+
/** ID of the generation request */
|
|
52
|
+
requestId: string;
|
|
53
|
+
/** generated prompt template RequestMessages */
|
|
54
|
+
requestMessages?: Array<EinsteinPromptTemplateMaskContentRepresentation_EinsteinPromptTemplateMaskContentRepresentation>;
|
|
55
|
+
/** generated prompt template ResponseMessages */
|
|
56
|
+
responseMessages?: Array<EinsteinPromptTemplateMaskContentRepresentation_EinsteinPromptTemplateMaskContentRepresentation>;
|
|
57
|
+
/** generated prompt template slotsMaskingInformation */
|
|
58
|
+
slotsMaskingInformation?: Array<EinsteinPromptTemplateMaskDataRepresentation_EinsteinPromptTemplateMaskDataRepresentation>;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Output of a einstein llm generations response for given prompt template
|
|
62
|
+
*
|
|
63
|
+
* Keys:
|
|
64
|
+
* requestId (string): requestId
|
|
65
|
+
*/
|
|
66
|
+
export interface EinsteinPromptTemplateGenerationsRepresentation {
|
|
67
|
+
citations?: EinsteinLlmGenerationCitationRepresentation_EinsteinLlmGenerationCitationRepresentation;
|
|
68
|
+
fileData?: Array<EinsteinPromptTemplateAttachmentRepresentation_EinsteinPromptTemplateAttachmentRepresentation>;
|
|
69
|
+
generationErrors?: Array<EinsteinPromptTemplateGenerationsErrorRepresentation_EinsteinPromptTemplateGenerationsErrorRepresentation>;
|
|
70
|
+
generations: Array<EinsteinLlmGenerationItemRepresentation_EinsteinLlmGenerationItemRepresentation>;
|
|
71
|
+
mergeFieldInformation?: {
|
|
72
|
+
[key: string]: unknown;
|
|
73
|
+
};
|
|
74
|
+
parameters: WrappedMap_WrappedMap | null;
|
|
75
|
+
prompt: string | null;
|
|
76
|
+
promptTemplateDevName: string;
|
|
77
|
+
requestId: string;
|
|
78
|
+
requestMessages?: Array<EinsteinPromptTemplateMaskContentRepresentation_EinsteinPromptTemplateMaskContentRepresentation>;
|
|
79
|
+
responseMessages?: Array<EinsteinPromptTemplateMaskContentRepresentation_EinsteinPromptTemplateMaskContentRepresentation>;
|
|
80
|
+
slotsMaskingInformation?: Array<EinsteinPromptTemplateMaskDataRepresentation_EinsteinPromptTemplateMaskDataRepresentation>;
|
|
81
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { EinsteinPromptTemplateMaskSettingsRepresentation as EinsteinPromptTemplateMaskSettingsRepresentation_EinsteinPromptTemplateMaskSettingsRepresentation } from './EinsteinPromptTemplateMaskSettingsRepresentation';
|
|
2
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "92ad1abd0e2a60bc36941409cadda7e2";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: EinsteinPromptTemplateMaskContentRepresentation, existing: EinsteinPromptTemplateMaskContentRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EinsteinPromptTemplateMaskContentRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: EinsteinPromptTemplateMaskContentRepresentationNormalized, incoming: EinsteinPromptTemplateMaskContentRepresentationNormalized): boolean;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: EinsteinPromptTemplateMaskContentRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Output of a einstein mask data request and response for given prompt template
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface EinsteinPromptTemplateMaskContentRepresentationNormalized {
|
|
18
|
+
/** content value */
|
|
19
|
+
content: string;
|
|
20
|
+
/** moderationSettings value */
|
|
21
|
+
moderationSettings?: EinsteinPromptTemplateMaskSettingsRepresentation_EinsteinPromptTemplateMaskSettingsRepresentation | null;
|
|
22
|
+
/** RoleEnum value */
|
|
23
|
+
role?: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Output of a einstein mask data request and response for given prompt template
|
|
27
|
+
*
|
|
28
|
+
* Keys:
|
|
29
|
+
* (none)
|
|
30
|
+
*/
|
|
31
|
+
export interface EinsteinPromptTemplateMaskContentRepresentation {
|
|
32
|
+
content: string;
|
|
33
|
+
moderationSettings?: EinsteinPromptTemplateMaskSettingsRepresentation_EinsteinPromptTemplateMaskSettingsRepresentation | null;
|
|
34
|
+
role?: string;
|
|
35
|
+
}
|
package/dist/es/es2018/types/src/generated/types/EinsteinPromptTemplateMaskDataRepresentation.d.ts
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "507a815605f8d30ae9b52b0ec513d25e";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: EinsteinPromptTemplateMaskDataRepresentation, existing: EinsteinPromptTemplateMaskDataRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EinsteinPromptTemplateMaskDataRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: EinsteinPromptTemplateMaskDataRepresentationNormalized, incoming: EinsteinPromptTemplateMaskDataRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: EinsteinPromptTemplateMaskDataRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Output of a einstein mask data response for given prompt template
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface EinsteinPromptTemplateMaskDataRepresentationNormalized {
|
|
17
|
+
/** original field value */
|
|
18
|
+
originalValue: string;
|
|
19
|
+
/** placeholder value */
|
|
20
|
+
placeHolder: string;
|
|
21
|
+
/** recognizers */
|
|
22
|
+
recognizers: Array<string>;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Output of a einstein mask data response for given prompt template
|
|
26
|
+
*
|
|
27
|
+
* Keys:
|
|
28
|
+
* (none)
|
|
29
|
+
*/
|
|
30
|
+
export interface EinsteinPromptTemplateMaskDataRepresentation {
|
|
31
|
+
originalValue: string;
|
|
32
|
+
placeHolder: string;
|
|
33
|
+
recognizers: Array<string>;
|
|
34
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "7c417ce44e4bc05dfcc454e6825590e8";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: EinsteinPromptTemplateMaskSettingsRepresentation, existing: EinsteinPromptTemplateMaskSettingsRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EinsteinPromptTemplateMaskSettingsRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: EinsteinPromptTemplateMaskSettingsRepresentationNormalized, incoming: EinsteinPromptTemplateMaskSettingsRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: EinsteinPromptTemplateMaskSettingsRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Output of a einstein mask data moderation setting for given prompt template
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface EinsteinPromptTemplateMaskSettingsRepresentationNormalized {
|
|
17
|
+
/** enable moderation value */
|
|
18
|
+
enableModeration: boolean;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Output of a einstein mask data moderation setting for given prompt template
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface EinsteinPromptTemplateMaskSettingsRepresentation {
|
|
27
|
+
enableModeration: boolean;
|
|
28
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { WrappedMap as WrappedMap_WrappedMap } from './WrappedMap';
|
|
2
|
+
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const TTL = 100;
|
|
4
|
+
export declare const VERSION = "a90a51578e2fdd7a9741d310bed22b1d";
|
|
5
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
|
+
export declare const RepresentationType: string;
|
|
7
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
8
|
+
versionId: string;
|
|
9
|
+
}
|
|
10
|
+
export type EinsteinPromptTemplateRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export type PartialEinsteinPromptTemplateRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
12
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
13
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): EinsteinPromptTemplateRepresentationNormalizedKeyMetadata;
|
|
14
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: EinsteinPromptTemplateRepresentation): string;
|
|
15
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: EinsteinPromptTemplateRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
16
|
+
export declare function normalize(input: EinsteinPromptTemplateRepresentation, existing: EinsteinPromptTemplateRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EinsteinPromptTemplateRepresentationNormalized;
|
|
17
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
18
|
+
export declare function equals(existing: EinsteinPromptTemplateRepresentationNormalized, incoming: EinsteinPromptTemplateRepresentationNormalized): boolean;
|
|
19
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
20
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: EinsteinPromptTemplateRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
21
|
+
/**
|
|
22
|
+
* Comprehensive representation for prompt template operations including creation, updates, and activation
|
|
23
|
+
*
|
|
24
|
+
* Keys:
|
|
25
|
+
* versionId (string): versionId
|
|
26
|
+
*/
|
|
27
|
+
export interface EinsteinPromptTemplateRepresentationNormalized {
|
|
28
|
+
additionalData?: WrappedMap_WrappedMap;
|
|
29
|
+
/** Error Messages */
|
|
30
|
+
errorMessages: Array<string>;
|
|
31
|
+
/** has warning messages */
|
|
32
|
+
hasWarning: boolean;
|
|
33
|
+
/** IsSuccessful */
|
|
34
|
+
isSuccessful: boolean;
|
|
35
|
+
/** Status Code of connect api */
|
|
36
|
+
statusCode?: string;
|
|
37
|
+
/** Template Id */
|
|
38
|
+
templateId: string;
|
|
39
|
+
/** Template Type */
|
|
40
|
+
templateType?: string;
|
|
41
|
+
/** Version Id */
|
|
42
|
+
versionId: string;
|
|
43
|
+
/** Warning Messages */
|
|
44
|
+
warningMessages: Array<string>;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Comprehensive representation for prompt template operations including creation, updates, and activation
|
|
48
|
+
*
|
|
49
|
+
* Keys:
|
|
50
|
+
* versionId (string): versionId
|
|
51
|
+
*/
|
|
52
|
+
export interface EinsteinPromptTemplateRepresentation {
|
|
53
|
+
additionalData?: WrappedMap_WrappedMap;
|
|
54
|
+
errorMessages: Array<string>;
|
|
55
|
+
hasWarning: boolean;
|
|
56
|
+
isSuccessful: boolean;
|
|
57
|
+
statusCode?: string;
|
|
58
|
+
templateId: string;
|
|
59
|
+
templateType?: string;
|
|
60
|
+
versionId: string;
|
|
61
|
+
warningMessages: Array<string>;
|
|
62
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "b513bbac1672327d8eaaf120660e94b5";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: EinsteinPromptTemplateSupportedLanguageErrorRepresentation, existing: EinsteinPromptTemplateSupportedLanguageErrorRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EinsteinPromptTemplateSupportedLanguageErrorRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: EinsteinPromptTemplateSupportedLanguageErrorRepresentationNormalized, incoming: EinsteinPromptTemplateSupportedLanguageErrorRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: EinsteinPromptTemplateSupportedLanguageErrorRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Representation of an error encountered when returning the Prompt Template Version Supported Languages.
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface EinsteinPromptTemplateSupportedLanguageErrorRepresentationNormalized {
|
|
17
|
+
/** Error message for this error */
|
|
18
|
+
errorMessage: string;
|
|
19
|
+
/** Message Code for this error. */
|
|
20
|
+
messageCode: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Representation of an error encountered when returning the Prompt Template Version Supported Languages.
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface EinsteinPromptTemplateSupportedLanguageErrorRepresentation {
|
|
29
|
+
errorMessage: string;
|
|
30
|
+
messageCode: string;
|
|
31
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "65a17d345c28eeca91872a73d8ffe9fd";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: EinsteinPromptTemplateSupportedLanguageRepresentation, existing: EinsteinPromptTemplateSupportedLanguageRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EinsteinPromptTemplateSupportedLanguageRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: EinsteinPromptTemplateSupportedLanguageRepresentationNormalized, incoming: EinsteinPromptTemplateSupportedLanguageRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: EinsteinPromptTemplateSupportedLanguageRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Representation of a single Prompt Template Version Supported Language
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface EinsteinPromptTemplateSupportedLanguageRepresentationNormalized {
|
|
17
|
+
/** Language Code */
|
|
18
|
+
languageCode: string;
|
|
19
|
+
/** Language Display Name */
|
|
20
|
+
languageDisplayName: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Representation of a single Prompt Template Version Supported Language
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface EinsteinPromptTemplateSupportedLanguageRepresentation {
|
|
29
|
+
languageCode: string;
|
|
30
|
+
languageDisplayName: string;
|
|
31
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { EinsteinPromptTemplateSupportedLanguageErrorRepresentation as EinsteinPromptTemplateSupportedLanguageErrorRepresentation_EinsteinPromptTemplateSupportedLanguageErrorRepresentation } from './EinsteinPromptTemplateSupportedLanguageErrorRepresentation';
|
|
2
|
+
import { EinsteinPromptTemplateSupportedLanguageRepresentation as EinsteinPromptTemplateSupportedLanguageRepresentation_EinsteinPromptTemplateSupportedLanguageRepresentation } from './EinsteinPromptTemplateSupportedLanguageRepresentation';
|
|
3
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
4
|
+
export declare const TTL = 100;
|
|
5
|
+
export declare const VERSION = "c635f260bce9a11f7c3bf31d60f42b53";
|
|
6
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
7
|
+
export declare const RepresentationType: string;
|
|
8
|
+
export declare function normalize(input: EinsteinPromptTemplateVersionOutputLanguagesRepresentation, existing: EinsteinPromptTemplateVersionOutputLanguagesRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EinsteinPromptTemplateVersionOutputLanguagesRepresentationNormalized;
|
|
9
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
10
|
+
export declare function equals(existing: EinsteinPromptTemplateVersionOutputLanguagesRepresentationNormalized, incoming: EinsteinPromptTemplateVersionOutputLanguagesRepresentationNormalized): boolean;
|
|
11
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
12
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: EinsteinPromptTemplateVersionOutputLanguagesRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
13
|
+
/**
|
|
14
|
+
* Representation of all supported output languages for a given Prompt Template Version
|
|
15
|
+
*
|
|
16
|
+
* Keys:
|
|
17
|
+
* (none)
|
|
18
|
+
*/
|
|
19
|
+
export interface EinsteinPromptTemplateVersionOutputLanguagesRepresentationNormalized {
|
|
20
|
+
/** Supported Language Errors */
|
|
21
|
+
errors: Array<EinsteinPromptTemplateSupportedLanguageErrorRepresentation_EinsteinPromptTemplateSupportedLanguageErrorRepresentation>;
|
|
22
|
+
/** Did this call succeed or not. */
|
|
23
|
+
isSuccess: boolean;
|
|
24
|
+
/** Prompt Template Developer Name */
|
|
25
|
+
promptTemplateDevName: string;
|
|
26
|
+
/** Supported Languages */
|
|
27
|
+
supportedLanguages: Array<EinsteinPromptTemplateSupportedLanguageRepresentation_EinsteinPromptTemplateSupportedLanguageRepresentation>;
|
|
28
|
+
/** Prompt Template Version Id */
|
|
29
|
+
versionId: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Representation of all supported output languages for a given Prompt Template Version
|
|
33
|
+
*
|
|
34
|
+
* Keys:
|
|
35
|
+
* (none)
|
|
36
|
+
*/
|
|
37
|
+
export interface EinsteinPromptTemplateVersionOutputLanguagesRepresentation {
|
|
38
|
+
errors: Array<EinsteinPromptTemplateSupportedLanguageErrorRepresentation_EinsteinPromptTemplateSupportedLanguageErrorRepresentation>;
|
|
39
|
+
isSuccess: boolean;
|
|
40
|
+
promptTemplateDevName: string;
|
|
41
|
+
supportedLanguages: Array<EinsteinPromptTemplateSupportedLanguageRepresentation_EinsteinPromptTemplateSupportedLanguageRepresentation>;
|
|
42
|
+
versionId: string;
|
|
43
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "ad8ac9e0ba41c2d60a8be658ab3fc96b";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: PromptTemplateDataProviderDiscoveryInputRepresentation, existing: PromptTemplateDataProviderDiscoveryInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PromptTemplateDataProviderDiscoveryInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: PromptTemplateDataProviderDiscoveryInputRepresentationNormalized, incoming: PromptTemplateDataProviderDiscoveryInputRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: PromptTemplateDataProviderDiscoveryInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Input for data provider discovery API to find available data providers based on criteria
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface PromptTemplateDataProviderDiscoveryInputRepresentationNormalized {
|
|
17
|
+
/** The expression group name for the data provider */
|
|
18
|
+
groupName?: string;
|
|
19
|
+
/** The scoped target for data provider discovery */
|
|
20
|
+
target?: string;
|
|
21
|
+
/** List of template input parameters for data provider discovery */
|
|
22
|
+
templateInputs: Array<unknown>;
|
|
23
|
+
/** The template type name to filter data providers by */
|
|
24
|
+
templateTypeName: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Input for data provider discovery API to find available data providers based on criteria
|
|
28
|
+
*
|
|
29
|
+
* Keys:
|
|
30
|
+
* (none)
|
|
31
|
+
*/
|
|
32
|
+
export interface PromptTemplateDataProviderDiscoveryInputRepresentation {
|
|
33
|
+
groupName?: string;
|
|
34
|
+
target?: string;
|
|
35
|
+
templateInputs: Array<unknown>;
|
|
36
|
+
templateTypeName: string;
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "87817a2b41f70b94ea53ab2ec7cb5319";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: PromptTemplateDataProviderInputParamRepresentation, existing: PromptTemplateDataProviderInputParamRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PromptTemplateDataProviderInputParamRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: PromptTemplateDataProviderInputParamRepresentationNormalized, incoming: PromptTemplateDataProviderInputParamRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: PromptTemplateDataProviderInputParamRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Represents an input parameter for a data provider instance
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface PromptTemplateDataProviderInputParamRepresentationNormalized {
|
|
17
|
+
/** The api name of the input parameter */
|
|
18
|
+
apiName: string;
|
|
19
|
+
/** The label of the input parameter */
|
|
20
|
+
label: string;
|
|
21
|
+
/** The flag to identify if input is mandatory */
|
|
22
|
+
required: boolean;
|
|
23
|
+
/** The data type of the input parameter */
|
|
24
|
+
type: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Represents an input parameter for a data provider instance
|
|
28
|
+
*
|
|
29
|
+
* Keys:
|
|
30
|
+
* (none)
|
|
31
|
+
*/
|
|
32
|
+
export interface PromptTemplateDataProviderInputParamRepresentation {
|
|
33
|
+
apiName: string;
|
|
34
|
+
label: string;
|
|
35
|
+
required: boolean;
|
|
36
|
+
type: string;
|
|
37
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { PromptTemplateDataProviderInstanceConfigRepresentation as PromptTemplateDataProviderInstanceConfigRepresentation_PromptTemplateDataProviderInstanceConfigRepresentation } from './PromptTemplateDataProviderInstanceConfigRepresentation';
|
|
2
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
+
export declare const TTL = 300;
|
|
4
|
+
export declare const VERSION = "3a6ecdfe18eb2af8f8f6aaa1a30b194c";
|
|
5
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
|
+
export declare const RepresentationType: string;
|
|
7
|
+
export declare function normalize(input: PromptTemplateDataProviderInstanceConfigCollectionRepresentation, existing: PromptTemplateDataProviderInstanceConfigCollectionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PromptTemplateDataProviderInstanceConfigCollectionRepresentationNormalized;
|
|
8
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
9
|
+
export declare function equals(existing: PromptTemplateDataProviderInstanceConfigCollectionRepresentationNormalized, incoming: PromptTemplateDataProviderInstanceConfigCollectionRepresentationNormalized): boolean;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: PromptTemplateDataProviderInstanceConfigCollectionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
12
|
+
/**
|
|
13
|
+
* Collection of data provider instance configurations for a prompt template version
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface PromptTemplateDataProviderInstanceConfigCollectionRepresentationNormalized {
|
|
19
|
+
/** List of data provider instance configurations */
|
|
20
|
+
dataProviderInstanceConfigs: Array<$64$luvio_engine_StoreLink>;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Collection of data provider instance configurations for a prompt template version
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface PromptTemplateDataProviderInstanceConfigCollectionRepresentation {
|
|
29
|
+
dataProviderInstanceConfigs: Array<PromptTemplateDataProviderInstanceConfigRepresentation_PromptTemplateDataProviderInstanceConfigRepresentation>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "274cf47ad59f25a309f109c720950067";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: PromptTemplateDataProviderInstanceConfigInputRepresentation, existing: PromptTemplateDataProviderInstanceConfigInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PromptTemplateDataProviderInstanceConfigInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: PromptTemplateDataProviderInstanceConfigInputRepresentationNormalized, incoming: PromptTemplateDataProviderInstanceConfigInputRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: PromptTemplateDataProviderInstanceConfigInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Input for data provider instance configuration generation
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface PromptTemplateDataProviderInstanceConfigInputRepresentationNormalized {
|
|
17
|
+
/** Additional parameters for the data provider configuration */
|
|
18
|
+
additionalParam?: {
|
|
19
|
+
[key: string]: unknown;
|
|
20
|
+
};
|
|
21
|
+
/** The definition of the data provider instance */
|
|
22
|
+
definition: string;
|
|
23
|
+
/** The expression group name for the data provider */
|
|
24
|
+
groupName: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Input for data provider instance configuration generation
|
|
28
|
+
*
|
|
29
|
+
* Keys:
|
|
30
|
+
* (none)
|
|
31
|
+
*/
|
|
32
|
+
export interface PromptTemplateDataProviderInstanceConfigInputRepresentation {
|
|
33
|
+
additionalParam?: {
|
|
34
|
+
[key: string]: unknown;
|
|
35
|
+
};
|
|
36
|
+
definition: string;
|
|
37
|
+
groupName: string;
|
|
38
|
+
}
|