mirror of
https://github.com/containers/ramalama.git
synced 2026-02-05 15:47:26 +01:00
Add software to support using rag in RamaLama
This PR just installs the python requirements needed to play with the rag_framework.py file. I have not added the docling support yet, since that would swell the size of the images. Will add that in a separate PR. Also remove pragmatic and begin conversion to new rag tooling. Signed-off-by: Brian <bmahabir@bu.edu> Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
9
Makefile
9
Makefile
@@ -8,7 +8,6 @@ PYTHON ?= $(shell command -v python3 python|head -n1)
|
||||
DESTDIR ?= /
|
||||
PATH := $(PATH):$(HOME)/.local/bin
|
||||
IMAGE ?= ramalama
|
||||
GPU ?= cpu
|
||||
|
||||
default: help
|
||||
|
||||
@@ -20,10 +19,6 @@ help:
|
||||
@echo " - make multi-arch"
|
||||
@echo " - make multi-arch IMAGE=ramalama"
|
||||
@echo
|
||||
@echo "Build RAG Container Image"
|
||||
@echo
|
||||
@echo " - make build-rag IMAGE=quay.io/ramalama/ramalama GPU=ramalama"
|
||||
@echo
|
||||
@echo "Build docs"
|
||||
@echo
|
||||
@echo " - make docs"
|
||||
@@ -100,10 +95,6 @@ build-rm:
|
||||
build_multi_arch:
|
||||
./container_build.sh multi-arch $(IMAGE)
|
||||
|
||||
.PHONY: build-rag
|
||||
build-rag:
|
||||
podman build --no-cache --build-arg IMAGE=${IMAGE} --build-arg GPU=${GPU} -t ${IMAGE}-rag container-images/pragmatic
|
||||
|
||||
.PHONY: install-docs
|
||||
install-docs: docs
|
||||
make -C docs install
|
||||
|
||||
Reference in New Issue
Block a user