langchain+langserver+langfuse整合streamlit构建基础智能体中心

Server Api******
#!/usr/bin/python

-- coding: UTF-8 --

import uvicorn
from fastapi import FastAPI
from base import FaissEngine
from langserve.server import add_routes
from langchain_core.prompts import PromptTemplate
from langchain_core.prompts import ChatPromptTemplate
from langchain_core.o

你可能感兴趣的:(人工智能-大模型应用,langchain,人工智能)