[Improvements] Add support for creating app from YAML string config (#980)
This commit is contained in:
@@ -109,7 +109,7 @@
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"app = App.from_config(yaml_path=\"anthropic.yaml\")"
|
||||
"app = App.from_config(config_path=\"anthropic.yaml\")"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -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\")"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -105,7 +105,7 @@
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"app = App.from_config(yaml_path=\"chromadb.yaml\")"
|
||||
"app = App.from_config(config_path=\"chromadb.yaml\")"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -114,7 +114,7 @@
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"app = App.from_config(yaml_path=\"cohere.yaml\")"
|
||||
"app = App.from_config(config_path=\"cohere.yaml\")"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -103,7 +103,7 @@
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"app = App.from_config(yaml_path=\"elasticsearch.yaml\")"
|
||||
"app = App.from_config(config_path=\"elasticsearch.yaml\")"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -114,7 +114,7 @@
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"app = App.from_config(yaml_path=\"gpt4all.yaml\")"
|
||||
"app = App.from_config(config_path=\"gpt4all.yaml\")"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -114,7 +114,7 @@
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"app = App.from_config(yaml_path=\"huggingface.yaml\")"
|
||||
"app = App.from_config(config_path=\"huggingface.yaml\")"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -114,7 +114,7 @@
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"app = App.from_config(yaml_path=\"jina.yaml\")"
|
||||
"app = App.from_config(config_path=\"jina.yaml\")"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -109,7 +109,7 @@
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"app = App.from_config(yaml_path=\"llama2.yaml\")"
|
||||
"app = App.from_config(config_path=\"llama2.yaml\")"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -115,7 +115,7 @@
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"app = App.from_config(yaml_path=\"openai.yaml\")"
|
||||
"app = App.from_config(config_path=\"openai.yaml\")"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -107,7 +107,7 @@
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"app = App.from_config(yaml_path=\"opensearch.yaml\")"
|
||||
"app = App.from_config(config_path=\"opensearch.yaml\")"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -104,7 +104,7 @@
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"app = App.from_config(yaml_path=\"pinecone.yaml\")"
|
||||
"app = App.from_config(config_path=\"pinecone.yaml\")"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -117,7 +117,7 @@
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"app = App.from_config(yaml_path=\"vertexai.yaml\")"
|
||||
"app = App.from_config(config_path=\"vertexai.yaml\")"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user