Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: adjust adapt confidence levels #418

Merged
merged 1 commit into from
Feb 24, 2024

Conversation

JarbasAl
Copy link
Member

maybe fixes #417

@JarbasAl JarbasAl added the bug Something isn't working label Feb 24, 2024
maybe fixes #417

handle bad pipeline requests based on chat feedback

```
2024-02-24 18:20:09.365 - skills - ovos_core.transformers:transform:60 - DEBUG - ovos-utterance-normalizer: {'client_name': 'ovos_dinkum_listener', 'source': 'VoiceSatelliteV0.3.0:192.168.2.222::53c07e5b-e6a9-4467-bc5b-283842693997', 'destination': ['skills'], 'transcription': 'wie spät ist es', 'session': {'active_skills': [], 'utterance_states': {}, 'session_id': '53c07e5b-e6a9-4467-bc5b-283842693997', 'lang': 'en-us', 'context': {'timeout': 120, 'frame_stack': []}, 'site_id': 'unknown', 'pipeline': ['stop_high', 'converse', 'padatious_high', 'adapt_high', 'fallback_high', 'stop_medium', 'padatious_medium', 'adapt_medium', 'adapt_low', 'common_qa', 'fallback_medium', 'fallback_low'], 'stt': {'plugin_id': 'ovos-stt-plugin-server', 'config': {}}, 'tts': {'plugin_id': 'ovos-tts-plugin-server', 'config': {}}}, 'peer': 'VoiceSatelliteV0.3.0:192.168.2.222::53c07e5b-e6a9-4467-bc5b-283842693997', 'lang': 'de-de'}

2024-02-24 18:20:09.369 - skills - ovos_core.intent_services:handle_utterance:348 - ERROR - 'adapt_high'

Traceback (most recent call last):

  File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_core/intent_services/__init__.py", line 313, in handle_utterance

    for match_func in self.get_pipeline(session=sess):

                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_core/intent_services/__init__.py", line 238, in get_pipeline

    return [matchers[k] for k in pipeline]

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_core/intent_services/__init__.py", line 238, in <listcomp>

    return [matchers[k] for k in pipeline]

            ~~~~~~~~^^^

KeyError: 'adapt_high'

2024-02-24 18:20:09.464 - skills - ovos_bus_client.client.client:on_default_session_update:161 - DEBUG - synced default_session

```

Update requirements.txt
@JarbasAl JarbasAl force-pushed the fix-adjust-adapt-confidence-levels branch from 9086fd6 to bb12475 Compare February 24, 2024 21:22
@JarbasAl
Copy link
Member Author

failing tests unrelated to this PR, #421 will fix them

@JarbasAl JarbasAl merged commit f7d814f into dev Feb 24, 2024
6 of 8 checks passed
@JarbasAl JarbasAl deleted the fix-adjust-adapt-confidence-levels branch February 24, 2024 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Problems with adapt service
2 participants