Skip to content

Commit

Permalink
fix tests due to direct new param in actionplan
Browse files Browse the repository at this point in the history
  • Loading branch information
yorevs committed Oct 17, 2024
1 parent 4dabc61 commit 5e3d012
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 2 deletions.
47 changes: 47 additions & 0 deletions src/main/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
###### AUTO-GENERATED Requirements file for: AskAI ######

hspylib>=1.12.50
hspylib-clitt>=0.9.138
hspylib-setman>=0.10.41
retry2>=0.9.5
pause>=0.3
tqdm>=4.66.5
pyperclip>=1.9.0
python-magic>=0.4.27
pytz>=2024.1
langchain>=0.3.0
langchain-openai>=0.2.0
langchain-community>=0.3.1
langchain-google-community>=2.0.0
openai-whisper>=20231117
openai>=1.48.0
google-api-python-client>=2.147.0
fake_useragent>=1.5.1
requests>=2.32.3
urllib3>=1.26.20
protobuf>=4.25.4
aiohttp>=3.10.5
html2text>=2024.2.26
rich>=13.8.1
textual>=0.80.1
soundfile>=0.12.1
PyAudio>=0.2.14
SpeechRecognition>=3.10.4
opencv-python>=4.10.0.84
pyautogui>=0.9.54
torch>=2.2.0
torchvision>=0.17.2
open-clip-torch
opentelemetry-api>=1.27.0
opentelemetry-sdk>=1.27.0
opentelemetry-proto>=1.27.0
transformers>=4.44.2
unstructured>=0.15.8
unstructured[md]>=0.15.8
tiktoken>=0.7.0
stanza==1.1.1
nltk>=3.9.1
faiss-cpu~=1.8.0
chromadb>=0.5.5
deepl>=1.18.0
argostranslate==1.9.1
7 changes: 5 additions & 2 deletions src/test/fixtures/action_plan_stubs.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ def stub_response(index: int) -> Optional[ActionPlan]:
"list my downloads",
"I will help you list the contents of your 'Downloads' folder.",
"List the contents of the 'Downloads' folder",
False,
[],
[
SimpleNamespace(
Expand All @@ -26,16 +27,18 @@ def stub_response(index: int) -> Optional[ActionPlan]:
),
ActionPlan(
"hello",
"I will greet the user and initiate the conversation.",
"Hello! How can I assist you today?",
"Respond to the user's greeting.",
True,
[],
[],
[SimpleNamespace(**{"id": "1", "task": "Direct: 'Hello! How can I assist you today?'"})],
ModelResult.default(),
),
ActionPlan(
"List my downloads and let me know if there is any image.",
"I will list the contents of your downloads folder and check for any image files present.",
"List the contents of the downloads folder and identify any image files",
False,
[
SimpleNamespace(**{"id": "1", "sub_goal": "List the contents of the downloads folder"}),
SimpleNamespace(**{"id": "2", "sub_goal": "Identify image files in the downloads folder"}),
Expand Down

0 comments on commit 5e3d012

Please sign in to comment.