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