Skip to content

Commit

Permalink
update experimental SSA code
Browse files Browse the repository at this point in the history
  • Loading branch information
TheVinhLuong102 committed Dec 5, 2023
1 parent d528791 commit 4131f98
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 8 deletions.
2 changes: 1 addition & 1 deletion openssa/contrib/streamlit_ssa_prob_solver/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@
expert_heuristics=('Purge Time must be at least as long as the precursor Pulse Time '
'to ensure that all excess precursor and reaction byproducts are removed '
'from the chamber before the next cycle begins'),
doc_src_path='s3://aitomatic-public/KnowledgeBase/Semiconductor')
doc_src_path='s3://aitomatic-public/KnowledgeBase/Semiconductor/ALD')
5 changes: 0 additions & 5 deletions openssa/contrib/streamlit_ssa_prob_solver/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
# OpenSSA
OpenSSA @ https://GitHub.com/Aitomatic/OpenSSA/archive/experimental.zip

# Streamlit & related
Streamlit >= 1.29.0
Streamlit-Mic-Recorder >= 0.0.4
22 changes: 22 additions & 0 deletions openssa/utils/cli/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
"""OpenSSA CLI."""


import click


@click.group(name='openssa',
cls=click.Group,
commands={},
invoke_without_command=False,
no_args_is_help=True,
subcommand_metavar='OPENSSA_SUB_COMMAND',
chain=False,
help='OpenSSA CLI >>>',
epilog='^^^ OpenSSA CLI',
short_help='OpenSSA CLI',
options_metavar='[OPTIONS]',
add_help_option=True,
hidden=False,
deprecated=False)
def openssa_cli():
"""Trigger OpenSSA Utilities from CLI."""
12 changes: 10 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ python = ">=3.10,<3.12"
openai = ">=1.3"
# LlamaIndex & related
llama-index = ">=0.9"
llama-hub = ">=0.0.50"
llama-hub = ">=0.0.52"
docx2txt = ">=0.8" # for reading .docx files
pypdf = ">=3.17" # for reading .pdf files
pycryptodome = ">=3.19" # for reading .pdf files: PyCryptodome is required for AES algorithm
Expand All @@ -56,7 +56,11 @@ fsspec = ">=2023.10,<2023.12" # base/local file system
adlfs = ">=2023.10,<2023.12" # Azure Data Lake
gcsfs = ">=2023.10,<2023.12" # Google Cloud Storage
s3fs = ">=2023.10,<2023.12" # S3
# contrib-supporting dependencies
streamlit = ">=1.29"
streamlit-mic-recorder = ">=0.0.4"
# misc / other
click = ">=8.1"
pydantic = ">=2.5"
python-dotenv = ">=1.0"
httpx = ">=0.25"
Expand All @@ -71,7 +75,7 @@ transformers = {version = ">=4.35", optional = true}

[tool.poetry.extras]
test = [
'pytest',
"pytest",
]
cv = [ # for processing images either standalone or in files such as .PPTX
"pillow",
Expand All @@ -81,6 +85,10 @@ cv = [ # for processing images either standalone or in files such as .PPTX
]


[tool.poetry.scripts]
openssa = "openssa.utils.cli:openssa_cli"


[build-system]
build-backend = "poetry.core.masonry.api"
requires = [
Expand Down

0 comments on commit 4131f98

Please sign in to comment.