[Improvements] Add support for creating app from YAML string config (#980)

This commit is contained in:
Deven Patel
2023-11-29 12:25:30 -08:00
committed by GitHub
parent e35eaf1bfc
commit 406c46e7f4
34 changed files with 351 additions and 179 deletions

View File

@@ -1,6 +1,6 @@
import yaml
from embedchain.utils import validate_yaml_config
from embedchain.utils import validate_config
CONFIG_YAMLS = [
"configs/anthropic.yaml",
@@ -30,7 +30,7 @@ def test_all_config_yamls():
assert config is not None
try:
validate_yaml_config(config)
validate_config(config)
except Exception as e:
print(f"Error in {config_yaml}: {e}")
raise e