File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 1414use Codewithkyrian \ChromaDB \Client as ChromaDbClient ;
1515use MongoDB \Client as MongoDbClient ;
1616use Probots \Pinecone \Client as PineconeClient ;
17- use Symfony \AI \Platform \Bridge \OpenAi \PlatformFactory ;
1817use Symfony \AI \Platform \Capability ;
1918use Symfony \AI \Platform \Model ;
2019use Symfony \AI \Platform \PlatformInterface ;
166165 ->scalarNode ('region ' )
167166 ->defaultNull ()
168167 ->validate ()
169- ->ifNotInArray ([null , PlatformFactory:: REGION_EU , PlatformFactory:: REGION_US ])
168+ ->ifNotInArray ([null , ' EU ' , ' US ' ])
170169 ->thenInvalid ('The region must be either "EU" (https://eu.api.openai.com), "US" (https://us.api.openai.com) or null (https://api.openai.com) ' )
171170 ->end ()
172171 ->info ('The region for OpenAI API (EU, US, or null for default) ' )
You can’t perform that action at this time.
0 commit comments