Skip to content

Commit

Permalink
Update docs: add hf reranker, fix github links and searchindex links (#…
Browse files Browse the repository at this point in the history
…246)

Misc documentation updates:

- Add missing HFCrossEncoderReranker to API docs
- Fix internal (anchor) links in Search Index API docs
- Fix "edit on GitHub" link
  • Loading branch information
antonum authored Nov 26, 2024
1 parent acf3c66 commit b954656
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 8 deletions.
12 changes: 12 additions & 0 deletions docs/api/reranker.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,15 @@ CohereReranker
.. autoclass:: CohereReranker
:show-inheritance:
:members:


HFCrossEncoderReranker
========================

.. _hfcrossencoderreranker_api:

.. currentmodule:: redisvl.utils.rerank.hf_cross_encoder

.. autoclass:: HFCrossEncoderReranker
:show-inheritance:
:members:
12 changes: 6 additions & 6 deletions docs/api/searchindex.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,27 @@ Search Index Classes

* - Class
- Description
* - `SearchIndex <#searchindex_api>`_
* - :ref:`searchindex_api`
- Primary class to write, read, and search across data structures in Redis.
* - `AsyncSearchIndex <#asyncsearchindex_api>`_
* - :ref:`asyncsearchindex_api`
- Async version of the SearchIndex to write, read, and search across data structures in Redis.

.. _searchindex_api:

SearchIndex
===========

.. _searchindex_api:

.. currentmodule:: redisvl.index

.. autoclass:: SearchIndex
:inherited-members:
:members:

.. _asyncsearchindex_api:

AsyncSearchIndex
================

.. _asyncsearchindex_api:

.. currentmodule:: redisvl.index

.. autoclass:: AsyncSearchIndex
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@
html_logo = "_static/Redis_Favicon_32x32_Red.png"
html_favicon = "_static/Redis_Favicon_32x32_Red.png"
html_context = {
"github_user": "Redis",
"github_repo": "Redis-VL-python",
"github_user": "redis",
"github_repo": "redis-vl-python",
"github_version": "main",
"doc_path": "docs",
}
Expand Down

0 comments on commit b954656

Please sign in to comment.