# Examples

## Workflows

Seldon inference is built from atomic Model components. Models as [shown here](/seldon-core-2/user-guide/models/inference-artifacts.md) cover a wide range of artifacts including:

* Core machine learning models, e.g. a PyTorch model.
* Feature transformations that might be built with custom python code.
* Drift detectors.
* Outlier detectors.
* Explainers
* Adversarial detectors.

A typical workflow for a production machine learning setup might be as follows:

1. You create a Tensorflow model for your core application use case and test this model in isolation to validate.
2. You create SKLearn feature transformation component before your model to convert the input into the correct form for your model. You also create Drift and Outlier detectors using Seldon's open source Alibi-detect library and test these in isolation.
3. You join these components together into a Pipeline for the final production setup.

These steps are shown in the diagram below:

![Workflow](/files/G0GtkZqhm6RbflDuhwF9)

## Examples & Tutorials

This section will provide some examples to allow operations with Seldon to be tested so you can run your own models, experiments, pipelines and explainers.

## Getting Started Examples

* [Local examples](/seldon-core-2/user-guide/examples/local-examples.md)
* [Kubernetes examples](/seldon-core-2/user-guide/examples/k8s-examples.md)

## Models

* [Huggingface models](/seldon-core-2/user-guide/examples/huggingface.md)
* [Model zoo](/seldon-core-2/user-guide/examples/model-zoo.md)
* [Artifact versions](/seldon-core-2/user-guide/examples/multi-version.md)

## Pipelines

* [Pipeline examples](/seldon-core-2/user-guide/examples/pipeline-examples.md)
* [Pipeline to pipeline examples](/seldon-core-2/user-guide/examples/pipeline-to-pipeline.md)
* [Cyclic Pipeline](/seldon-core-2/user-guide/examples/pipeline-cyclic.md)

## Explainers

* [Explainer examples](/seldon-core-2/user-guide/examples/explainer-examples.md)

## Servers

* [Custom Servers](/seldon-core-2/user-guide/examples/custom-servers.md)

## Experiments

* [Local experiments](/seldon-core-2/user-guide/examples/local-experiments.md)
* [Experiment version examples](/seldon-core-2/user-guide/examples/experiment-versions.md)

## Making Inference Requests

* [Inference examples](/seldon-core-2/user-guide/inference/inference-1.md)
* [Tritonclient examples](/seldon-core-2/user-guide/examples/tritonclient-examples.md)
* [Batch Inference examples (kubernetes)](/seldon-core-2/user-guide/inference/batch-examples-k8s.md)
* [Batch Inference examples (local)](/seldon-core-2/user-guide/examples/batch-examples-local.md)

## Misc

* [Checking Pipeline readiness](/seldon-core-2/user-guide/examples/pipeline-ready-and-metadata.md)
* [Local Overcommit](https://github.com/SeldonIO/seldon-core/blob/v2/docs-gb/examples/local-overcommit-examples.md)

## Further Kubernetes Examples

* [Kubernetes custerwide example](/seldon-core-2/user-guide/examples/k8s-clusterwide.md)

## Advanced Examples

* [Huggingface speech to sentiment with explanations pipeline](/seldon-core-2/user-guide/examples/speech-to-sentiment.md)
* [Production image classifier with drift and outlier monitoring](/seldon-core-2/user-guide/examples/cifar10.md)
* [Production income classifier with drift, outlier and explanations](/seldon-core-2/user-guide/examples/income.md)
* [Conditional pipeline with pandas query model](/seldon-core-2/user-guide/examples/pandasquery.md)
* [Kubernetes Server with PVC](/seldon-core-2/user-guide/examples/k8s-pvc.md)


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.seldon.ai/seldon-core-2/user-guide/examples.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
