Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.6.4 #1268

Merged
merged 43 commits into from
Dec 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
327af1b
vectara components
JAtharva22 Nov 6, 2023
6e0afd8
minor - removal of extra imports
JAtharva22 Nov 11, 2023
07815de
minor commenting changes
JAtharva22 Nov 13, 2023
68d6fae
minor formatting
JAtharva22 Nov 13, 2023
dc656ad
Merge branch 'dev' of https://github.com/JAtharva22/langflowdev into dev
JAtharva22 Dec 17, 2023
390767c
major
JAtharva22 Dec 17, 2023
8fcf54b
minor - test check trial
JAtharva22 Dec 17, 2023
83e9c08
yes
JAtharva22 Dec 17, 2023
df4f158
test_endpoint.py from main branch
JAtharva22 Dec 17, 2023
a16fe99
Delete src/backend/langflow/components/retrievers/VectaraSelfQueryRet…
JAtharva22 Dec 17, 2023
a5c6683
.
JAtharva22 Dec 19, 2023
52b6bc4
Merge branch 'Vectara-component-update' of https://github.com/JAtharv…
JAtharva22 Dec 19, 2023
c979823
Create ChatOllamaEndpoint.py
YamonBot Dec 21, 2023
bea5065
Update ChatOllamaEndpoint.py
YamonBot Dec 22, 2023
c303bf3
Create OllamaLLM.py
YamonBot Dec 22, 2023
6c0b4fb
Merge branch 'logspace-ai:dev' into Add-Ollama-LLM
YamonBot Dec 22, 2023
04fde52
Fix param overwrite issue in Vertex class
ogabrielluiz Dec 22, 2023
a27c722
Vectara Component Update - feature enhancement (#1219)
ogabrielluiz Dec 24, 2023
6720b2c
VectaraSelfQueryRetriverComponent
JAtharva22 Dec 25, 2023
5df7319
for test cases
JAtharva22 Dec 25, 2023
3b6672e
Update OllamaLLM.py
YamonBot Dec 26, 2023
e9cd339
Update ChatOllamaEndpoint.py
YamonBot Dec 26, 2023
96f6a88
Add pytube library as a dependency
ogabrielluiz Dec 27, 2023
58eebab
fix(dropdownComponent): add condition to check if options object is e…
Cristhianzl Dec 28, 2023
0227359
BUGFIXES (#1260)
Cristhianzl Dec 28, 2023
23b2629
Add QEMU, Docker Buildx, and Docker Hub integration
ogabrielluiz Dec 29, 2023
2e464d3
Update dependencies in pyproject.toml
ogabrielluiz Dec 29, 2023
148b27c
Update version to 0.6.4a0 in pyproject.toml
ogabrielluiz Dec 29, 2023
89a5b62
Release 0.6.4a0 (#1263)
ogabrielluiz Dec 29, 2023
667625e
Add Dockerfile for building and pushing the application image
ogabrielluiz Dec 29, 2023
bb7ac56
Add Dockerfile for build and push
ogabrielluiz Dec 29, 2023
002adc3
Add Dockerfile for building and pushing the application image (#1265)
ogabrielluiz Dec 29, 2023
74a8954
Update bcrypt version to 4.0.1
ogabrielluiz Dec 29, 2023
7e28707
Add .dockerignore entries for node_modules and dist directories
ogabrielluiz Dec 29, 2023
75390eb
Update bcrypt version to 4.0.1 and add .dockerignore entries for node…
ogabrielluiz Dec 29, 2023
b9fea47
Update .dockerignore file
ogabrielluiz Dec 29, 2023
41a7911
Add QEMU, Docker Buildx, and Docker Hub integration
ogabrielluiz Dec 29, 2023
b66a051
Update .dockerignore file and add QEMU, Docker Buildx, and Docker Hub…
ogabrielluiz Dec 29, 2023
c1c2b8f
Update version number in pyproject.toml
ogabrielluiz Dec 29, 2023
4c599cb
Merge branch 'main' into dev
ogabrielluiz Dec 29, 2023
5e0d30a
Adding Vectara Self Query Retriever - feature request (#1249)
ogabrielluiz Dec 29, 2023
82a33ec
add ChatOllama LLM (#1235)
ogabrielluiz Dec 29, 2023
d9fe8c8
Refactor ChatOllamaEndpoint.py
ogabrielluiz Dec 29, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
.venv/
**/aws
**/aws
# node_modules
**/node_modules/
dist/
**/build/
src/backend/langflow/frontend
16 changes: 16 additions & 0 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,19 @@ jobs:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_API_TOKEN }}
run: |
poetry publish
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
push: true
file: ./build_and_push.Dockerfile
tags: logspace/langflow:${{ steps.check-version.outputs.version }}
18 changes: 18 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,21 @@ jobs:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_API_TOKEN }}
run: |
poetry publish
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
push: true
file: ./build_and_push.Dockerfile
tags: |
logspace/langflow:${{ steps.check-version.outputs.version }}
logspace/langflow:latest
79 changes: 79 additions & 0 deletions build_and_push.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@


# syntax=docker/dockerfile:1
# Keep this syntax directive! It's used to enable Docker BuildKit

# Based on https://github.com/python-poetry/poetry/discussions/1879?sort=top#discussioncomment-216865
# but I try to keep it updated (see history)

################################
# PYTHON-BASE
# Sets up all our shared environment variables
################################
FROM python:3.10-slim as python-base

# python
ENV PYTHONUNBUFFERED=1 \
# prevents python creating .pyc files
PYTHONDONTWRITEBYTECODE=1 \
\
# pip
PIP_DISABLE_PIP_VERSION_CHECK=on \
PIP_DEFAULT_TIMEOUT=100 \
\
# poetry
# https://python-poetry.org/docs/configuration/#using-environment-variables
POETRY_VERSION=1.7.1 \
# make poetry install to this location
POETRY_HOME="/opt/poetry" \
# make poetry create the virtual environment in the project's root
# it gets named `.venv`
POETRY_VIRTUALENVS_IN_PROJECT=true \
# do not ask any interactive question
POETRY_NO_INTERACTION=1 \
\
# paths
# this is where our requirements + virtual environment will live
PYSETUP_PATH="/opt/pysetup" \
VENV_PATH="/opt/pysetup/.venv"


# prepend poetry and venv to path
ENV PATH="$POETRY_HOME/bin:$VENV_PATH/bin:$PATH"


################################
# BUILDER-BASE
# Used to build deps + create our virtual environment
################################
FROM python-base as builder-base
RUN
RUN apt-get update \
&& apt-get install --no-install-recommends -y \
# deps for installing poetry
curl \
# deps for building python deps
build-essential \
# npm
npm


# Now we need to copy the entire project into the image
WORKDIR /app
COPY pyproject.toml poetry.lock ./
COPY src ./src
COPY Makefile ./
COPY README.md ./
RUN curl -sSL https://install.python-poetry.org | python3 - && make build

# Final stage for the application
FROM python-base as final

# Copy virtual environment and built .tar.gz from builder base
COPY --from=builder-base /app/dist/*.tar.gz ./

# Install the package from the .tar.gz
RUN pip install *.tar.gz

WORKDIR /app
CMD ["python", "-m", "langflow", "run", "--host", "0.0.0.0", "--port", "7860"]
991 changes: 417 additions & 574 deletions poetry.lock

Large diffs are not rendered by default.

31 changes: 16 additions & 15 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "langflow"
version = "0.6.3"
version = "0.6.4"
description = "A Python package with a built-in web application"
authors = ["Logspace <[email protected]>"]
maintainers = [
Expand Down Expand Up @@ -28,15 +28,15 @@ langflow = "langflow.__main__:main"


python = ">=3.9,<3.11"
fastapi = "^0.104.0"
uvicorn = "^0.23.0"
fastapi = "^0.108.0"
uvicorn = "^0.25.0"
beautifulsoup4 = "^4.12.2"
google-search-results = "^2.4.1"
google-api-python-client = "^2.79.0"
typer = "^0.9.0"
gunicorn = "^21.2.0"
langchain = "~0.0.345"
openai = "^1.3.6"
openai = "^1.6.1"
pandas = "2.0.3"
chromadb = "^0.4.0"
huggingface-hub = { version = "^0.19.0", extras = ["inference"] }
Expand All @@ -47,31 +47,31 @@ unstructured = "^0.11.0"
pypdf = "^3.17.0"
lxml = "^4.9.2"
pysrt = "^1.1.2"
fake-useragent = "^1.3.0"
fake-useragent = "^1.4.0"
docstring-parser = "^0.15"
psycopg2-binary = "^2.9.6"
pyarrow = "^14.0.0"
tiktoken = "~0.5.0"
wikipedia = "^1.4.0"
qdrant-client = "^1.4.0"
qdrant-client = "^1.7.0"
websockets = "^10.3"
weaviate-client = "^3.23.0"
weaviate-client = "^3.26.0"
jina = "*"
sentence-transformers = { version = "^2.2.2", optional = true }
ctransformers = { version = "^0.2.10", optional = true }
cohere = "^4.37.0"
cohere = "^4.39.0"
python-multipart = "^0.0.6"
sqlmodel = "^0.0.14"
faiss-cpu = "^1.7.4"
anthropic = "^0.7.0"
anthropic = "^0.8.0"
orjson = "3.9.3"
multiprocess = "^0.70.14"
cachetools = "^5.3.1"
types-cachetools = "^5.3.0.5"
platformdirs = "^4.1.0"
pinecone-client = "^2.2.2"
pymongo = "^4.5.0"
supabase = "^2.0.3"
pymongo = "^4.6.0"
supabase = "^2.3.0"
certifi = "^2023.11.17"
google-cloud-aiplatform = "^1.36.0"
psycopg = "^3.1.9"
Expand All @@ -81,13 +81,13 @@ langchain-experimental = "*"
celery = { extras = ["redis"], version = "^5.3.6", optional = true }
redis = { version = "^4.6.0", optional = true }
flower = { version = "^2.0.0", optional = true }
alembic = "^1.12.0"
alembic = "^1.13.0"
passlib = "^1.7.4"
bcrypt = "4.0.1"
python-jose = "^3.3.0"
metaphor-python = "^0.1.11"
pydantic = "^2.0.0"
pydantic-settings = "^2.0.3"
pydantic = "^2.5.0"
pydantic-settings = "^2.1.0"
zep-python = "*"
pywin32 = { version = "^306", markers = "sys_platform == 'win32'" }
loguru = "^0.7.1"
Expand All @@ -100,10 +100,11 @@ extract-msg = "^0.45.0"
jq = { version = "^1.6.0", markers = "sys_platform != 'win32'" }
boto3 = "^1.28.63"
numexpr = "^2.8.6"
qianfan = "0.0.5"
qianfan = "0.2.0"
pgvector = "^0.2.3"
pyautogen = "^0.2.0"
langchain-google-genai = "^0.0.2"
pytube = "^15.0.0"

[tool.poetry.group.dev.dependencies]
pytest-asyncio = "^0.23.1"
Expand Down
Loading
Loading