From 2db07cdb1f17f65413eb3d17d048c7a67b9e4fcb Mon Sep 17 00:00:00 2001 From: Taranjeet Singh Date: Fri, 29 Sep 2023 21:54:49 -0700 Subject: [PATCH] docs: add gpt-4 as llm FAQ (#731) --- docs/get-start/faq.mdx | 16 ++++++++++++++++ docs/mint.json | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 docs/get-start/faq.mdx diff --git a/docs/get-start/faq.mdx b/docs/get-start/faq.mdx new file mode 100644 index 00000000..39351548 --- /dev/null +++ b/docs/get-start/faq.mdx @@ -0,0 +1,16 @@ +--- +title: ❓ Frequently Asked Questions +description: 'Collections of all the frequently asked questions about Embedchain' +--- + +## How to use GPT-4 as the LLM model + +```python + +from embedchain import App +from embedchain.config import LlmConfig + +app = App() +app.add("https://en.wikipedia.org/wiki/Elon_Musk") +app.query("How many companies does Elon Musk run and name those?", config=LlmConfig(model="gpt-4)) +``` \ No newline at end of file diff --git a/docs/mint.json b/docs/mint.json index 8c5937bc..79316dc6 100644 --- a/docs/mint.json +++ b/docs/mint.json @@ -32,7 +32,7 @@ "navigation": [ { "group": "Get started", - "pages": ["get-start/quickstart", "get-start/introduction"] + "pages": ["get-start/quickstart", "get-start/introduction", "get-start/faq"] }, { "group": "Advanced",