feat: parse excel (#1383)

This commit is contained in:
yetone
2025-02-25 12:06:50 +08:00
committed by GitHub
parent 8d888c2861
commit a1d1697400
4 changed files with 8 additions and 13 deletions

View File

@@ -17,7 +17,7 @@ BUILD_DIR := build
BUILD_FROM_SOURCE ?= false BUILD_FROM_SOURCE ?= false
TARGET_LIBRARY ?= all TARGET_LIBRARY ?= all
RAG_SERVICE_VERSION ?= 0.0.4 RAG_SERVICE_VERSION ?= 0.0.5
RAG_SERVICE_IMAGE := quay.io/yetoneful/avante-rag-service:$(RAG_SERVICE_VERSION) RAG_SERVICE_IMAGE := quay.io/yetoneful/avante-rag-service:$(RAG_SERVICE_VERSION)
all: luajit all: luajit

View File

@@ -6,7 +6,7 @@ local M = {}
local container_name = "avante-rag-service" local container_name = "avante-rag-service"
function M.get_rag_service_image() return "quay.io/yetoneful/avante-rag-service:0.0.4" end function M.get_rag_service_image() return "quay.io/yetoneful/avante-rag-service:0.0.5" end
function M.get_rag_service_port() return 20250 end function M.get_rag_service_port() return 20250 end

View File

@@ -1,24 +1,16 @@
FROM debian:bookworm-slim FROM python:3.11-slim-bookworm
WORKDIR /app WORKDIR /app
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y curl \
build-essential \
curl \
&& rm -rf /var/lib/apt/lists/* \ && rm -rf /var/lib/apt/lists/* \
&& curl -LsSf https://astral.sh/uv/install.sh | sh && curl -LsSf https://astral.sh/uv/install.sh | sh
ENV PATH="/root/.local/bin:$PATH" ENV PATH="/root/.local/bin:$PATH"
RUN uv python install 3.11
RUN uv python list
ENV PATH="/root/.uv/python/3.11/bin:$PATH"
COPY requirements.txt . COPY requirements.txt .
RUN uv venv --python 3.11 RUN uv venv
RUN uv pip install -r requirements.txt RUN uv pip install -r requirements.txt

View File

@@ -25,6 +25,7 @@ distro==1.9.0
dnspython==2.7.0 dnspython==2.7.0
durationpy==0.9 durationpy==0.9
email_validator==2.2.0 email_validator==2.2.0
et_xmlfile==2.0.0
executing==2.2.0 executing==2.2.0
fastapi==0.115.8 fastapi==0.115.8
fastapi-cli==0.0.7 fastapi-cli==0.0.7
@@ -46,6 +47,7 @@ humanfriendly==10.0
idna==3.10 idna==3.10
importlib_metadata==8.5.0 importlib_metadata==8.5.0
importlib_resources==6.5.2 importlib_resources==6.5.2
ipdb==0.13.13
ipython==8.32.0 ipython==8.32.0
jedi==0.19.2 jedi==0.19.2
Jinja2==3.1.5 Jinja2==3.1.5
@@ -86,6 +88,7 @@ numpy==2.2.2
oauthlib==3.2.2 oauthlib==3.2.2
onnxruntime==1.20.1 onnxruntime==1.20.1
openai==1.61.1 openai==1.61.1
openpyxl==3.1.5
opentelemetry-api==1.30.0 opentelemetry-api==1.30.0
opentelemetry-exporter-otlp-proto-common==1.30.0 opentelemetry-exporter-otlp-proto-common==1.30.0
opentelemetry-exporter-otlp-proto-grpc==1.30.0 opentelemetry-exporter-otlp-proto-grpc==1.30.0