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
2 changes: 1 addition & 1 deletion openssa/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
from .core.programming.hierarchical.plan import HTP
from .core.programming.hierarchical.planner import HTPlanner

from .core.reasoning.base import BaseReasoner
from .core.reasoning.ooda import OodaReasoner
from .core.reasoning.simple.simple_reasoner import SimpleReasoner

from .core.resource.file import FileResource

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
BASE REASONER
=============

`BaseReasoner` is `OpenSSA`'s basic reasoning implementation,
`SimpleReasoner` is `OpenSSA`'s basic reasoning implementation,
which simply forwards posed problems/questions/tasks to available informational resources,
and aggregates answers from such resources without much further analysis.
"""
Expand All @@ -29,8 +29,8 @@


@dataclass
class BaseReasoner(AbstractReasoner):
"""Base Reasoner."""
class SimpleReasoner(AbstractReasoner):
"""Simple Reasoner."""

def reason(self, task: Task, *,
knowledge: set[Knowledge], other_results: list[AskAnsPair] | None = None, n_words: int = 1000) -> str:
Expand Down