diff --git a/docs/get-started/faq.mdx b/docs/get-started/faq.mdx index 93da577a..de740609 100644 --- a/docs/get-started/faq.mdx +++ b/docs/get-started/faq.mdx @@ -3,6 +3,34 @@ title: ❓ FAQs description: 'Collections of all the frequently asked questions' --- +#### How to use `gpt-4-turbo` model released on OpenAI DevDay? + + + +```python main.py +import os +from embedchain import Pipeline as App + +os.environ['OPENAI_API_KEY'] = 'xxx' + +# load llm configuration from gpt4_turbo.yaml file +app = App.from_config(yaml_path="gpt4_turbo.yaml") +``` + +```yaml gpt4_turbo.yaml +llm: + provider: openai + config: + model: 'gpt-4-turbo' + temperature: 0.5 + max_tokens: 1000 + top_p: 1 + stream: false +``` + + + + #### How to use GPT-4 as the LLM model? diff --git a/docs/get-started/quickstart.mdx b/docs/get-started/quickstart.mdx index 5942a451..70491b6d 100644 --- a/docs/get-started/quickstart.mdx +++ b/docs/get-started/quickstart.mdx @@ -11,6 +11,10 @@ Install embedchain python package: pip install embedchain ``` + +Embedchain now supports OpenAI's latest `gpt-4-turbo` model. Checkout the [docs here](/get-started/faq#how-to-use-gpt-4-turbo-model-released-on-openai-devday) on how to use it. + + Creating an app involves 3 steps: diff --git a/docs/mint.json b/docs/mint.json index e6458856..a56befa2 100644 --- a/docs/mint.json +++ b/docs/mint.json @@ -3,38 +3,43 @@ "name": "Embedchain", "logo": { "dark": "/logo/dark.svg", - "light": "/logo/light.svg" + "light": "/logo/light.svg", + "href": "https://embedchain.ai/" }, "favicon": "/favicon.png", "colors": { - "primary": "#2B48EE", - "light": "#2B48EE", - "dark": "#2B48EE", + "primary": "#3B2FC9", + "light": "#6673FF", + "dark": "#3B2FC9", "background": { - "dark": "#020415" + "dark": "#0f1117", + "light": "#fff" } }, + "modeToggle": { + "default": "dark" + }, "openapi": ["/rest-api.json"], "metadata": { "og:image": "/images/og.png", "twitter:site": "@embedchain" }, - "topAnchor": { - "name": "Documentation", - "icon": "book-open" - }, + "anchors": [ + { + "name": "Embedchain Platform", + "icon": "tv", + "url": "https://app.embedchain.ai/" + }, + { + "name": "Join our slack", + "icon": "slack", + "url": "https://join.slack.com/t/embedchain/shared_invite/zt-22uwz3c46-Zg7cIh5rOBteT_xe1jwLDw" + } + ], "topbarLinks": [ { - "name": "Twitter", - "url": "https://twitter.com/embedchain" - }, - { - "name": "Slack", - "url": "https://join.slack.com/t/embedchain/shared_invite/zt-22uwz3c46-Zg7cIh5rOBteT_xe1jwLDw" - }, - { - "name": "Discord", - "url": "https://discord.gg/6PzXDgEjG5" + "name": "Create account", + "url": "https://app.embedchain.ai/login/" } ], "topbarCtaButton": { @@ -106,7 +111,7 @@ ] }, { - "group": "Examples", + "group": "Use Cases", "pages": [ "examples/full_stack", "examples/discord_bot",