From 41621966cfb12269f156509895e5e931121f1a17 Mon Sep 17 00:00:00 2001 From: Michael Clifford Date: Thu, 28 Mar 2024 11:50:21 -0400 Subject: [PATCH 1/3] move all recipes into recipes directory Signed-off-by: Michael Clifford --- .../audio/audio-to-text}/README.md | 0 .../audio/audio-to-text}/ai-lab.yaml | 0 .../audio/audio-to-text}/builds/Containerfile | 0 .../audio/audio-to-text}/builds/requirements.txt | 0 .../audio/audio-to-text}/quadlet/README.md | 0 .../audio/audio-to-text}/quadlet/audio-text.image | 0 .../audio-to-text}/quadlet/audio-text.kube.example | 0 .../audio/audio-to-text}/quadlet/audio-text.yaml | 0 .../audio/audio-to-text}/whisper_client.py | 0 .../computer_vision/object_detection}/README.md | 0 .../computer_vision/object_detection}/ai-lab.yaml | 0 .../object_detection}/client/Containerfile | 0 .../client/object_detection_client.py | 0 .../object_detection}/client/requirements.txt | 0 .../object_detection}/model_server/Containerfile | 0 .../model_server/object_detection_server.py | 0 .../object_detection}/model_server/requirements.txt | 0 .../multimodal/image_understanding}/README.md | 0 .../multimodal/image_understanding}/ai-lab.yaml | 0 .../image_understanding}/builds/Containerfile | 0 .../image_understanding}/builds/requirements.txt | 0 .../image_understanding}/image_understanding.py | 0 .../natural_language_processing/chatbot}/README.md | 0 .../natural_language_processing/chatbot}/ai-lab.yaml | 0 .../chatbot}/builds/Containerfile | 0 .../chatbot}/builds/requirements.txt | 0 .../natural_language_processing/chatbot}/chatbot_ui.py | 0 .../chatbot}/quadlet/README.md | 0 .../chatbot}/quadlet/chatbot.image | 0 .../chatbot}/quadlet/chatbot.kube.example | 0 .../chatbot}/quadlet/chatbot.yaml | 0 .../code-generation}/README.md | 0 .../code-generation}/ai-lab.yaml | 0 .../code-generation}/builds/Containerfile | 0 .../code-generation}/builds/requirements.txt | 0 .../code-generation}/codegen-app.py | 0 .../code-generation}/quadlet/README.md | 0 .../code-generation}/quadlet/codegen.image | 0 .../code-generation}/quadlet/codegen.kube.example | 0 .../code-generation}/quadlet/codegen.yaml | 0 .../natural_language_processing/rag}/README.md | 0 .../natural_language_processing/rag}/ai-lab.yaml | 0 .../rag}/builds/Containerfile | 0 .../rag}/builds/requirements.txt | 0 .../rag}/populate_vectordb.py | 0 .../natural_language_processing/rag}/rag_app.py | 0 .../summarizer-langchain}/README.md | 0 .../summarizer-langchain}/ai-lab.yaml | 0 .../summarizer-langchain}/builds/Containerfile | 0 .../summarizer-langchain}/builds/requirements.txt | 0 .../summarizer-langchain/quadlet/README.md | 10 ++++++++++ .../summarizer-langchain}/quadlet/summarizer.image | 0 .../quadlet/summarizer.kube.example | 0 .../summarizer-langchain}/quadlet/summarizer.yaml | 0 .../summarizer-langchain}/summarizer.py | 0 summarizer/quadlet/README.md | 10 ---------- 56 files changed, 10 insertions(+), 10 deletions(-) rename {audio-to-text => recipes/audio/audio-to-text}/README.md (100%) rename {audio-to-text => recipes/audio/audio-to-text}/ai-lab.yaml (100%) rename {audio-to-text => recipes/audio/audio-to-text}/builds/Containerfile (100%) rename {audio-to-text => recipes/audio/audio-to-text}/builds/requirements.txt (100%) rename {audio-to-text => recipes/audio/audio-to-text}/quadlet/README.md (100%) rename {audio-to-text => recipes/audio/audio-to-text}/quadlet/audio-text.image (100%) rename {audio-to-text => recipes/audio/audio-to-text}/quadlet/audio-text.kube.example (100%) rename {audio-to-text => recipes/audio/audio-to-text}/quadlet/audio-text.yaml (100%) rename {audio-to-text => recipes/audio/audio-to-text}/whisper_client.py (100%) rename {object_detection => recipes/computer_vision/object_detection}/README.md (100%) rename {object_detection => recipes/computer_vision/object_detection}/ai-lab.yaml (100%) rename {object_detection => recipes/computer_vision/object_detection}/client/Containerfile (100%) rename {object_detection => recipes/computer_vision/object_detection}/client/object_detection_client.py (100%) rename {object_detection => recipes/computer_vision/object_detection}/client/requirements.txt (100%) rename {object_detection => recipes/computer_vision/object_detection}/model_server/Containerfile (100%) rename {object_detection => recipes/computer_vision/object_detection}/model_server/object_detection_server.py (100%) rename {object_detection => recipes/computer_vision/object_detection}/model_server/requirements.txt (100%) rename {image_understanding => recipes/multimodal/image_understanding}/README.md (100%) rename {image_understanding => recipes/multimodal/image_understanding}/ai-lab.yaml (100%) rename {image_understanding => recipes/multimodal/image_understanding}/builds/Containerfile (100%) rename {image_understanding => recipes/multimodal/image_understanding}/builds/requirements.txt (100%) rename {image_understanding => recipes/multimodal/image_understanding}/image_understanding.py (100%) rename {chatbot => recipes/natural_language_processing/chatbot}/README.md (100%) rename {chatbot => recipes/natural_language_processing/chatbot}/ai-lab.yaml (100%) rename {chatbot => recipes/natural_language_processing/chatbot}/builds/Containerfile (100%) rename {chatbot => recipes/natural_language_processing/chatbot}/builds/requirements.txt (100%) rename {chatbot => recipes/natural_language_processing/chatbot}/chatbot_ui.py (100%) rename {chatbot => recipes/natural_language_processing/chatbot}/quadlet/README.md (100%) rename {chatbot => recipes/natural_language_processing/chatbot}/quadlet/chatbot.image (100%) rename {chatbot => recipes/natural_language_processing/chatbot}/quadlet/chatbot.kube.example (100%) rename {chatbot => recipes/natural_language_processing/chatbot}/quadlet/chatbot.yaml (100%) rename {code-generation => recipes/natural_language_processing/code-generation}/README.md (100%) rename {code-generation => recipes/natural_language_processing/code-generation}/ai-lab.yaml (100%) rename {code-generation => recipes/natural_language_processing/code-generation}/builds/Containerfile (100%) rename {code-generation => recipes/natural_language_processing/code-generation}/builds/requirements.txt (100%) rename {code-generation => recipes/natural_language_processing/code-generation}/codegen-app.py (100%) rename {code-generation => recipes/natural_language_processing/code-generation}/quadlet/README.md (100%) rename {code-generation => recipes/natural_language_processing/code-generation}/quadlet/codegen.image (100%) rename {code-generation => recipes/natural_language_processing/code-generation}/quadlet/codegen.kube.example (100%) rename {code-generation => recipes/natural_language_processing/code-generation}/quadlet/codegen.yaml (100%) rename {rag => recipes/natural_language_processing/rag}/README.md (100%) rename {rag => recipes/natural_language_processing/rag}/ai-lab.yaml (100%) rename {rag => recipes/natural_language_processing/rag}/builds/Containerfile (100%) rename {rag => recipes/natural_language_processing/rag}/builds/requirements.txt (100%) rename {rag => recipes/natural_language_processing/rag}/populate_vectordb.py (100%) rename {rag => recipes/natural_language_processing/rag}/rag_app.py (100%) rename {summarizer => recipes/natural_language_processing/summarizer-langchain}/README.md (100%) rename {summarizer => recipes/natural_language_processing/summarizer-langchain}/ai-lab.yaml (100%) rename {summarizer => recipes/natural_language_processing/summarizer-langchain}/builds/Containerfile (100%) rename {summarizer => recipes/natural_language_processing/summarizer-langchain}/builds/requirements.txt (100%) create mode 100644 recipes/natural_language_processing/summarizer-langchain/quadlet/README.md rename {summarizer => recipes/natural_language_processing/summarizer-langchain}/quadlet/summarizer.image (100%) rename {summarizer => recipes/natural_language_processing/summarizer-langchain}/quadlet/summarizer.kube.example (100%) rename {summarizer => recipes/natural_language_processing/summarizer-langchain}/quadlet/summarizer.yaml (100%) rename {summarizer => recipes/natural_language_processing/summarizer-langchain}/summarizer.py (100%) delete mode 100644 summarizer/quadlet/README.md diff --git a/audio-to-text/README.md b/recipes/audio/audio-to-text/README.md similarity index 100% rename from audio-to-text/README.md rename to recipes/audio/audio-to-text/README.md diff --git a/audio-to-text/ai-lab.yaml b/recipes/audio/audio-to-text/ai-lab.yaml similarity index 100% rename from audio-to-text/ai-lab.yaml rename to recipes/audio/audio-to-text/ai-lab.yaml diff --git a/audio-to-text/builds/Containerfile b/recipes/audio/audio-to-text/builds/Containerfile similarity index 100% rename from audio-to-text/builds/Containerfile rename to recipes/audio/audio-to-text/builds/Containerfile diff --git a/audio-to-text/builds/requirements.txt b/recipes/audio/audio-to-text/builds/requirements.txt similarity index 100% rename from audio-to-text/builds/requirements.txt rename to recipes/audio/audio-to-text/builds/requirements.txt diff --git a/audio-to-text/quadlet/README.md b/recipes/audio/audio-to-text/quadlet/README.md similarity index 100% rename from audio-to-text/quadlet/README.md rename to recipes/audio/audio-to-text/quadlet/README.md diff --git a/audio-to-text/quadlet/audio-text.image b/recipes/audio/audio-to-text/quadlet/audio-text.image similarity index 100% rename from audio-to-text/quadlet/audio-text.image rename to recipes/audio/audio-to-text/quadlet/audio-text.image diff --git a/audio-to-text/quadlet/audio-text.kube.example b/recipes/audio/audio-to-text/quadlet/audio-text.kube.example similarity index 100% rename from audio-to-text/quadlet/audio-text.kube.example rename to recipes/audio/audio-to-text/quadlet/audio-text.kube.example diff --git a/audio-to-text/quadlet/audio-text.yaml b/recipes/audio/audio-to-text/quadlet/audio-text.yaml similarity index 100% rename from audio-to-text/quadlet/audio-text.yaml rename to recipes/audio/audio-to-text/quadlet/audio-text.yaml diff --git a/audio-to-text/whisper_client.py b/recipes/audio/audio-to-text/whisper_client.py similarity index 100% rename from audio-to-text/whisper_client.py rename to recipes/audio/audio-to-text/whisper_client.py diff --git a/object_detection/README.md b/recipes/computer_vision/object_detection/README.md similarity index 100% rename from object_detection/README.md rename to recipes/computer_vision/object_detection/README.md diff --git a/object_detection/ai-lab.yaml b/recipes/computer_vision/object_detection/ai-lab.yaml similarity index 100% rename from object_detection/ai-lab.yaml rename to recipes/computer_vision/object_detection/ai-lab.yaml diff --git a/object_detection/client/Containerfile b/recipes/computer_vision/object_detection/client/Containerfile similarity index 100% rename from object_detection/client/Containerfile rename to recipes/computer_vision/object_detection/client/Containerfile diff --git a/object_detection/client/object_detection_client.py b/recipes/computer_vision/object_detection/client/object_detection_client.py similarity index 100% rename from object_detection/client/object_detection_client.py rename to recipes/computer_vision/object_detection/client/object_detection_client.py diff --git a/object_detection/client/requirements.txt b/recipes/computer_vision/object_detection/client/requirements.txt similarity index 100% rename from object_detection/client/requirements.txt rename to recipes/computer_vision/object_detection/client/requirements.txt diff --git a/object_detection/model_server/Containerfile b/recipes/computer_vision/object_detection/model_server/Containerfile similarity index 100% rename from object_detection/model_server/Containerfile rename to recipes/computer_vision/object_detection/model_server/Containerfile diff --git a/object_detection/model_server/object_detection_server.py b/recipes/computer_vision/object_detection/model_server/object_detection_server.py similarity index 100% rename from object_detection/model_server/object_detection_server.py rename to recipes/computer_vision/object_detection/model_server/object_detection_server.py diff --git a/object_detection/model_server/requirements.txt b/recipes/computer_vision/object_detection/model_server/requirements.txt similarity index 100% rename from object_detection/model_server/requirements.txt rename to recipes/computer_vision/object_detection/model_server/requirements.txt diff --git a/image_understanding/README.md b/recipes/multimodal/image_understanding/README.md similarity index 100% rename from image_understanding/README.md rename to recipes/multimodal/image_understanding/README.md diff --git a/image_understanding/ai-lab.yaml b/recipes/multimodal/image_understanding/ai-lab.yaml similarity index 100% rename from image_understanding/ai-lab.yaml rename to recipes/multimodal/image_understanding/ai-lab.yaml diff --git a/image_understanding/builds/Containerfile b/recipes/multimodal/image_understanding/builds/Containerfile similarity index 100% rename from image_understanding/builds/Containerfile rename to recipes/multimodal/image_understanding/builds/Containerfile diff --git a/image_understanding/builds/requirements.txt b/recipes/multimodal/image_understanding/builds/requirements.txt similarity index 100% rename from image_understanding/builds/requirements.txt rename to recipes/multimodal/image_understanding/builds/requirements.txt diff --git a/image_understanding/image_understanding.py b/recipes/multimodal/image_understanding/image_understanding.py similarity index 100% rename from image_understanding/image_understanding.py rename to recipes/multimodal/image_understanding/image_understanding.py diff --git a/chatbot/README.md b/recipes/natural_language_processing/chatbot/README.md similarity index 100% rename from chatbot/README.md rename to recipes/natural_language_processing/chatbot/README.md diff --git a/chatbot/ai-lab.yaml b/recipes/natural_language_processing/chatbot/ai-lab.yaml similarity index 100% rename from chatbot/ai-lab.yaml rename to recipes/natural_language_processing/chatbot/ai-lab.yaml diff --git a/chatbot/builds/Containerfile b/recipes/natural_language_processing/chatbot/builds/Containerfile similarity index 100% rename from chatbot/builds/Containerfile rename to recipes/natural_language_processing/chatbot/builds/Containerfile diff --git a/chatbot/builds/requirements.txt b/recipes/natural_language_processing/chatbot/builds/requirements.txt similarity index 100% rename from chatbot/builds/requirements.txt rename to recipes/natural_language_processing/chatbot/builds/requirements.txt diff --git a/chatbot/chatbot_ui.py b/recipes/natural_language_processing/chatbot/chatbot_ui.py similarity index 100% rename from chatbot/chatbot_ui.py rename to recipes/natural_language_processing/chatbot/chatbot_ui.py diff --git a/chatbot/quadlet/README.md b/recipes/natural_language_processing/chatbot/quadlet/README.md similarity index 100% rename from chatbot/quadlet/README.md rename to recipes/natural_language_processing/chatbot/quadlet/README.md diff --git a/chatbot/quadlet/chatbot.image b/recipes/natural_language_processing/chatbot/quadlet/chatbot.image similarity index 100% rename from chatbot/quadlet/chatbot.image rename to recipes/natural_language_processing/chatbot/quadlet/chatbot.image diff --git a/chatbot/quadlet/chatbot.kube.example b/recipes/natural_language_processing/chatbot/quadlet/chatbot.kube.example similarity index 100% rename from chatbot/quadlet/chatbot.kube.example rename to recipes/natural_language_processing/chatbot/quadlet/chatbot.kube.example diff --git a/chatbot/quadlet/chatbot.yaml b/recipes/natural_language_processing/chatbot/quadlet/chatbot.yaml similarity index 100% rename from chatbot/quadlet/chatbot.yaml rename to recipes/natural_language_processing/chatbot/quadlet/chatbot.yaml diff --git a/code-generation/README.md b/recipes/natural_language_processing/code-generation/README.md similarity index 100% rename from code-generation/README.md rename to recipes/natural_language_processing/code-generation/README.md diff --git a/code-generation/ai-lab.yaml b/recipes/natural_language_processing/code-generation/ai-lab.yaml similarity index 100% rename from code-generation/ai-lab.yaml rename to recipes/natural_language_processing/code-generation/ai-lab.yaml diff --git a/code-generation/builds/Containerfile b/recipes/natural_language_processing/code-generation/builds/Containerfile similarity index 100% rename from code-generation/builds/Containerfile rename to recipes/natural_language_processing/code-generation/builds/Containerfile diff --git a/code-generation/builds/requirements.txt b/recipes/natural_language_processing/code-generation/builds/requirements.txt similarity index 100% rename from code-generation/builds/requirements.txt rename to recipes/natural_language_processing/code-generation/builds/requirements.txt diff --git a/code-generation/codegen-app.py b/recipes/natural_language_processing/code-generation/codegen-app.py similarity index 100% rename from code-generation/codegen-app.py rename to recipes/natural_language_processing/code-generation/codegen-app.py diff --git a/code-generation/quadlet/README.md b/recipes/natural_language_processing/code-generation/quadlet/README.md similarity index 100% rename from code-generation/quadlet/README.md rename to recipes/natural_language_processing/code-generation/quadlet/README.md diff --git a/code-generation/quadlet/codegen.image b/recipes/natural_language_processing/code-generation/quadlet/codegen.image similarity index 100% rename from code-generation/quadlet/codegen.image rename to recipes/natural_language_processing/code-generation/quadlet/codegen.image diff --git a/code-generation/quadlet/codegen.kube.example b/recipes/natural_language_processing/code-generation/quadlet/codegen.kube.example similarity index 100% rename from code-generation/quadlet/codegen.kube.example rename to recipes/natural_language_processing/code-generation/quadlet/codegen.kube.example diff --git a/code-generation/quadlet/codegen.yaml b/recipes/natural_language_processing/code-generation/quadlet/codegen.yaml similarity index 100% rename from code-generation/quadlet/codegen.yaml rename to recipes/natural_language_processing/code-generation/quadlet/codegen.yaml diff --git a/rag/README.md b/recipes/natural_language_processing/rag/README.md similarity index 100% rename from rag/README.md rename to recipes/natural_language_processing/rag/README.md diff --git a/rag/ai-lab.yaml b/recipes/natural_language_processing/rag/ai-lab.yaml similarity index 100% rename from rag/ai-lab.yaml rename to recipes/natural_language_processing/rag/ai-lab.yaml diff --git a/rag/builds/Containerfile b/recipes/natural_language_processing/rag/builds/Containerfile similarity index 100% rename from rag/builds/Containerfile rename to recipes/natural_language_processing/rag/builds/Containerfile diff --git a/rag/builds/requirements.txt b/recipes/natural_language_processing/rag/builds/requirements.txt similarity index 100% rename from rag/builds/requirements.txt rename to recipes/natural_language_processing/rag/builds/requirements.txt diff --git a/rag/populate_vectordb.py b/recipes/natural_language_processing/rag/populate_vectordb.py similarity index 100% rename from rag/populate_vectordb.py rename to recipes/natural_language_processing/rag/populate_vectordb.py diff --git a/rag/rag_app.py b/recipes/natural_language_processing/rag/rag_app.py similarity index 100% rename from rag/rag_app.py rename to recipes/natural_language_processing/rag/rag_app.py diff --git a/summarizer/README.md b/recipes/natural_language_processing/summarizer-langchain/README.md similarity index 100% rename from summarizer/README.md rename to recipes/natural_language_processing/summarizer-langchain/README.md diff --git a/summarizer/ai-lab.yaml b/recipes/natural_language_processing/summarizer-langchain/ai-lab.yaml similarity index 100% rename from summarizer/ai-lab.yaml rename to recipes/natural_language_processing/summarizer-langchain/ai-lab.yaml diff --git a/summarizer/builds/Containerfile b/recipes/natural_language_processing/summarizer-langchain/builds/Containerfile similarity index 100% rename from summarizer/builds/Containerfile rename to recipes/natural_language_processing/summarizer-langchain/builds/Containerfile diff --git a/summarizer/builds/requirements.txt b/recipes/natural_language_processing/summarizer-langchain/builds/requirements.txt similarity index 100% rename from summarizer/builds/requirements.txt rename to recipes/natural_language_processing/summarizer-langchain/builds/requirements.txt diff --git a/recipes/natural_language_processing/summarizer-langchain/quadlet/README.md b/recipes/natural_language_processing/summarizer-langchain/quadlet/README.md new file mode 100644 index 000000000..f73e67237 --- /dev/null +++ b/recipes/natural_language_processing/summarizer-langchain/quadlet/README.md @@ -0,0 +1,10 @@ +### Run summarizer-langchain as a systemd service + +```bash +cp summarizer.yaml /etc/containers/systemd/summarizer.yaml +cp summarizer.kube.example /etc/containers/summarizer.kube +cp summarizer.image /etc/containers/summarizer.image +/usr/libexec/podman/quadlet --dryrun (optional) +systemctl daemon-reload +systemctl start summarizer +``` diff --git a/summarizer/quadlet/summarizer.image b/recipes/natural_language_processing/summarizer-langchain/quadlet/summarizer.image similarity index 100% rename from summarizer/quadlet/summarizer.image rename to recipes/natural_language_processing/summarizer-langchain/quadlet/summarizer.image diff --git a/summarizer/quadlet/summarizer.kube.example b/recipes/natural_language_processing/summarizer-langchain/quadlet/summarizer.kube.example similarity index 100% rename from summarizer/quadlet/summarizer.kube.example rename to recipes/natural_language_processing/summarizer-langchain/quadlet/summarizer.kube.example diff --git a/summarizer/quadlet/summarizer.yaml b/recipes/natural_language_processing/summarizer-langchain/quadlet/summarizer.yaml similarity index 100% rename from summarizer/quadlet/summarizer.yaml rename to recipes/natural_language_processing/summarizer-langchain/quadlet/summarizer.yaml diff --git a/summarizer/summarizer.py b/recipes/natural_language_processing/summarizer-langchain/summarizer.py similarity index 100% rename from summarizer/summarizer.py rename to recipes/natural_language_processing/summarizer-langchain/summarizer.py diff --git a/summarizer/quadlet/README.md b/summarizer/quadlet/README.md deleted file mode 100644 index 6bc32f84a..000000000 --- a/summarizer/quadlet/README.md +++ /dev/null @@ -1,10 +0,0 @@ -### Run summarizer as a systemd service - -```bash -cp summarizer.yaml /usr/share/containers/systemd/summarizer.yaml -cp summarizer.kube.example /usr/share/containers/summarizer.kube -cp summarizer.image /usr/share/containers/summarizer.image -/usr/libexec/podman/quadlet --dryrun (optional) -systemctl daemon-reload -systemctl start summarizer -``` From 858546c2f13a3c65f745c8f3a5ba47bde670ca69 Mon Sep 17 00:00:00 2001 From: Michael Clifford Date: Thu, 28 Mar 2024 14:16:01 -0400 Subject: [PATCH 2/3] update ai-lab.yamls Signed-off-by: Michael Clifford --- recipes/audio/audio-to-text/ai-lab.yaml | 2 +- recipes/multimodal/image_understanding/ai-lab.yaml | 2 +- recipes/natural_language_processing/chatbot/ai-lab.yaml | 2 +- .../natural_language_processing/code-generation/ai-lab.yaml | 2 +- recipes/natural_language_processing/rag/ai-lab.yaml | 4 ++-- .../summarizer-langchain/ai-lab.yaml | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/recipes/audio/audio-to-text/ai-lab.yaml b/recipes/audio/audio-to-text/ai-lab.yaml index 09a897f50..653f2f527 100644 --- a/recipes/audio/audio-to-text/ai-lab.yaml +++ b/recipes/audio/audio-to-text/ai-lab.yaml @@ -5,7 +5,7 @@ application: description: This is a Streamlit transcription application. containers: - name: whispercpp-server - contextdir: ../model_servers/whispercpp + contextdir: ../../../model_servers/whispercpp containerfile: Containerfile model-service: true backend: diff --git a/recipes/multimodal/image_understanding/ai-lab.yaml b/recipes/multimodal/image_understanding/ai-lab.yaml index 76e7ac96e..7f67f910f 100644 --- a/recipes/multimodal/image_understanding/ai-lab.yaml +++ b/recipes/multimodal/image_understanding/ai-lab.yaml @@ -4,7 +4,7 @@ application: description: This demo uses a Multimodal model to analyze the content of images. containers: - name: llamacpp-server - contextdir: ../model_servers/llamacpp_python + contextdir: ../../../model_servers/llamacpp_python containerfile: ./base/Containerfile model-service: true backend: diff --git a/recipes/natural_language_processing/chatbot/ai-lab.yaml b/recipes/natural_language_processing/chatbot/ai-lab.yaml index 6f0bbcc84..812c9d288 100644 --- a/recipes/natural_language_processing/chatbot/ai-lab.yaml +++ b/recipes/natural_language_processing/chatbot/ai-lab.yaml @@ -5,7 +5,7 @@ application: description: This is a Streamlit chat demo application. containers: - name: llamacpp-server - contextdir: ../model_servers/llamacpp_python + contextdir: ../../../model_servers/llamacpp_python containerfile: ./base/Containerfile model-service: true backend: diff --git a/recipes/natural_language_processing/code-generation/ai-lab.yaml b/recipes/natural_language_processing/code-generation/ai-lab.yaml index e18b075e8..56331ecf7 100644 --- a/recipes/natural_language_processing/code-generation/ai-lab.yaml +++ b/recipes/natural_language_processing/code-generation/ai-lab.yaml @@ -5,7 +5,7 @@ application: description: This is a code-generation demo application. containers: - name: llamacpp-server - contextdir: ../model_servers/llamacpp_python + contextdir: ../../../model_servers/llamacpp_python containerfile: ./base/Containerfile model-service: true backend: diff --git a/recipes/natural_language_processing/rag/ai-lab.yaml b/recipes/natural_language_processing/rag/ai-lab.yaml index a88ddbeb2..f22a71950 100644 --- a/recipes/natural_language_processing/rag/ai-lab.yaml +++ b/recipes/natural_language_processing/rag/ai-lab.yaml @@ -5,7 +5,7 @@ application: description: This is a RAG demo application. containers: - name: llamacpp-server - contextdir: ../model_servers/llamacpp_python + contextdir: ../../../model_servers/llamacpp_python containerfile: ./base/Containerfile model-service: true backend: @@ -17,7 +17,7 @@ application: - 8001 image: quay.io/redhat-et/locallm-model-service:latest - name: chromadb-server - contextdir: ../vector_dbs/chromadb + contextdir: ../../../vector_dbs/chromadb containerfile: Containerfile vectordb: true arch: diff --git a/recipes/natural_language_processing/summarizer-langchain/ai-lab.yaml b/recipes/natural_language_processing/summarizer-langchain/ai-lab.yaml index 3062a51ff..22e72778e 100644 --- a/recipes/natural_language_processing/summarizer-langchain/ai-lab.yaml +++ b/recipes/natural_language_processing/summarizer-langchain/ai-lab.yaml @@ -5,7 +5,7 @@ application: description: This is a Streamlit demo application for summarizing text. containers: - name: llamacpp-server - contextdir: ../model_servers/llamacpp_python + contextdir: ../../../model_servers/llamacpp_python containerfile: ./base/Containerfile model-service: true backend: From 3739e4164e9d21890957a42a8711c396d8c05e42 Mon Sep 17 00:00:00 2001 From: Michael Clifford Date: Thu, 28 Mar 2024 14:29:11 -0400 Subject: [PATCH 3/3] update summary dir name Signed-off-by: Michael Clifford --- .../{summarizer-langchain => summarizer}/README.md | 0 .../{summarizer-langchain => summarizer}/ai-lab.yaml | 0 .../{summarizer-langchain => summarizer}/builds/Containerfile | 0 .../{summarizer-langchain => summarizer}/builds/requirements.txt | 0 .../{summarizer-langchain => summarizer}/quadlet/README.md | 0 .../{summarizer-langchain => summarizer}/quadlet/summarizer.image | 0 .../quadlet/summarizer.kube.example | 0 .../{summarizer-langchain => summarizer}/quadlet/summarizer.yaml | 0 .../{summarizer-langchain => summarizer}/summarizer.py | 0 9 files changed, 0 insertions(+), 0 deletions(-) rename recipes/natural_language_processing/{summarizer-langchain => summarizer}/README.md (100%) rename recipes/natural_language_processing/{summarizer-langchain => summarizer}/ai-lab.yaml (100%) rename recipes/natural_language_processing/{summarizer-langchain => summarizer}/builds/Containerfile (100%) rename recipes/natural_language_processing/{summarizer-langchain => summarizer}/builds/requirements.txt (100%) rename recipes/natural_language_processing/{summarizer-langchain => summarizer}/quadlet/README.md (100%) rename recipes/natural_language_processing/{summarizer-langchain => summarizer}/quadlet/summarizer.image (100%) rename recipes/natural_language_processing/{summarizer-langchain => summarizer}/quadlet/summarizer.kube.example (100%) rename recipes/natural_language_processing/{summarizer-langchain => summarizer}/quadlet/summarizer.yaml (100%) rename recipes/natural_language_processing/{summarizer-langchain => summarizer}/summarizer.py (100%) diff --git a/recipes/natural_language_processing/summarizer-langchain/README.md b/recipes/natural_language_processing/summarizer/README.md similarity index 100% rename from recipes/natural_language_processing/summarizer-langchain/README.md rename to recipes/natural_language_processing/summarizer/README.md diff --git a/recipes/natural_language_processing/summarizer-langchain/ai-lab.yaml b/recipes/natural_language_processing/summarizer/ai-lab.yaml similarity index 100% rename from recipes/natural_language_processing/summarizer-langchain/ai-lab.yaml rename to recipes/natural_language_processing/summarizer/ai-lab.yaml diff --git a/recipes/natural_language_processing/summarizer-langchain/builds/Containerfile b/recipes/natural_language_processing/summarizer/builds/Containerfile similarity index 100% rename from recipes/natural_language_processing/summarizer-langchain/builds/Containerfile rename to recipes/natural_language_processing/summarizer/builds/Containerfile diff --git a/recipes/natural_language_processing/summarizer-langchain/builds/requirements.txt b/recipes/natural_language_processing/summarizer/builds/requirements.txt similarity index 100% rename from recipes/natural_language_processing/summarizer-langchain/builds/requirements.txt rename to recipes/natural_language_processing/summarizer/builds/requirements.txt diff --git a/recipes/natural_language_processing/summarizer-langchain/quadlet/README.md b/recipes/natural_language_processing/summarizer/quadlet/README.md similarity index 100% rename from recipes/natural_language_processing/summarizer-langchain/quadlet/README.md rename to recipes/natural_language_processing/summarizer/quadlet/README.md diff --git a/recipes/natural_language_processing/summarizer-langchain/quadlet/summarizer.image b/recipes/natural_language_processing/summarizer/quadlet/summarizer.image similarity index 100% rename from recipes/natural_language_processing/summarizer-langchain/quadlet/summarizer.image rename to recipes/natural_language_processing/summarizer/quadlet/summarizer.image diff --git a/recipes/natural_language_processing/summarizer-langchain/quadlet/summarizer.kube.example b/recipes/natural_language_processing/summarizer/quadlet/summarizer.kube.example similarity index 100% rename from recipes/natural_language_processing/summarizer-langchain/quadlet/summarizer.kube.example rename to recipes/natural_language_processing/summarizer/quadlet/summarizer.kube.example diff --git a/recipes/natural_language_processing/summarizer-langchain/quadlet/summarizer.yaml b/recipes/natural_language_processing/summarizer/quadlet/summarizer.yaml similarity index 100% rename from recipes/natural_language_processing/summarizer-langchain/quadlet/summarizer.yaml rename to recipes/natural_language_processing/summarizer/quadlet/summarizer.yaml diff --git a/recipes/natural_language_processing/summarizer-langchain/summarizer.py b/recipes/natural_language_processing/summarizer/summarizer.py similarity index 100% rename from recipes/natural_language_processing/summarizer-langchain/summarizer.py rename to recipes/natural_language_processing/summarizer/summarizer.py