Skip to content

Commit

Permalink
[editor][easy] Add 'model' to relevant Prompt Schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Holinshead committed Jan 6, 2024
1 parent 4a8d154 commit 40bf5da
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ export const DalleImageGenerationParserPromptSchema: PromptSchema = {
model_settings: {
type: "object",
properties: {
model: {
type: "string",
},
n: {
type: "integer",
minimum: 1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ export const OpenAIChatModelParserPromptSchema: PromptSchema = {
model_settings: {
type: "object",
properties: {
model: {
type: "string",
},
system_prompt: {
type: "string",
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ export const PaLMChatParserPromptSchema: PromptSchema = {
model_settings: {
type: "object",
properties: {
model: {
type: "string",
},
context: {
type: "string",
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ export const PaLMTextParserPromptSchema: PromptSchema = {
model_settings: {
type: "object",
properties: {
model: {
type: "string",
},
candidate_count: {
type: "integer",
minimum: 1,
Expand Down

0 comments on commit 40bf5da

Please sign in to comment.