> For the complete documentation index, see [llms.txt](https://docs.flashback.tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flashback.tech/guides/explore-use-cases/ai-llm.md).

# AI LLM

This page introduces practical AI application patterns built on Flashgate’s OpenAI-compatible AI Gateway.

The goal is to help teams deploy production-grade LLM workflows with:

* centralized credential management,
* repository-level API keys,
* policy enforcement and observability,
* model/provider portability.

## Available use cases

* [**Multi-model fallback and reliability routing**](/guides/explore-use-cases/ai-llm/multi-model-fallback-and-reliability-routing.md)
* [**Cost guardrails with automatic model tiering**](/guides/explore-use-cases/ai-llm/cost-guardrails-with-automatic-model-tiering.md)
* [**PII-safe support assistant with policy enforcement**](/guides/explore-use-cases/ai-llm/pii-safe-support-assistant-with-policy-enforcement.md)
* [**RAG knowledge assistant over multi-cloud storage**](/guides/explore-use-cases/ai-llm/rag-knowledge-assistant-over-multi-cloud-storage.md)

## Before you start

Make sure you have:

1. At least one configured AI provider in Flashgate (AI → AI LLM).
2. A repository exposing an OpenAI-compatible endpoint.
3. Repository API keys for your application.
4. Optional governance rules in AI Policy for production workloads.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.flashback.tech/guides/explore-use-cases/ai-llm.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
