Skip to content

Commit

Permalink
docs: add gpt-4 as llm FAQ (#731)
Browse files Browse the repository at this point in the history
  • Loading branch information
taranjeet authored Sep 30, 2023
1 parent faa29ef commit 2db07cd
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions docs/get-start/faq.mdx
Original file line number Diff line number Diff line change
@@ -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))
```
2 changes: 1 addition & 1 deletion docs/mint.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 2db07cd

Please sign in to comment.