docs: add gpt-4 as llm FAQ (#731)

This commit is contained in:
Taranjeet Singh
2023-09-29 21:54:49 -07:00
committed by GitHub
parent faa29ef285
commit 2db07cdb1f
2 changed files with 17 additions and 1 deletions

16
docs/get-start/faq.mdx Normal file
View File

@@ -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))
```

View File

@@ -32,7 +32,7 @@
"navigation": [ "navigation": [
{ {
"group": "Get started", "group": "Get started",
"pages": ["get-start/quickstart", "get-start/introduction"] "pages": ["get-start/quickstart", "get-start/introduction", "get-start/faq"]
}, },
{ {
"group": "Advanced", "group": "Advanced",