docs: app config instead of init config (#308)

This commit is contained in:
cachho
2023-07-18 09:16:06 +02:00
committed by GitHub
parent 1df804e7df
commit 96143ac496
4 changed files with 7 additions and 6 deletions

View File

@@ -34,13 +34,13 @@
"source": [
"import os\n",
"from embedchain import App\n",
"from embedchain.config import InitConfig\n",
"from embedchain.config import AppConfig\n",
"\n",
"\n",
"chromadb_host = \"localhost\"\n",
"chromadb_port = 8000\n",
"\n",
"config = InitConfig(host=chromadb_host, port=chromadb_port)\n",
"config = AppConfig(host=chromadb_host, port=chromadb_port)\n",
"elon_bot = App(config)"
]
},