> For the complete documentation index, see [llms.txt](https://docs.apica.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.apica.io/autonomous-insights/log-explained-using-generative-ai/configuring-generative-ai-access.md).

# Configuring Generative AI Access

The ADF admin can get into the configuration screen by clicking on the upper-right setting menu,

<figure><img src="https://2948796384-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LmzGprckLqwd5v6bs6m%2Fuploads%2Fkyt8QjCHVv6b4itxOemU%2Fimage.png?alt=media&amp;token=53e2308e-4a62-4bd8-9312-ff5d2dfb79ec" alt=""><figcaption></figcaption></figure>

Selecting the top tab *ingest Configuration* to get into the general ADF settings. Scrolling down the settings page further will display Generative AI settings in two separate locations: Azure AI deployment and OpenAI deployment.

<figure><img src="https://2948796384-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LmzGprckLqwd5v6bs6m%2Fuploads%2F0DaTuxJchAXNjq6TYu3g%2Fimage.png?alt=media&amp;token=44653a58-5799-400d-b7a2-8c1b8198e106" alt=""><figcaption><p>Azure AI Related Configuration</p></figcaption></figure>

<figure><img src="https://2948796384-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LmzGprckLqwd5v6bs6m%2Fuploads%2FiDiMtOARGLulbeEHojct%2Fimage.png?alt=media&amp;token=729ba090-9cd6-497f-8c4c-350271085b6b" alt=""><figcaption><p>OpenAI Related Confiugration</p></figcaption></figure>

The ADF platform supports major GenAI vendors, specifically Azure AI or OpenAI backends. The admin user first needs to specify and fill the *OPENAI\_VENDOR* blank with the vendor name: azure or openai. Depending on the vendor configuration, the admin then needs to complete the detailed access information.

For Azure deployment, the configuration blanks that need to be filled are:

* *AZURE\_OPENAI\_DEPLOYMENT\_NAME*
* *AZURE\_OPENAI\_ENDPOINT*
* *AZURE\_OPENAI\_KEY*
* *OPEN\_AI\_MODEL*

For OpenAI deployment, the configuration blanks that need to be filled are:

* *OPENAI\_KEY*
* *ASURE\_OPENAI\_ENDPOINT*
* *OPEN\_AI\_MODEL*

Notice that as of August 2024, the ADF Azure deployment supports models:

* gpt-4
* gpt-4o
* gpt-4o-mini
* gpt-3.5-turbo
