Coder Social home page Coder Social logo

prompt-engineering / chat-flow Goto Github PK

View Code? Open in Web Editor NEW
643.0 643.0 67.0 824 KB

ChatFlow - AI-based chat flow framework, personalize your ChatGPT workflows and build the road to automation。ChatFlow —— 打造个性化 ChatGPT 流程,构建自动化之路

Home Page: https://prompt.phodal.com

License: MIT License

Shell 0.08% TypeScript 96.89% JavaScript 2.30% CSS 0.73%

chat-flow's People

Contributors

ju-james-pang avatar osub avatar phodal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chat-flow's Issues

`npm run dev` but server didn't start

Describe the bug
I attempted to run the project using "npm run dev", but the server did not start. Although the terminal printed some logs, no error messages were displayed. Here are the logs:

 npm run dev

> [email protected] dev
> npm run prepare:data && cross-env NODE_ENV='development' next dev


> [email protected] prepare:data
> node gen/generate-chatgpt-by-category.js

ready - started server on 0.0.0.0:3000, url: http://localhost:3000
info  - Loaded env from /Users/xxx/project/chat-flow/.env
warn  - You have enabled experimental feature (appDir) in next.config.js.
warn  - Experimental features are not covered by semver, and may cause unexpected or broken application behavior. Use at your own risk.

info  - Thank you for testing `appDir` please leave your feedback at https://nextjs.link/app-feedback
(node:62230) ExperimentalWarning: The Fetch API is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)

(base) 

To Reproduce
According the guide

Expected behavior
The server started

Screenshots
none

Desktop (please complete the following information):

  • OS: macOS

I cannot login with api key

When I try to login with an api_key, I get an error on console:
Uncaught (in promise) SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data

firefox
image

edge
image

Thank you.

如何自定义ask输入?

您好,我已经在本地部署了chat-flow,我应该怎么编写yml文件才能实现在输入框中自定义问题再prompt呢?

  • name: 思路扩展
    ask: 我想写一篇文章,主题围绕于:$$placeholder$$,有什么合适的方向?只返回合适的方向。
    markdownEditor: true
    values:
    placeholder: ChatGPT 与内容创作?
    cachedResponseRegex:

比如这个例子,placeholder的内容固定为“ChatGPT 与内容创作?”无法自定义修改,即使输入了之后点prompt还是会变成“ChatGPT 与内容创作?”
能否给出一个能支持自定义输入的yml例子呢,谢谢!

504 gpt-flow.vercel.app [POST] /api/chatgpt/chat/

[软件系统设计]的step1 和 [模糊的需求到代码骨架]的step2执行就会报错
504 gpt-flow.vercel.app [POST] /api/chatgpt/chat/
[模糊的需求到代码骨架]的step1执行正常

上面步骤的内容直接贴到ChatGPT页面执行都是正常的

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.