Skip to content

Commit

Permalink
O11y AI Assistant - Google Gemini support (#4143)
Browse files Browse the repository at this point in the history
* AI Assistant Gemini AI

* Add google gemini details

* Specify supported models of Gemini

* Apply changes from review

---------

Co-authored-by: dedemorton <[email protected]>
(cherry picked from commit 4143855)

# Conflicts:
#	docs/en/observability/observability-ai-assistant.asciidoc
  • Loading branch information
lucabelluccini authored and mergify[bot] committed Oct 18, 2024
1 parent 6d5f122 commit afcc9c0
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions docs/en/observability/observability-ai-assistant.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ The AI Assistant integrates with your large language model (LLM) provider throug

* {kibana-ref}/openai-action-type.html[OpenAI connector] for OpenAI or Azure OpenAI Service.
* {kibana-ref}/bedrock-action-type.html[Amazon Bedrock connector] for Amazon Bedrock, specifically for the Claude models.
* {kibana-ref}/gemini-action-type.html[Google Gemini connector] for Google Gemini.

[IMPORTANT]
====
Expand All @@ -35,11 +36,19 @@ The AI assistant requires the following:

* {stack} version 8.9 and later.
* An https://www.elastic.co/pricing[Enterprise subscription].
<<<<<<< HEAD
* An account with a third-party generative AI provider that supports function calling. The Observability AI Assistant supports the following providers:
** OpenAI `gpt-4`+.
** Azure OpenAI Service `gpt-4`(0613) or `gpt-4-32k`(0613) with API version `2023-07-01-preview` or more recent.
** AWS Bedrock, specifically the Anthropic Claude models.
* An {enterprise-search-ref}/server.html[Enterprise Search] server if {ref}/es-connectors.html[search connectors] are used to populate external data into the knowledge base.
=======
* An account with a third-party generative AI provider that preferably supports function calling.
If your AI provider does not support function calling, you can configure AI Assistant settings under **Stack Management** to simulate function calling, but this might affect performance.
+
Refer to the {kibana-ref}/action-types.html[connector documentation] for your provider to learn about supported and default models.
>>>>>>> 41438555 (O11y AI Assistant - Google Gemini support (#4143))
* The knowledge base requires a 4 GB {ml} node.
[IMPORTANT]
Expand Down Expand Up @@ -78,11 +87,15 @@ To set up the AI Assistant:
* https://platform.openai.com/docs/api-reference[OpenAI API keys]
* https://learn.microsoft.com/en-us/azure/cognitive-services/openai/reference[Azure OpenAI Service API keys]
* https://docs.aws.amazon.com/bedrock/latest/userguide/security-iam.html[Amazon Bedrock authentication keys and secrets]
* https://cloud.google.com/iam/docs/keys-list-get[Google Gemini service account keys]
. From *{stack-manage-app}* -> *{connectors-ui}* in {kib}, create an {kibana-ref}/openai-action-type.html[OpenAI] or {kibana-ref}/bedrock-action-type.html[Amazon Bedrock] connector.
. From *{stack-manage-app}* -> *{connectors-ui}* in {kib}, create an connector for your AI provider:
* {kibana-ref}/openai-action-type.html[OpenAI]
* {kibana-ref}/bedrock-action-type.html[Amazon Bedrock]
* {kibana-ref}/gemini-action-type.html[Google Gemini]
. Authenticate communication between {observability} and the AI provider by providing the following information:
.. In the *URL* field, enter the AI provider's API endpoint URL.
.. Under *Authentication*, enter the API key or access key/secret you created in the previous step.
.. Under *Authentication*, enter the key or secret you created in the previous step.
[discrete]
[[obs-ai-add-data]]
Expand Down

0 comments on commit afcc9c0

Please sign in to comment.