add langchain
This commit is contained in:
@@ -6,6 +6,16 @@ export agent, addNewMessage, clearMessage, removeLatestMsg, generatePrompt_token
|
||||
|
||||
using JSON3, DataStructures, Dates
|
||||
|
||||
const py_agents = PythonCall.pynew()
|
||||
const py_llms = PythonCall.pynew()
|
||||
function __init__()
|
||||
PythonCall.pycopy!(py_cv2, pyimport("cv2"))
|
||||
|
||||
# equivalent to from urllib.request import urlopen in python
|
||||
PythonCall.pycopy!(py_agents, pyimport("langchain" => "agents"))
|
||||
PythonCall.pycopy!(py_llms, pyimport("langchain" => "llms"))
|
||||
end
|
||||
|
||||
#------------------------------------------------------------------------------------------------100
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user