diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index e69de29b..00000000 diff --git a/.run/Ask Interactive Mute.run.xml b/.run/Ask Interactive Mute.run.xml deleted file mode 100644 index b9fae707..00000000 --- a/.run/Ask Interactive Mute.run.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - \ No newline at end of file diff --git a/.run/Ask Interactive.run.xml b/.run/Ask Interactive.run.xml deleted file mode 100644 index ea481226..00000000 --- a/.run/Ask Interactive.run.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - \ No newline at end of file diff --git a/dependencies.hspd b/dependencies.hspd index 5819b060..9d9eb007 100644 --- a/dependencies.hspd +++ b/dependencies.hspd @@ -9,6 +9,7 @@ /* HSPyLib projects */ package: hspylib, version: 1.12.53, mode: ge +package: hspylib-datasource, version: 0.9.82, mode: ge package: hspylib-clitt, version: 0.9.140, mode: ge package: hspylib-setman, version: 0.10.43, mode: ge @@ -44,8 +45,8 @@ package: aiohttp, version: 3.10.5, mode: eq package: html2text, version: 2024.2.26, mode: eq /* CLI/TUI */ -package: rich, version: 13.8.1, mode: eq -package: textual, version: 0.87.1, mode: eq +package: rich, version: 13.9.4, mode: eq +package: textual, version: 0.89.1, mode: eq /* Audio */ package: soundfile, version: 0.12.1, mode: eq diff --git a/src/main/askai/core/support/utilities.py b/src/main/askai/core/support/utilities.py index 5d6b4f39..318f59c7 100644 --- a/src/main/askai/core/support/utilities.py +++ b/src/main/askai/core/support/utilities.py @@ -144,7 +144,7 @@ def read_resource(base_dir: AnyPath, filename: AnyPath, file_ext: str = ".txt") return Path(filename).read_text(encoding=Charset.UTF_8.val) -def read_file(load_dir: AnyPath, path_name: str) -> Optional[str]: +def read_file(load_dir: AnyPath, path_name: str) -> str: """Reads the contents of a file from the specified directory. :param load_dir: The directory where the file is located. :param path_name: The path name of the file to read. diff --git a/src/main/requirements.txt b/src/main/requirements.txt new file mode 100644 index 00000000..8748b191 --- /dev/null +++ b/src/main/requirements.txt @@ -0,0 +1,50 @@ +###### AUTO-GENERATED Requirements file for: AskAI ###### + +hspylib>=1.12.53 +hspylib-datasource>=0.9.82 +hspylib-clitt>=0.9.140 +hspylib-setman>=0.10.43 +retry2==0.9.5 +pause==0.3 +tqdm==4.66.5 +pyperclip==1.9.0 +python-magic==0.4.27 +pytz==2024.2 +transitions==0.9.2 +pydantic==2.10.2 +langchain==0.3.9 +langchain-openai>=0.2.10 +langchain-community==0.3.8 +langchain-google-community==2.0.3 +openai-whisper==20240930 +openai==1.55.3 +google-api-python-client==2.154.0 +fake_useragent==1.5.1 +requests==2.32.3 +urllib3==2.2.3 +protobuf==4.25.4 +aiohttp==3.10.5 +html2text==2024.2.26 +rich==13.9.4 +textual==0.89.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.2 +torchvision>=0.17.2 +open-clip-torch +opentelemetry-api==1.27.0 +opentelemetry-sdk==1.27.0 +opentelemetry-proto==1.27.0 +transformers==4.45.2 +unstructured==0.16.0 +unstructured[md]==0.16.0 +tiktoken==0.8.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