Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.

Openai代理-Chat-Demo
Openai代理商聊天演示。集成自定义LLM和MCP服务器和功能工具
2
Github Watches
0
Github Forks
2
Github Stars
openai-agents-chat-demo
openai agents chat demo. integration custom llm and mcp server and function tool
基于openai-agents框架实现的聊天对话机器人。
功能特点
- 使用OpenAI Agents框架实现智能对话
- 支持自定义工具函数扩展能力
- 提供简洁的Web界面进行交互
- 支持对话历史记录和上下文管理
安装与使用
环境要求
- Python 3.8+
- llm API密钥
安装依赖
pip install -r requirements.txt
配置
- 查看config,进行自定义配置
运行
python app.py
访问 http://localhost:8050 开始使用聊天机器人。
项目结构
-
app.py
: Web应用主入口 -
agent.py
: 聊天代理实现 -
config.py
: 配置文件 -
templates/
: HTML模板 -
static/
: 静态资源文件 -
utils/
: 工具函数
相关推荐
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Create and Publish Business Websites in seconds. AI will gather all the details about your website and generate link to your website.
You're in a stone cell – can you get out? A classic choose-your-adventure interactive fiction game, based on a meticulously-crafted playbook. With a medieval fantasy setting, infinite choices and outcomes, and dice!
Carbon footprint calculations breakdown and advices on how to reduce it
Text your favorite pet, after answering 10 questions about their everyday lives!
Best-in-class AI domain names scoring engine and availability checker. Brandability, domain worth, root keywords and more.
Flock是一个基于工作流程的低音平台,可快速构建聊天机器人,抹布和协调多代理团队,由Langgraph,Langchain,Langchain,Fastapi和Nextjs提供支持。(羊群工作流工作流的低代码平台,rag rag rag 用于快速构建聊天机器人、 rag temant Agent fastem temantfaster和muti-agent agagent应用