faq.mdx 411 B

12345678910111213141516
  1. ---
  2. title: ❓ Frequently Asked Questions
  3. description: 'Collections of all the frequently asked questions about Embedchain'
  4. ---
  5. ## How to use GPT-4 as the LLM model
  6. ```python
  7. from embedchain import App
  8. from embedchain.config import LlmConfig
  9. app = App()
  10. app.add("https://en.wikipedia.org/wiki/Elon_Musk")
  11. app.query("How many companies does Elon Musk run and name those?", config=LlmConfig(model="gpt-4))
  12. ```