Code
Usage
1
Create a virtual environment
Open the
Terminal
and create a python virtual environment.2
Install libraries
3
Run PgVector
4
Run Agent
Semantic Chunking Params
Parameter | Type | Default | Description |
---|---|---|---|
embedder | Embedder | OpenAIEmbedder | The embedder to use for semantic chunking. |
chunk_size | int | 5000 | The maximum size of each chunk. |
similarity_threshold | float | 0.5 | The similarity threshold for determining chunk boundaries. |