Skip to content

armgit / mem0

Public Imported from GitHub
0

The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.

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

Taranjeet Singh2db07cdb1f17
diff --git a/docs/get-start/faq.mdx b/docs/get-start/faq.mdx
new file mode 100644
index 000000000..393515488
--- /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 8c5937bc4..79316dc67 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",