This commit is contained in:
narawat lamaiin
2024-03-16 15:58:48 +07:00
parent ec407acb92
commit 512799d7ca
2 changed files with 34 additions and 43 deletions

View File

@@ -11,9 +11,9 @@ using JSON3, DataStructures, Dates, UUIDs, HTTP, Random
using GeneralUtils
using ..type, ..utils, ..llmfunction
# ---------------------------------------------------------------------------- #
# pythoncall setting #
# ---------------------------------------------------------------------------- #
# ------------------------------------------------------------------------------------------------ #
# pythoncall setting #
# ------------------------------------------------------------------------------------------------ #
# Ref: https://github.com/JuliaPy/PythonCall.jl/issues/252
# by setting the following variables, PythonCall.jl will use:
# 1. system's python and packages installed by system (via apt install)
@@ -35,8 +35,7 @@ using ..type, ..utils, ..llmfunction
# PythonCall.pycopy!(py_llms, pyimport("langchain.llms"))
# end
#------------------------------------------------------------------------------------------------100
# ---------------------------------------------- 100 --------------------------------------------- #
""" Add new message to agent.