from_env
Method
This is a method of the ContextConfig class in the models module.Load config from environment variables. Reads PRAISONAI_CONTEXT_* environment variables.
Signature
Returns
'ContextConfig'
The result of the operation.
Uses
os.getenvOptimizerStrategyclsget_boolget_floatget_int
Used By
Source
View on GitHub
praisonaiagents/context/models.py at line 382
