-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documents OpenAI Connector setup #5199
Conversation
A documentation preview will be available soon. Request a new doc build by commenting
If your PR continues to fail for an unknown reason, the doc build pipeline may be broken. Elastic employees can check the pipeline status here. |
This pull request does not have a backport label. Could you fix it @benironside? 🙏
NOTE: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple comments for consideration, thanks!
Co-authored-by: Joe Peeples <joe.peeples@elastic.co>
Co-authored-by: Joe Peeples <joe.peeples@elastic.co>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
* incorporates Dhru's first review * Adds page for OpenAI connector setup * Minor edit * Update docs/assistant/connect-to-openai.asciidoc Co-authored-by: Joe Peeples <joe.peeples@elastic.co> * Update docs/assistant/connect-to-openai.asciidoc Co-authored-by: Joe Peeples <joe.peeples@elastic.co> * removes unused image --------- Co-authored-by: Joe Peeples <joe.peeples@elastic.co> (cherry picked from commit 2ce49d0)
* incorporates Dhru's first review * Adds page for OpenAI connector setup * Minor edit * Update docs/assistant/connect-to-openai.asciidoc Co-authored-by: Joe Peeples <joe.peeples@elastic.co> * Update docs/assistant/connect-to-openai.asciidoc Co-authored-by: Joe Peeples <joe.peeples@elastic.co> * removes unused image --------- Co-authored-by: Joe Peeples <joe.peeples@elastic.co> (cherry picked from commit 2ce49d0)
* incorporates Dhru's first review * Adds page for OpenAI connector setup * Minor edit * Update docs/assistant/connect-to-openai.asciidoc Co-authored-by: Joe Peeples <joe.peeples@elastic.co> * Update docs/assistant/connect-to-openai.asciidoc Co-authored-by: Joe Peeples <joe.peeples@elastic.co> * removes unused image --------- Co-authored-by: Joe Peeples <joe.peeples@elastic.co> (cherry picked from commit 2ce49d0) Co-authored-by: Benjamin Ironside Goldstein <91905639+benironside@users.noreply.github.com>
* incorporates Dhru's first review * Adds page for OpenAI connector setup * Minor edit * Update docs/assistant/connect-to-openai.asciidoc Co-authored-by: Joe Peeples <joe.peeples@elastic.co> * Update docs/assistant/connect-to-openai.asciidoc Co-authored-by: Joe Peeples <joe.peeples@elastic.co> * removes unused image --------- Co-authored-by: Joe Peeples <joe.peeples@elastic.co> (cherry picked from commit 2ce49d0) Co-authored-by: Benjamin Ironside Goldstein <91905639+benironside@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added 2 comments for review.
|
||
Before creating an API key, you must choose a model. Refer to the https://platform.openai.com/docs/models/gpt-4-turbo-and-gpt-4[OpenAI docs] to select a model. Take note of the specific model name (for example `gpt-4-turbo`); you'll need it when configuring {kib}. | ||
|
||
NOTE: `GPT-4 Turbo` offers increased performance. `GPT-4` and `GPT-3.5` are also supported. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NOTE: For best performance we recommend gpt-4o. Alternatively you can use gpt-4-turbo, but at a minimum, gpt-4-32k can be used.
--
or
. Navigate to **Stack Management → Connectors → Create Connector → OpenAI**. | ||
. Provide a name for your connector, such as `OpenAI (GPT-4 Turbo Preview)`, to help keep track of the model and version you are using. | ||
. Under **Select an OpenAI provider**, choose **OpenAI**. | ||
. The **URL** field can be left as default. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add this line after . The URL field can be left as default.
In the default model specify your model of choice. This section can be updated later on to reflect new releases in models.
Fixes #5137 by adding a step-by-step guide for setting up an OpenAI connector.
Preview: Connect to OpenAI