Using Glide without AIΒΆ
If for whatever reason you wish to disable the use of AI you have several avenues to do so:
You can disable use of AI at a global level by setting
DISABLE_AI=truewithin yournode_modules/.poly/config.envfile.- You can disable use of AI at a function level when configuring your poly functions:
const polyConfig: PolyServerFunction = { name: "helloPoly", context: "demo", disableAi: true, }
Or you can disable use of AI when running the
preparecommand by adding the--disable-aioption, ex:poly prepare --disable-ai.
If for whatever reason you wish to disable the use of AI you have several avenues to do so:
You can disable use of AI at a global level by setting
DISABLE_AI=truewithin yourpolyapi/config.envfile.- You can disable use of AI at a function level when configuring your poly functions:
polyConfig: PolyServerFunction = { 'name': "hello_poly", 'context': "demo", 'disableAi': True, }
Or you can disable use of AI when running the
preparecommand by adding the--disable-aioption, ex:polyapi prepare --disable-ai.