[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

@@ -109,7 +109,7 @@
},
"outputs": [],
"source": [
"app = App.from_config(yaml_path=\"anthropic.yaml\")"
"app = App.from_config(config_path=\"anthropic.yaml\")"
]
},
{

View File

@@ -105,7 +105,7 @@
"metadata": {},
"outputs": [],
"source": [
"app = App.from_config(yaml_path=\"azure_openai.yaml\")"
"app = App.from_config(config_path=\"azure_openai.yaml\")"
]
},
{

View File

@@ -105,7 +105,7 @@
},
"outputs": [],
"source": [
"app = App.from_config(yaml_path=\"chromadb.yaml\")"
"app = App.from_config(config_path=\"chromadb.yaml\")"
]
},
{

View File

@@ -114,7 +114,7 @@
},
"outputs": [],
"source": [
"app = App.from_config(yaml_path=\"cohere.yaml\")"
"app = App.from_config(config_path=\"cohere.yaml\")"
]
},
{

View File

@@ -103,7 +103,7 @@
},
"outputs": [],
"source": [
"app = App.from_config(yaml_path=\"elasticsearch.yaml\")"
"app = App.from_config(config_path=\"elasticsearch.yaml\")"
]
},
{

View File

@@ -114,7 +114,7 @@
},
"outputs": [],
"source": [
"app = App.from_config(yaml_path=\"gpt4all.yaml\")"
"app = App.from_config(config_path=\"gpt4all.yaml\")"
]
},
{

View File

@@ -114,7 +114,7 @@
},
"outputs": [],
"source": [
"app = App.from_config(yaml_path=\"huggingface.yaml\")"
"app = App.from_config(config_path=\"huggingface.yaml\")"
]
},
{

View File

@@ -114,7 +114,7 @@
},
"outputs": [],
"source": [
"app = App.from_config(yaml_path=\"jina.yaml\")"
"app = App.from_config(config_path=\"jina.yaml\")"
]
},
{

View File

@@ -109,7 +109,7 @@
},
"outputs": [],
"source": [
"app = App.from_config(yaml_path=\"llama2.yaml\")"
"app = App.from_config(config_path=\"llama2.yaml\")"
]
},
{

View File

@@ -115,7 +115,7 @@
},
"outputs": [],
"source": [
"app = App.from_config(yaml_path=\"openai.yaml\")"
"app = App.from_config(config_path=\"openai.yaml\")"
]
},
{

View File

@@ -107,7 +107,7 @@
},
"outputs": [],
"source": [
"app = App.from_config(yaml_path=\"opensearch.yaml\")"
"app = App.from_config(config_path=\"opensearch.yaml\")"
]
},
{

View File

@@ -104,7 +104,7 @@
},
"outputs": [],
"source": [
"app = App.from_config(yaml_path=\"pinecone.yaml\")"
"app = App.from_config(config_path=\"pinecone.yaml\")"
]
},
{

View File

@@ -117,7 +117,7 @@
},
"outputs": [],
"source": [
"app = App.from_config(yaml_path=\"vertexai.yaml\")"
"app = App.from_config(config_path=\"vertexai.yaml\")"
]
},
{