Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions src/types/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3400,6 +3400,18 @@ export declare interface SchemaPredictParamsGroundingConfig {
sources?: SchemaPredictParamsGroundingConfigSourceEntry[];
}

/** Represents a prompt spec part list. */
export declare interface SchemaPromptSpecPartList {
/** A list of elements that can be part of a prompt. */
parts?: genaiTypes.Part[];
}

/** Represents a prompt instance variable. */
export declare interface SchemaPromptInstanceVariableValue {
/** The parts of the variable value. */
partList?: SchemaPromptSpecPartList;
}

/** A prompt instance's parameters set that contains a set of variable values. */
export declare interface SchemaPromptInstancePromptExecution {
/** Maps variable names to their value. */
Expand Down Expand Up @@ -3451,12 +3463,6 @@ export declare interface SchemaPromptSpecAppBuilderData {
linkedResources?: SchemaPromptSpecAppBuilderDataLinkedResource[];
}

/** Represents a prompt spec part list. */
export declare interface SchemaPromptSpecPartList {
/** A list of elements that can be part of a prompt. */
parts?: genaiTypes.Part[];
}

/** Defines data for an interaction prompt. */
export declare interface SchemaPromptSpecInteractionData {
/** Optional. Lists interaction IDs associated with the prompt. This maps 1:1 to PromptMessage.contents. If InteractionData is present, every prompt message has an interaction ID. */
Expand Down Expand Up @@ -4256,12 +4262,6 @@ export type PromptData = SchemaPromptSpecPromptMessage;
export type VertexBaseConfig = any;
export type ParsedResponseUnion = any;

/** Represents a prompt instance variable. */
export declare interface SchemaPromptInstanceVariableValue {
/** The parts of the variable value. */
partList?: SchemaPromptSpecPartList;
}

/** Config for creating a prompt. */
export declare interface CreatePromptConfig {
/** Used to override HTTP request options. */
Expand Down
Loading