Chainlit 作为一个库,使用起来非常简单。 我还使用 Langchain 来与 Ollama 进行交互。 from langchain_community.llms import Ollama from langchain.prompts import ChatPromptTemplate import chainlit as cl 下一步是使用 chainlit 的 @cl.on_chat ...
__ __ _____ __ __ _____ _____ _____ _____ /\ \/\ \ /\ == \ /\ \ /\ \ /\ ___\ /\__ _\ /\ ___\ /\ __-. \ \ \_\ \ \ \ _-/ \ \ \____ \ \ \ \ \ __\ \/_/\ \/ \ \ __\ \ \ \/ ...