Skip to content

Conversation

@benironside
Copy link
Contributor

@benironside benironside commented May 3, 2024

Fixes #5136 by adding step-by-step instructions for setting up an Azure OpenAI connector.

Preview: Connect to Azure OpenAI

@benironside benironside added Priority: High Issues that are time-sensitive and/or are of high customer importance Team: GenAI Generative AI team labels May 3, 2024
@benironside benironside self-assigned this May 3, 2024
@benironside benironside requested a review from a team as a code owner May 3, 2024 16:05
@benironside benironside requested a review from Charelzard May 3, 2024 16:05
@github-actions
Copy link

github-actions bot commented May 3, 2024

A documentation preview will be available soon.

Request a new doc build by commenting
  • Rebuild this PR: run docs-build
  • Rebuild this PR and all Elastic docs: run docs-build rebuild

run docs-build is much faster than run docs-build rebuild. A rebuild should only be needed in rare situations.

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.

@mergify
Copy link
Contributor

mergify bot commented May 3, 2024

This pull request does not have a backport label. Could you fix it @benironside? 🙏
To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • v7.x is the label to automatically backport to the 7.x branch.
  • v7./d./d is the label to automatically backport to the 7./d branch. /d is the digit

NOTE: backport-skip has been added to this pull request.

@mergify mergify bot added the backport-skip label May 3, 2024
@mergify
Copy link
Contributor

mergify bot commented May 3, 2024

This pull request is now in conflicts. Could you fix it @benironside? 🙏
To fixup this pull request, you can check out it locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/

git fetch upstream
git checkout -b 5136-azure-openai-stepbystep-connector upstream/5136-azure-openai-stepbystep-connector
git merge upstream/main
git push upstream 5136-azure-openai-stepbystep-connector

Copy link
Contributor

@nastasha-solomon nastasha-solomon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Good job pulling all of this together so quickly!

Co-authored-by: Nastasha Solomon <79124755+nastasha-solomon@users.noreply.github.com>
benironside and others added 5 commits May 3, 2024 12:48
Co-authored-by: Nastasha Solomon <79124755+nastasha-solomon@users.noreply.github.com>
Co-authored-by: Nastasha Solomon <79124755+nastasha-solomon@users.noreply.github.com>
Co-authored-by: Nastasha Solomon <79124755+nastasha-solomon@users.noreply.github.com>
Co-authored-by: Nastasha Solomon <79124755+nastasha-solomon@users.noreply.github.com>
Co-authored-by: Nastasha Solomon <79124755+nastasha-solomon@users.noreply.github.com>
@benironside benironside requested a review from dhru42 May 3, 2024 19:49
@nastasha-solomon nastasha-solomon self-requested a review May 3, 2024 19:50
Copy link

@Charelzard Charelzard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See 4 comments.

Next, create access keys for the deployment:

. From within your Azure OpenAI deployment, select **Click here to manage keys**.
. Store your keys in a secure location. You'll need them later.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

. Store your keys in a secure location.

. Log in to {kib}.
. Go to **Stack Management → Connectors → Create connector → OpenAI**.
. Name your connector.
. (Optional) Add one of the following strings if you want to use a model other than the default:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Give your Connector a name, something like this naming convention can help you keep track of various models: Azure OpenAI (GPT-4 Turbo v. 0125)

. Go to **Stack Management → Connectors → Create connector → OpenAI**.
. Name your connector.
. (Optional) Add one of the following strings if you want to use a model other than the default:
** For Turbo: `Azure OpenAI (GPT-4 Turbo v. 0125)`

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove

. Name your connector.
. (Optional) Add one of the following strings if you want to use a model other than the default:
** For Turbo: `Azure OpenAI (GPT-4 Turbo v. 0125)`
** For 32k: `Azure OpenAI (GPT-4-32k)`

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove

Copy link
Contributor

@nastasha-solomon nastasha-solomon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't see any major issues - LGTM! 👍🏼

Copy link
Contributor

@jmikell821 jmikell821 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Love the included videos here; makes it easier to follow the steps! Just a few suggestions.

Co-authored-by: Janeen Mikell Roberts <57149392+jmikell821@users.noreply.github.com>
benironside and others added 2 commits May 6, 2024 06:18
Co-authored-by: Janeen Mikell Roberts <57149392+jmikell821@users.noreply.github.com>
Co-authored-by: Janeen Mikell Roberts <57149392+jmikell821@users.noreply.github.com>
Copy link
Contributor

@joepeeples joepeeples left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🌻

@benironside benironside merged commit 2b8440e into main May 6, 2024
mergify bot pushed a commit that referenced this pull request May 6, 2024
* Adds step by step instructions for connecting to Azure OpenAI

* adjust headings

* fixes slug

* adds intro paragraph

* Update docs/assistant/azure-openai-setup.asciidoc

Co-authored-by: Nastasha Solomon <79124755+nastasha-solomon@users.noreply.github.com>

* Update docs/assistant/azure-openai-setup.asciidoc

Co-authored-by: Nastasha Solomon <79124755+nastasha-solomon@users.noreply.github.com>

* Update docs/assistant/azure-openai-setup.asciidoc

Co-authored-by: Nastasha Solomon <79124755+nastasha-solomon@users.noreply.github.com>

* Update docs/assistant/azure-openai-setup.asciidoc

Co-authored-by: Nastasha Solomon <79124755+nastasha-solomon@users.noreply.github.com>

* Update docs/assistant/azure-openai-setup.asciidoc

Co-authored-by: Nastasha Solomon <79124755+nastasha-solomon@users.noreply.github.com>

* Update docs/assistant/azure-openai-setup.asciidoc

Co-authored-by: Nastasha Solomon <79124755+nastasha-solomon@users.noreply.github.com>

* Incorporates Charles' review. Thanks Charles!

* line edit

* Update docs/assistant/azure-openai-setup.asciidoc

Co-authored-by: Janeen Mikell Roberts <57149392+jmikell821@users.noreply.github.com>

* Update docs/assistant/azure-openai-setup.asciidoc

Co-authored-by: Janeen Mikell Roberts <57149392+jmikell821@users.noreply.github.com>

* Update docs/assistant/azure-openai-setup.asciidoc

Co-authored-by: Janeen Mikell Roberts <57149392+jmikell821@users.noreply.github.com>

---------

Co-authored-by: Nastasha Solomon <79124755+nastasha-solomon@users.noreply.github.com>
Co-authored-by: Janeen Mikell Roberts <57149392+jmikell821@users.noreply.github.com>
(cherry picked from commit 2b8440e)
mergify bot pushed a commit that referenced this pull request May 6, 2024
* Adds step by step instructions for connecting to Azure OpenAI

* adjust headings

* fixes slug

* adds intro paragraph

* Update docs/assistant/azure-openai-setup.asciidoc

Co-authored-by: Nastasha Solomon <79124755+nastasha-solomon@users.noreply.github.com>

* Update docs/assistant/azure-openai-setup.asciidoc

Co-authored-by: Nastasha Solomon <79124755+nastasha-solomon@users.noreply.github.com>

* Update docs/assistant/azure-openai-setup.asciidoc

Co-authored-by: Nastasha Solomon <79124755+nastasha-solomon@users.noreply.github.com>

* Update docs/assistant/azure-openai-setup.asciidoc

Co-authored-by: Nastasha Solomon <79124755+nastasha-solomon@users.noreply.github.com>

* Update docs/assistant/azure-openai-setup.asciidoc

Co-authored-by: Nastasha Solomon <79124755+nastasha-solomon@users.noreply.github.com>

* Update docs/assistant/azure-openai-setup.asciidoc

Co-authored-by: Nastasha Solomon <79124755+nastasha-solomon@users.noreply.github.com>

* Incorporates Charles' review. Thanks Charles!

* line edit

* Update docs/assistant/azure-openai-setup.asciidoc

Co-authored-by: Janeen Mikell Roberts <57149392+jmikell821@users.noreply.github.com>

* Update docs/assistant/azure-openai-setup.asciidoc

Co-authored-by: Janeen Mikell Roberts <57149392+jmikell821@users.noreply.github.com>

* Update docs/assistant/azure-openai-setup.asciidoc

Co-authored-by: Janeen Mikell Roberts <57149392+jmikell821@users.noreply.github.com>

---------

Co-authored-by: Nastasha Solomon <79124755+nastasha-solomon@users.noreply.github.com>
Co-authored-by: Janeen Mikell Roberts <57149392+jmikell821@users.noreply.github.com>
(cherry picked from commit 2b8440e)
benironside added a commit that referenced this pull request May 6, 2024
…#5165)

* Adds step by step instructions for connecting to Azure OpenAI

* adjust headings

* fixes slug

* adds intro paragraph

* Update docs/assistant/azure-openai-setup.asciidoc

Co-authored-by: Nastasha Solomon <79124755+nastasha-solomon@users.noreply.github.com>

* Update docs/assistant/azure-openai-setup.asciidoc

Co-authored-by: Nastasha Solomon <79124755+nastasha-solomon@users.noreply.github.com>

* Update docs/assistant/azure-openai-setup.asciidoc

Co-authored-by: Nastasha Solomon <79124755+nastasha-solomon@users.noreply.github.com>

* Update docs/assistant/azure-openai-setup.asciidoc

Co-authored-by: Nastasha Solomon <79124755+nastasha-solomon@users.noreply.github.com>

* Update docs/assistant/azure-openai-setup.asciidoc

Co-authored-by: Nastasha Solomon <79124755+nastasha-solomon@users.noreply.github.com>

* Update docs/assistant/azure-openai-setup.asciidoc

Co-authored-by: Nastasha Solomon <79124755+nastasha-solomon@users.noreply.github.com>

* Incorporates Charles' review. Thanks Charles!

* line edit

* Update docs/assistant/azure-openai-setup.asciidoc

Co-authored-by: Janeen Mikell Roberts <57149392+jmikell821@users.noreply.github.com>

* Update docs/assistant/azure-openai-setup.asciidoc

Co-authored-by: Janeen Mikell Roberts <57149392+jmikell821@users.noreply.github.com>

* Update docs/assistant/azure-openai-setup.asciidoc

Co-authored-by: Janeen Mikell Roberts <57149392+jmikell821@users.noreply.github.com>

---------

Co-authored-by: Nastasha Solomon <79124755+nastasha-solomon@users.noreply.github.com>
Co-authored-by: Janeen Mikell Roberts <57149392+jmikell821@users.noreply.github.com>
(cherry picked from commit 2b8440e)

Co-authored-by: Benjamin Ironside Goldstein <91905639+benironside@users.noreply.github.com>
benironside added a commit that referenced this pull request May 6, 2024
…#5164)

* Adds step by step instructions for connecting to Azure OpenAI

* adjust headings

* fixes slug

* adds intro paragraph

* Update docs/assistant/azure-openai-setup.asciidoc

Co-authored-by: Nastasha Solomon <79124755+nastasha-solomon@users.noreply.github.com>

* Update docs/assistant/azure-openai-setup.asciidoc

Co-authored-by: Nastasha Solomon <79124755+nastasha-solomon@users.noreply.github.com>

* Update docs/assistant/azure-openai-setup.asciidoc

Co-authored-by: Nastasha Solomon <79124755+nastasha-solomon@users.noreply.github.com>

* Update docs/assistant/azure-openai-setup.asciidoc

Co-authored-by: Nastasha Solomon <79124755+nastasha-solomon@users.noreply.github.com>

* Update docs/assistant/azure-openai-setup.asciidoc

Co-authored-by: Nastasha Solomon <79124755+nastasha-solomon@users.noreply.github.com>

* Update docs/assistant/azure-openai-setup.asciidoc

Co-authored-by: Nastasha Solomon <79124755+nastasha-solomon@users.noreply.github.com>

* Incorporates Charles' review. Thanks Charles!

* line edit

* Update docs/assistant/azure-openai-setup.asciidoc

Co-authored-by: Janeen Mikell Roberts <57149392+jmikell821@users.noreply.github.com>

* Update docs/assistant/azure-openai-setup.asciidoc

Co-authored-by: Janeen Mikell Roberts <57149392+jmikell821@users.noreply.github.com>

* Update docs/assistant/azure-openai-setup.asciidoc

Co-authored-by: Janeen Mikell Roberts <57149392+jmikell821@users.noreply.github.com>

---------

Co-authored-by: Nastasha Solomon <79124755+nastasha-solomon@users.noreply.github.com>
Co-authored-by: Janeen Mikell Roberts <57149392+jmikell821@users.noreply.github.com>
(cherry picked from commit 2b8440e)

Co-authored-by: Benjamin Ironside Goldstein <91905639+benironside@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Priority: High Issues that are time-sensitive and/or are of high customer importance Team: GenAI Generative AI team v8.13.0 v8.14.0

Projects

Development

Successfully merging this pull request may close these issues.

[Request] Connect Elastic AI Assistant to Azure OpenAI

6 participants