medalcollector / orator Goto Github PK
View Code? Open in Web Editor NEWDIY ChatGPT智能音箱
DIY ChatGPT智能音箱
可以设一个对流式对话吗。等他全部回复之后,再回复语音太慢了
Repo - langchain-serve
File "pydantic\main.py", line 341, in pydantic.main.BaseModel.init
pydantic.error_wrappers.ValidationError: 1 validation error for ConversationalChatAgent
output_parser
Can't instantiate abstract class AgentOutputParser with abstract method parse (type=type_error)
Error 263 for command:
open ./audio.wav
指定的设备未打开,或不被 MCI 所识别。
dongbaosheng@M1-Pro-5 Orator % python3 main.py
pygame 2.3.0 (SDL 2.24.2, Python 3.10.6)
Hello from the pygame community. https://www.pygame.org/contribute.html
嗯,我在,请讲!
Speech synthesized for text [嗯,我在,请讲!]
Speak into your microphone.
Recognized:明天是什么天气?
recognize_from_microphone, text=明天是什么天气?
chatGPT Q:明天是什么天气?
Entering new AgentExecutor chain...
{
"action": "Get Weather",
"action_input": "Beijing,CN"
}本轮对话结束
Speech synthesized for text [嗯主人,我退下啦!]
Python(42798,0x1e79e6080) malloc: *** error for object 0x6f6d2d69746c756d: pointer being freed was not allocated
Python(42798,0x1e79e6080) malloc: *** set a breakpoint in malloc_error_break to debug
zsh: abort python3 main.py
dongbaosheng@M1-Pro-5 Orator %
在chatgpt的连接中使用自己的api key但是得到这个结果
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.