Skip to content

Commit 545ccb6

Browse files
authored
Updated register splitter doc (#772)
1 parent 1cdeae1 commit 545ccb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pgml-sdks/python/pgml/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ This function allows for the registration of a model in a database, creating a r
254254
#### Register Text Splitter
255255

256256
```python
257-
await collection.register_text_splitter(splitter_name="recursive_character",splitter_params={"chunk_size": 100,"chunk_overlap": 20})
257+
await collection.register_text_splitter(splitter_name="recursive_character",splitter_params={"chunk_size": "100","chunk_overlap": "20"})
258258
```
259259

260260
This function allows for the registration of a text spliter in a database, creating a record if it doesn't already exist. Following [LangChain](https://python.langchain.com/en/latest/reference/modules/text_splitter.html) splitters are supported.

0 commit comments

Comments
 (0)