> ## 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.

# Normalize Content • AI Agent SDK

> normalize_content: Normalize content for consistent storage.

# normalize\_content

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**Knowledge**](../classes/Knowledge) class in the [**knowledge**](../modules/knowledge) module.

Normalize content for consistent storage.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def normalize_content(content: Any) -> Any
```

## Parameters

<ParamField query="content" type="Any" required={true}>
  No description available.
</ParamField>

### Returns

<ResponseField name="Returns" type="Any">
  The result of the operation.
</ResponseField>

## Used By

* [`Memory.build_context_for_task`](../functions/Memory-build_context_for_task)

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/knowledge/knowledge.py#L677">
  `praisonaiagents/knowledge/knowledge.py` at line 677
</Card>
