Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
import sys
sys.path.insert(0, os.path.abspath('.'))

print(f"Sphinx is using Python executable at: {sys.executable}", flush=True)
print(f"Python version: {sys.version}", flush=True)

# -- Project information -----------------------------------------------------

project = 'RedisVL'
Expand Down
7 changes: 7 additions & 0 deletions docs/user_guide/vectorizers_04.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,13 @@
"print(test[:10])"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Learn more about using RedisVL and Cohere together through [this dedicated user guide](https://docs.cohere.com/docs/redis-and-cohere)."
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down
6 changes: 4 additions & 2 deletions redisvl/index/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,8 @@ def paginate(self, query: BaseQuery, page_size: int = 30) -> Generator:
TypeError: If the page_size argument is not of type int.
ValueError: If the page_size argument is less than or equal to zero.

Example:
.. code-block:: python

# Iterate over paginated search results in batches of 10
for result_batch in index.paginate(query, page_size=10):
# Process each batch of results
Expand Down Expand Up @@ -993,7 +994,8 @@ async def paginate(self, query: BaseQuery, page_size: int = 30) -> AsyncGenerato
TypeError: If the page_size argument is not of type int.
ValueError: If the page_size argument is less than or equal to zero.

Example:
.. code-block:: python

# Iterate over paginated search results in batches of 10
async for result_batch in index.paginate(query, page_size=10):
# Process each batch of results
Expand Down