diff --git a/embedchain/docs/components/data-sources/mysql.mdx b/embedchain/docs/components/data-sources/mysql.mdx index e3ee9a48..2a5cb7a0 100644 --- a/embedchain/docs/components/data-sources/mysql.mdx +++ b/embedchain/docs/components/data-sources/mysql.mdx @@ -35,7 +35,7 @@ response = app.query(question) NOTE: The `add` function of the app will accept any executable query to load data. DO NOT pass the `CREATE`, `INSERT` queries in `add` function. 3. We automatically create a chunker to chunk your SQL data, however if you wish to provide your own chunker class. Here is how you can do that: -``Python +```Python from embedchain.chunkers.mysql import MySQLChunker from embedchain.config.add_config import ChunkerConfig @@ -44,4 +44,4 @@ mysql_chunker_config = ChunkerConfig(chunk_size=1000, chunk_overlap=0, length_fu mysql_chunker = MySQLChunker(config=mysql_chunker_config) app.add("SELECT * FROM table_name;", data_type='mysql', loader=mysql_loader, chunker=mysql_chunker) -``` \ No newline at end of file +```