Skip to content

Commit

Permalink
fix documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
bpiwowar committed May 31, 2024
1 parent ed2f0ef commit b2c5875
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
8 changes: 8 additions & 0 deletions docs/source/api/conversation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,11 @@ Contextual query reformulation

.. autoclass:: datamaestro_text.data.conversation.orconvqa.OrConvQADatasetHistoryEntry
:members:



.. autoclass:: datamaestro_text.data.conversation.orconvqa.QReCCDatasetEntry
:members:

.. autoxpmconfig:: datamaestro_text.data.conversation.qrecc.QReCCDataset
:members: iter
2 changes: 2 additions & 0 deletions docs/source/datasets/conversation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ Contextualized Query Rewriting
.. dm:datasets:: com.github.aagohary.canard text
.. dm:datasets:: com.github.prdwb.orconvqa text
.. dm:datasets:: com.github.apple.ml-qrecc text
7 changes: 4 additions & 3 deletions docs/source/datasets/irds.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ version of `ir-datasets` is more ancient or newer than the one used at generatio
Data types
----------

.. autoxpmconfig:: xpmir.datasets.irds.data.Topics
.. autoxpmconfig:: xpmir.datasets.irds.data.Documents
.. autoxpmconfig:: xpmir.datasets.irds.data.AdhocAssessments
.. autoxpmconfig:: datamaestro_text.datasets.irds.data.Topics
.. autoxpmconfig:: datamaestro_text.datasets.irds.data.Documents
.. autoxpmconfig:: datamaestro_text.datasets.irds.data.AdhocAssessments
.. autoxpmconfig:: datamaestro_text.datasets.irds.data.LZ4DocumentStore


List of datasets
Expand Down
2 changes: 0 additions & 2 deletions src/datamaestro_text/data/conversation/qrecc.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from functools import cached_property
from typing import Iterator, List, Optional
from attr import define
import json
Expand All @@ -16,7 +15,6 @@
AnswerEntry,
ConversationTree,
EntryType,
RetrievedEntry,
SimpleDecontextualizedItem,
SingleConversationTree,
)
Expand Down

0 comments on commit b2c5875

Please sign in to comment.