> ## Documentation Index
> Fetch the complete documentation index at: https://docs.adaptive-ml.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Use cases

> Manage use cases in Adaptive Engine

<Frame caption={<span>The <b>Use Cases</b> UI lists all the use cases that have been created in your Adaptive Engine deployment</span>}>
  <img src="https://mintcdn.com/adaptiveml/nxrXfjE5HXjTB4Su/static/use-cases.png?fit=max&auto=format&n=nxrXfjE5HXjTB4Su&q=85&s=d031dd42007ef8b8d1a18919aa031964" width="1917" height="552" data-path="static/use-cases.png" />
</Frame>

<span style={{color: '#DA763F', fontWeight: 'bold'}}>Adapting</span> a model inherently specializes it for a given task and downstream usage pattern.

This is why Adaptive Engine is built with *use cases* as base workspaces. Other resources - like [models](concepts/models) and [metrics](concepts/metrics) for monitoring and [evaluation](/v0.5/guides/abtesting) - are linked to them.

In a code completion use case, you might want to adapt a model to improve the quality of generated SQL queries for your database schemas, by tracking and optimizing for instances of query execution success.
While in a sales copilot use case, you might want to adapt a model to boost your sales conversion rate, directly optimizing based on conversion feedback data.

Before you get started with other Adaptive Engine's features, you should create your first use case via the UI or the SDK:

<Info>
  [Create](/v0.5/concepts/authentication) an `Adaptive` client first
</Info>

```python Adaptive SDK theme={null}
use_case = adaptive.use_cases.create(
    key="sales_copilot",
    name="Sales Copilot", # optional, if not set, will match use case key
    description="This use case serves our org's outbound sales pipeline."
)
```

Many of `Adaptive` client's methods operate on a single use case. You can configure a default use case for the client, which will make all non-global methods bound to that use case.
The default use case can be explicitly overridden.

```python Adaptive SDK theme={null}
use_case = adaptive.use_cases.create(
    key="sales_copilot",
    name="Sales Copilot", # optional, if not set, will match use case key
    description="This use case serves our org's outbound sales pipeline."
)

# configure sales_copilot as default use case
adaptive.set_default_use_case("sales_copilot")

# detach model from default use_case
adaptive.models.detach(model="llama_3.1_8b")

# detach model from overridden use_case
adaptive.models.detach(model="llama_3.1_8b", use_case="override_use_case")
```

See the [SDK Reference](/v0.5/sdk-reference/reference) for all use case-related methods.
