<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@xg-wang/openai-js](./openai-js.md) &gt; [Classification](./openai-js.classification.md)

## Classification interface

<b>Signature:</b>

```typescript
export interface Classification
```

## Properties

| Property                                                             | Type                                                                                      | Description |
| -------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------- |
| [completion](./openai-js.classification.completion.md)               | string                                                                                    |             |
| [label](./openai-js.classification.label.md)                         | string                                                                                    |             |
| [model](./openai-js.classification.model.md)                         | string                                                                                    |             |
| [object](./openai-js.classification.object.md)                       | "classification"                                                                          |             |
| [search_model](./openai-js.classification.search_model.md)           | string                                                                                    |             |
| [selected_examples](./openai-js.classification.selected_examples.md) | [ClassificationSelectedExample](./openai-js.classificationselectedexample.md)<!-- -->\[\] |             |
