chore(deps): Update Dependencies (#2538)

* chore(deps): Update dependencies

Signed-off-by: Rene Leonhardt <65483435+reneleonhardt@users.noreply.github.com>

* chore(deps): Upgrade github.com/imdario/mergo to dario.cat/mergo

Signed-off-by: Rene Leonhardt <65483435+reneleonhardt@users.noreply.github.com>

* remove version identifiers for MeloTTS

Signed-off-by: Rene Leonhardt <65483435+reneleonhardt@users.noreply.github.com>

---------

Signed-off-by: Rene Leonhardt <65483435+reneleonhardt@users.noreply.github.com>
Signed-off-by: Dave <dave@gray101.com>
Co-authored-by: Dave <dave@gray101.com>
This commit is contained in:
Rene Leonhardt
2024-07-12 21:54:08 +02:00
committed by GitHub
parent 68e15e71be
commit fc87507012
29 changed files with 606 additions and 384 deletions

View File

@@ -1,5 +1,5 @@
# Use an official Python runtime as a parent image
FROM harbor.home.sfxworks.net/docker/library/python:3.9-slim
FROM python:3.12-slim
# Set the working directory in the container
WORKDIR /app
@@ -7,8 +7,17 @@ WORKDIR /app
# Copy the current directory contents into the container at /app
COPY requirements.txt /app
# Install c++ compiler
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y build-essential \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Install any needed packages specified in requirements.txt
RUN pip install -r requirements.txt
RUN pip install --no-cache-dir -r requirements.txt \
&& DEBIAN_FRONTEND=noninteractive apt-get remove -y build-essential \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
COPY . /app

View File

@@ -1,7 +1,6 @@
llama_hub==0.0.41
llama_index==0.8.55
Requests==2.31.0
weaviate_client==3.25.1
llama_index==0.9.48
requests==2.32.3
weaviate_client==4.6.4
transformers
torch
chainlit
chainlit

View File

@@ -1,5 +1,5 @@
FROM python:3.10-bullseye
FROM python:3.12-slim-bullseye
COPY . /app
WORKDIR /app
RUN pip install --no-cache-dir -r requirements.txt
ENTRYPOINT [ "python", "./functions-openai.py" ];
ENTRYPOINT [ "python", "./functions-openai.py" ]

View File

@@ -1,2 +1,2 @@
langchain==0.1.0
openai==0.27.8
langchain==0.2.3
openai==1.33.0

View File

@@ -2,7 +2,7 @@ replicaCount: 1
deployment:
# https://quay.io/repository/go-skynet/local-ai?tab=tags
image: quay.io/go-skynet/local-ai:v1.23.0
image: quay.io/go-skynet/local-ai:v1.40.0
env:
threads: 4
debug: "true"
@@ -93,4 +93,4 @@ nodeSelector: {}
tolerations: []
affinity: {}
affinity: {}

View File

@@ -1,4 +1,4 @@
langchain==0.1.0
openai==0.27.6
chromadb==0.3.21
llama-index==0.9.36
langchain==0.2.3
openai==1.33.0
chromadb==0.5.0
llama-index==0.10.43

View File

@@ -1,6 +1,6 @@
FROM node:latest
FROM node:lts-alpine
COPY ./langchainjs-localai-example /app
WORKDIR /app
RUN npm install
RUN npm run build
ENTRYPOINT [ "npm", "run", "start" ]
ENTRYPOINT [ "npm", "run", "start" ]

View File

@@ -1,5 +1,5 @@
FROM python:3.10-bullseye
FROM python:3.12-bullseye
COPY ./langchainpy-localai-example /app
WORKDIR /app
RUN pip install --no-cache-dir -r requirements.txt
ENTRYPOINT [ "python", "./full_demo.py" ];
ENTRYPOINT [ "python", "./full_demo.py" ]

View File

@@ -1,32 +1,33 @@
aiohttp==3.9.4
aiohttp==3.9.5
aiosignal==1.3.1
async-timeout==4.0.2
attrs==23.1.0
certifi==2023.7.22
charset-normalizer==3.1.0
async-timeout==4.0.3
attrs==23.2.0
certifi==2024.6.2
charset-normalizer==3.3.2
colorama==0.4.6
dataclasses-json==0.5.7
debugpy==1.6.7
frozenlist==1.3.3
greenlet==2.0.2
dataclasses-json==0.6.7
debugpy==1.8.1
frozenlist==1.4.1
greenlet==3.0.3
idna==3.7
langchain==0.1.0
marshmallow==3.19.0
langchain==0.2.3
langchain-community==0.2.4
marshmallow==3.21.3
marshmallow-enum==1.5.1
multidict==6.0.4
multidict==6.0.5
mypy-extensions==1.0.0
numexpr==2.8.4
numpy==1.24.3
openai==0.27.6
numexpr==2.10.0
numpy==1.26.4
openai==1.33.0
openapi-schema-pydantic==1.2.4
packaging==23.1
pydantic==1.10.13
PyYAML==6.0
requests==2.31.0
SQLAlchemy==2.0.12
tenacity==8.2.2
tqdm==4.66.3
typing-inspect==0.8.0
typing_extensions==4.5.0
urllib3==1.26.18
yarl==1.9.2
packaging>=23.2
pydantic==2.7.3
PyYAML==6.0.1
requests==2.32.3
SQLAlchemy==2.0.30
tenacity==8.3.0
tqdm==4.66.4
typing-inspect==0.9.0
typing_extensions==4.12.2
urllib3==2.2.1
yarl==1.9.4

View File

@@ -1,10 +1,10 @@
module semantic-todo
go 1.21.6
go 1.22
require (
github.com/gdamore/tcell/v2 v2.7.1
github.com/rivo/tview v0.0.0-20240307173318-e804876934a1
github.com/gdamore/tcell/v2 v2.7.4
github.com/rivo/tview v0.0.0-20240524063012-037df494fb76
)
require (

View File

@@ -1,13 +1,13 @@
github.com/gdamore/encoding v1.0.0 h1:+7OoQ1Bc6eTm5niUzBa0Ctsh6JbMW6Ra+YNuAtDBdko=
github.com/gdamore/encoding v1.0.0/go.mod h1:alR0ol34c49FCSBLjhosxzcPHQbf2trDkoo5dl+VrEg=
github.com/gdamore/tcell/v2 v2.7.1 h1:TiCcmpWHiAU7F0rA2I3S2Y4mmLmO9KHxJ7E1QhYzQbc=
github.com/gdamore/tcell/v2 v2.7.1/go.mod h1:dSXtXTSK0VsW1biw65DZLZ2NKr7j0qP/0J7ONmsraWg=
github.com/gdamore/tcell/v2 v2.7.4 h1:sg6/UnTM9jGpZU+oFYAsDahfchWAFW8Xx2yFinNSAYU=
github.com/gdamore/tcell/v2 v2.7.4/go.mod h1:dSXtXTSK0VsW1biw65DZLZ2NKr7j0qP/0J7ONmsraWg=
github.com/lucasb-eyer/go-colorful v1.2.0 h1:1nnpGOrhyZZuNyfu1QjKiUICQ74+3FNCN69Aj6K7nkY=
github.com/lucasb-eyer/go-colorful v1.2.0/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0=
github.com/mattn/go-runewidth v0.0.15 h1:UNAjwbU9l54TA3KzvqLGxwWjHmMgBUVhBiTjelZgg3U=
github.com/mattn/go-runewidth v0.0.15/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w=
github.com/rivo/tview v0.0.0-20240307173318-e804876934a1 h1:bWLHTRekAy497pE7+nXSuzXwwFHI0XauRzz6roUvY+s=
github.com/rivo/tview v0.0.0-20240307173318-e804876934a1/go.mod h1:02iFIz7K/A9jGCvrizLPvoqr4cEIx7q54RH5Qudkrss=
github.com/rivo/tview v0.0.0-20240524063012-037df494fb76 h1:iqvDlgyjmqleATtFbA7c14djmPh2n4mCYUv7JlD/ruA=
github.com/rivo/tview v0.0.0-20240524063012-037df494fb76/go.mod h1:02iFIz7K/A9jGCvrizLPvoqr4cEIx7q54RH5Qudkrss=
github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
github.com/rivo/uniseg v0.4.3/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88=
github.com/rivo/uniseg v0.4.7 h1:WUdvkW8uEhrYfLC4ZzdpI2ztxP1I582+49Oc5Mq64VQ=