Skip to content

Commit

Permalink
Update the seed schema to include the optional environment overlay.
Browse files Browse the repository at this point in the history
Part of #38.
  • Loading branch information
jkomoros committed Jul 7, 2023
1 parent 8ede0ba commit aceb6fa
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions seed-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,61 @@
"type": "number",
"const": 0
},
"environment": {
"type": "object",
"properties": {
"openai_api_key": {
"type": "string"
},
"profile": {
"type": "string",
"pattern": "^[a-zA-Z0-9-_]*$"
},
"completion_model": {
"type": "string",
"const": "openai.com:gpt-3.5-turbo"
},
"embedding_model": {
"type": "string",
"const": "openai.com:text-embedding-ada-002"
},
"memory": {
"$ref": "#/definitions/seedData/anyOf/2/properties/memory/anyOf/2/anyOf/1"
},
"store": {
"$ref": "#/definitions/seedData/anyOf/2/properties/memory/anyOf/2/anyOf/1"
},
"mock": {
"type": "boolean"
},
"verbose": {
"type": "boolean"
}
},
"additionalProperties": {
"anyOf": [
{
"$ref": "#/definitions/seedData/anyOf/24/properties/values/anyOf/2/additionalProperties"
},
{
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/seedData/anyOf/24/properties/values/anyOf/2/additionalProperties"
},
"propertyNames": {
"pattern": "^(?!type$)[a-zA-Z0-9-_.:]*$"
}
},
{
"type": "array",
"items": {
"$ref": "#/definitions/seedData/anyOf/24/properties/values/anyOf/2/additionalProperties"
}
}
]
},
"description": "If provided, will overlay the starter environment for every seed in this packet"
},
"seeds": {
"type": "object",
"additionalProperties": {
Expand Down

0 comments on commit aceb6fa

Please sign in to comment.