# Build a support assistant

Start with a chat Endpoint and a small client application. Nestor hosts inference;
your application supplies the user interface, trusted support context and response
policy. A model reply is not automatically a verified answer or a support action.

## Deploy and call chat

In [Console](/console), create an Endpoint for
`Qwen/Qwen2.5-0.5B-Instruct`, keep runtime and hardware on **Auto**, and select one
replica. Wait for **READY** and send a short test prompt in Playground. The supplied
walkthrough uses the same model for plain and streamed chat; the resolved revision
is visible on the Endpoint.

For your backend, have a human create an invocation key bound to this Endpoint.
Store it in your backend's secret manager. Use the Endpoint's Connect details or
[Python SDK](/sdks/python). Do not expose an invocation key in a browser bundle,
and do not give the backend a management key merely to send chat requests.

## Add context in your application

Begin with a few reviewed support passages and ask the model to answer only from
those passages, identify missing information and avoid requesting private keys.
Your application decides which passages each user may see before sending them to
the model. Project isolation does not replace end-user access checks in your app.
Evaluate a small set of questions and inspect wrong or unsupported answers before
using the assistant with customers. The small qualified model is an execution
example, not a demonstrated support-answer quality benchmark.

An optional Application records the product identity. Link the Endpoint to it in
Console to show the declared relationship. Linking does not create credentials,
route traffic or deploy code. [Document search](/guides/document-search) explains
how your own retrieval step can provide a narrower context.

## Observe and finish

Inspect requests, logs, token usage and failed Operations in Console. A rolling
model change retains the old allocation until its replacement is ready, requiring
extra capacity and quota. With one GPU, delete the old Endpoint, wait for release,
and create a replacement with a new invocation key.

Revoke disposable keys and delete unneeded Endpoints. Those actions do not delete
reusable Data or your Application identity; manage each resource deliberately.
