nardial 0.1.2__tar.gz → 0.1.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {nardial-0.1.2 → nardial-0.1.4}/PKG-INFO +1 -1
- {nardial-0.1.2 → nardial-0.1.4}/pyproject.toml +1 -1
- {nardial-0.1.2 → nardial-0.1.4}/src/nardial/authoring/factory.py +2 -2
- {nardial-0.1.2 → nardial-0.1.4}/src/nardial/authoring/loader.py +2 -2
- {nardial-0.1.2 → nardial-0.1.4}/src/nardial/interaction_orchestrator.py +1 -1
- {nardial-0.1.2 → nardial-0.1.4}/src/nardial.egg-info/PKG-INFO +1 -1
- {nardial-0.1.2 → nardial-0.1.4}/tests/test_moves.py +2 -2
- {nardial-0.1.2 → nardial-0.1.4}/LICENSE +0 -0
- {nardial-0.1.2 → nardial-0.1.4}/README.md +0 -0
- {nardial-0.1.2 → nardial-0.1.4}/setup.cfg +0 -0
- {nardial-0.1.2 → nardial-0.1.4}/src/nardial/__init__.py +0 -0
- {nardial-0.1.2 → nardial-0.1.4}/src/nardial/authoring/__init__.py +0 -0
- {nardial-0.1.2 → nardial-0.1.4}/src/nardial/authoring/export_html.py +0 -0
- {nardial-0.1.2 → nardial-0.1.4}/src/nardial/conversation_agent.py +0 -0
- {nardial-0.1.2 → nardial-0.1.4}/src/nardial/conversation_state.py +0 -0
- {nardial-0.1.2 → nardial-0.1.4}/src/nardial/dialog_logic.py +0 -0
- {nardial-0.1.2 → nardial-0.1.4}/src/nardial/mini_dialogs.py +0 -0
- {nardial-0.1.2 → nardial-0.1.4}/src/nardial/moves.py +0 -0
- {nardial-0.1.2 → nardial-0.1.4}/src/nardial/session_manager.py +0 -0
- {nardial-0.1.2 → nardial-0.1.4}/src/nardial/tts_manager.py +0 -0
- {nardial-0.1.2 → nardial-0.1.4}/src/nardial.egg-info/SOURCES.txt +0 -0
- {nardial-0.1.2 → nardial-0.1.4}/src/nardial.egg-info/dependency_links.txt +0 -0
- {nardial-0.1.2 → nardial-0.1.4}/src/nardial.egg-info/requires.txt +0 -0
- {nardial-0.1.2 → nardial-0.1.4}/src/nardial.egg-info/top_level.txt +0 -0
- {nardial-0.1.2 → nardial-0.1.4}/tests/test_llm.py +0 -0
- {nardial-0.1.2 → nardial-0.1.4}/tests/test_mini_dialogs_extra.py +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from typing import Any, Dict, List
|
|
2
2
|
|
|
3
|
-
from
|
|
4
|
-
from
|
|
3
|
+
from nardial.mini_dialogs import MiniDialog, NarrativeDialog, ChitchatDialog, FunctionalDialog, LLMDialog, DialogType
|
|
4
|
+
from nardial.moves import MOVE_SAY, MOVE_ASK_OPEN, MOVE_ASK_YESNO, MOVE_ASK_OPTIONS, MOVE_PLAY_AUDIO, MOVE_BRANCH
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
ALLOWED_MOVE_TYPES = {MOVE_SAY, MOVE_ASK_YESNO, MOVE_ASK_OPEN, MOVE_ASK_OPTIONS, MOVE_PLAY_AUDIO, MOVE_BRANCH}
|
|
@@ -2,8 +2,8 @@ import json
|
|
|
2
2
|
import os
|
|
3
3
|
from typing import Any, Dict, List, Tuple
|
|
4
4
|
|
|
5
|
-
from
|
|
6
|
-
from
|
|
5
|
+
from nardial.authoring.factory import DialogFactory
|
|
6
|
+
from nardial.mini_dialogs import MiniDialog
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
def _load_json_file(path: str) -> List[Dict[str, Any]]:
|
|
@@ -144,7 +144,7 @@ class InteractionOrchestrator:
|
|
|
144
144
|
self.app = SICApplication()
|
|
145
145
|
self.logger = self.app.get_app_logger()
|
|
146
146
|
self.app.set_log_level(sic_logging.DEBUG) # can be DEBUG, INFO, WARNING, ERROR, CRITICAL
|
|
147
|
-
self.app.
|
|
147
|
+
self.app.set_log_file_path("./logs")
|
|
148
148
|
|
|
149
149
|
# Data logging
|
|
150
150
|
self._log_queue = None
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Replace the heavy sic_framework device-based agent with a simple mock agent for tests
|
|
2
2
|
from unittest.mock import Mock
|
|
3
3
|
|
|
4
|
-
from
|
|
5
|
-
from
|
|
4
|
+
from nardial.mini_dialogs import MiniDialog
|
|
5
|
+
from nardial.moves import MoveSay, MOVE_ASK_YESNO, MOVE_ASK_OPEN, MOVE_ASK_OPTIONS, MOVE_PLAY_AUDIO, MOVE_ANIMATION, \
|
|
6
6
|
MOVE_MOTION_SEQUENCE
|
|
7
7
|
|
|
8
8
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|