Skip to content
Draft
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
3 changes: 2 additions & 1 deletion .github/workflows/skill_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ jobs:
skill_intent_tests:
uses: neongeckocom/.github/.github/workflows/skill_test_intents.yml@master
with:
test_padacioso: True
test_padacioso: False
# TODO: Padacioso fails to not match unknown entities
test_padatious: True
skill_resource_tests:
uses: neongeckocom/.github/.github/workflows/skill_test_resources.yml@master
Expand Down
3 changes: 2 additions & 1 deletion locale/en-us/intent/ask_llm.intent

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this mean we need to not use things like 'jack chi pt' or long long lists of choices? I'm not clear if I need to change some things.

Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
(ask|tell) (chatgpt|chat gpt|chat g p t|chat gpg|chat gptc|jack gpt|jack chi pt|fast chat|fastchat) {question}
(ask|tell) (chat gpt|chat g p t|chat gpg|chatgpt|jack chi pt) {question}
# TODO: multi-word entities appears broken in Padatious and Padacioso. For now, only support "chat gpt" here
2 changes: 1 addition & 1 deletion locale/en-us/intent/chat_with_llm.intent
Original file line number Diff line number Diff line change
@@ -1 +1 @@
(i want to |)(chat|talk|converse|start a conversation) (to|with) (chat gpt|chat g p t|chat gpg|chatgpt|jack gpt|jack chi pt|fastchat|fast chat)
(i want to |)(chat|converse|start a conversation) with {llm}
2 changes: 1 addition & 1 deletion locale/en-us/intent/disable_fallback.intent
Original file line number Diff line number Diff line change
@@ -1 +1 @@
disable (llm|chatgpt|chat gpt|chat g p t|chat gpg) (fallback|fall back)( skill|)
disable {llm} (fallback|fall back)( skill|)
2 changes: 1 addition & 1 deletion locale/en-us/intent/enable_fallback.intent
Original file line number Diff line number Diff line change
@@ -1 +1 @@
enable (llm|chatgpt|chat gpt|chat g p t|chat gpg) (fallback|fall back)( skill|)
enable {llm} (fallback|fall back)( skill|)
5 changes: 4 additions & 1 deletion locale/en-us/intent/llm.entity
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@ chat gpt
chat g p t
chat gpg
chatgpt
jack chi pt
jack chi pt
llm
l l m
large language model
2 changes: 1 addition & 1 deletion requirements/test.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neon-minerva[padatious]~=0.1,>=0.1.1a1
neon-minerva[padatious]~=0.2
23 changes: 14 additions & 9 deletions test/test_intents.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,20 @@ en-us:
- tell chatgpt my name is neon:
- question: my name is neon
chat_with_llm.intent:
- chat with chat gpt
# - llm: chat gpt
- talk to chatgpt
- chat with chat gpt:
- llm: chat gpt
# - talk to chatgpt:
# - llm: chatgpt
- start a conversation with chat g p t
# - llm: chat g p t
- talk with chat g p t
# - llm: chat g p t
- i want to talk to chat gpt
# - llm: chat gpt
- start a conversation with chat g p t:
- llm: chat g p t
- talk with chat g p t:
- llm: chat g p t
- i want to talk to chat gpt:
- llm: chat gpt
enable_fallback.intent:
- enable chat gpt fallback
- enable llm fallback skill
- enable large language model fall back
disable_fallback.intent:
- disable chat g p t fallback skill
email_chat_history.intent:
Expand All @@ -49,6 +51,9 @@ en-us:
- send me a transcript of our chat

unmatched intents:
config:
include_med: False
include_low: False
en-us:
- ask neon what time it is
- tell me about rocks
Expand Down