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

# Sanitize Chroma Metadata • AI Agent SDK

> sanitize_chroma_metadata: Sanitize metadata for ChromaDB - convert to acceptable types.

# sanitize\_chroma\_metadata

Function

> This function is defined in the [**factories**](https://praison.ai/docs/sdk/reference/praisonaiagents/modules/factories.md) module.

Sanitize metadata for ChromaDB - convert to acceptable types.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def sanitize_chroma_metadata(metadata: Dict) -> Dict
```

## Parameters

**metadata** `Dict` *required*

No description available.

### Returns

**Returns** `Dict`

The result of the operation.

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/memory/adapters/factories.py#L27)
>
> `praisonaiagents/memory/adapters/factories.py` at line 27


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.