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

# DefaultFormatter

<Warning>
  We are sunsetting our SDKs and will no longer add new features, security patches, bug fixes, or technical support for them. To access the latest capabilities and ongoing improvements, we encourage you to migrate to our [RESTful API](/api-rest/introduction).

  SDK support will officially end on **December 31, 2026**. On this date, the underlying endpoints used by the SDKs and related documentation will be decommissioned.

  To avoid any disruption to your services, please ensure your migration is complete by that date.

  For migration assistance, please contact us at [support@bigdata.com](mailto:support@bigdata.com).
</Warning>

Default formatter for inline attributions in chat messages.

## Methods

### `format(index, source)`

Format an inline attribution using a default reference style.

**Parameters:**

<ParamField query="index" type="int" required>
  The index of the attribution within the list of attributions.
</ParamField>

<ParamField query="source" type="ChatSource" required>
  The inline attribution to format: [ChatSource](./chatSource)
</ParamField>

**Returns:**

A string representing the formatted attribution in default reference style.
