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

# autogen.agentchat.contrib.vectordb.base.Document

<h2 id="autogen.agentchat.contrib.vectordb.base.Document" class="doc doc-heading">
  <code class="doc-symbol doc-symbol-heading doc-symbol-class" />

  <span class="doc doc-object-name doc-class-name">Document</span>
</h2>

```python theme={null}
Document(*args, **kwargs)
```

A Document is a record in the vector database.<br />id: ItemID | the unique identifier of the document.<br />content: str | the text content of the chunk.<br />metadata: Metadata, Optional | contains additional information about the document such as source, date, etc.<br />embedding: Vector, Optional | the vector representation of the content.

<b>Parameters:</b>

| Name       | Description |
| ---------- | ----------- |
| `*args`    |             |
| `**kwargs` |             |

### Class Attributes

<code class="doc-symbol doc-symbol-heading doc-symbol-attribute" />

#### content

<br />

<br />

<code class="doc-symbol doc-symbol-heading doc-symbol-attribute" />

#### embedding

<br />

<br />

<code class="doc-symbol doc-symbol-heading doc-symbol-attribute" />

#### id

<br />

<br />

<code class="doc-symbol doc-symbol-heading doc-symbol-attribute" />

#### metadata

<br />

<br />
