diff --git a/README.md b/README.md index 41fa2b4..bea0bda 100644 --- a/README.md +++ b/README.md @@ -66,3 +66,29 @@ This requires pip packages and models from huggingface. Depending on your CML ne - [FastAPI](https://fastapi.tiangolo.com/) ## Deploying on CML + + +# Code Structure +doc-genius-ai/ +│ +├── app/ # Application directory for API and Model Serving +│ └── [contents not listed] +├── chat-ui/ # Directory for the chatbot UI in Next.js +│ └── [contents not listed] +├── data/ # Data directory for storing datasets or data files +│ └── [contents not listed] +├── models/ # Models directory for LLMs / ML models +│ └── [contents not listed] +├── pipeline/ # Pipeline directory for data processing or workflow pipelines +│ └── [contents not listed] +├── session/ # Scripts for CML Sessions and Validation Tasks +│ └── [contents not listed] +├── images/ # Directory for storing project related images +│ └── [contents not listed] +├── api.md # Documentation for the APIs +├── README.md # Detailed description of the project +├── .gitignore # Specifies intentionally untracked files to ignore +├── catalog.yaml # YAML file that contains descriptive information and metadata for the displaying the AMP projects in the CML Project Catalog. +├── .project-metadata.yaml # Project metadata file that provides configuration and setup details +├── cdsw-build.sh # Script for building the Model dependencies +└── requirements.txt # Python dependencies for Model Serving \ No newline at end of file diff --git a/cdsw-build.sh b/cdsw-build.sh new file mode 100644 index 0000000..c8efdc5 --- /dev/null +++ b/cdsw-build.sh @@ -0,0 +1 @@ +pip install --no-cache-dir -r requirements.txt \ No newline at end of file diff --git a/chat-ui/src/images/cmltext.png b/chat-ui/src/images/cmltext.png new file mode 100644 index 0000000..016f64b Binary files /dev/null and b/chat-ui/src/images/cmltext.png differ diff --git a/images/doc-genius-ai-alt.png b/images/doc-genius-ai-alt.png new file mode 100644 index 0000000..2a56b91 Binary files /dev/null and b/images/doc-genius-ai-alt.png differ diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..cced132 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,12 @@ +torch==2.0.1 +langchain +typing-inspect==0.8.0 +typing_extensions==4.5.0 +tiktoken +transformers +accelerate +bitsandbytes +xformers +einops +jinja2==3.1.2 +scipy \ No newline at end of file