Skip to content

Commit

Permalink
Feat/chatglm3 function call (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
yaojin3616 committed Dec 17, 2023
2 parents 4a388e5 + 7b5b4d8 commit 9e8e412
Show file tree
Hide file tree
Showing 25 changed files with 1,521 additions and 12 deletions.
4 changes: 2 additions & 2 deletions src/backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN curl -sSL https://install.python-poetry.org | python3 -
# # Add Poetry to PATH
ENV PATH="${PATH}:/root/.local/bin"
# # Copy the pyproject.toml and poetry.lock files
COPY poetry.lock pyproject.toml ./
# COPY poetry.lock pyproject.toml ./
# Copy the rest of the application codes
COPY ./ ./

Expand All @@ -22,4 +22,4 @@ RUN python -m pip install --upgrade pip && \
RUN poetry config virtualenvs.create false
RUN poetry install --no-interaction --no-ansi --without dev

CMD ["uvicorn", "bisheng.main:app", "--workers", "2", "--host", "0.0.0.0", "--port", "7860"]
CMD ["uvicorn", "bisheng.main:app", "--workers", "2", "--host", "0.0.0.0", "--port", "7860"]
2 changes: 1 addition & 1 deletion src/backend/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ include = ["./bisheng/*", "bisheng/**/*"]
bisheng = "bisheng.__main__:main"

[tool.poetry.dependencies]
bisheng_langchain = "v0.1.8"
bisheng_langchain = "0.2.0rc1"
bisheng_pyautogen = "0.1.18"
minio = "^7.2.0"
fastapi_jwt_auth = "^0.5.0"
Expand Down
5 changes: 5 additions & 0 deletions src/bisheng-langchain/bisheng_langchain/agents/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from bisheng_langchain.agents.chatglm_functions_agent.base import ChatglmFunctionsAgent

__all__ = [
ChatglmFunctionsAgent
]
Empty file.
Loading

0 comments on commit 9e8e412

Please sign in to comment.