diff --git a/README.md b/README.md index 2a2a625..adf8297 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,10 @@ [![My Skills](https://skillicons.dev/icons?i=nextjs,tailwind,react,python,flask)](https://skillicons.dev)Buy Me A Coffee -> ⚠️⚠️⚠️ Warning: Please understand that the https://chatfiles-ui.fly.dev web demo is temporarily unavailable as used up all the credits available in my free trial. and I am unable to recharge. If necessary, please run it locally yourself. Thanks. - # ChatFiles EN | [中文文档](README.zh.md) -> this repository use [jerryjliu/llama_index](https://github.com/jerryjliu/llama_index), based on [mckaywrigley/chatbot-ui](https://github.com/mckaywrigley/chatbot-ui), inspired by [madawei2699/myGPTReader](https://github.com/madawei2699/myGPTReader) +> this repository use [hwchase17/langchainjs](https://github.com/hwchase17/langchainjs), based on [mckaywrigley/chatbot-ui](https://github.com/mckaywrigley/chatbot-ui) ![Chatfiles](./doc/chatfiles.png) @@ -15,8 +13,6 @@ EN | [中文文档](README.zh.md) ## How to use it -Open https://chatfiles-ui.fly.dev and chat with [Good Example](./doc/Example.md) - ### How to run locally without limited 1. clone this repository. 2. create a .env file on root path. @@ -40,28 +36,11 @@ open browser with http://localhost:3000 ### chatfiles-ui ```shell -cd chatfiles-ui npm install npm run dev ``` -### chatfiles -```shell -cd chatfiles -``` - -create a file named .env with value(OPENAI_API_KEY=your token) - -```shell -python3 server.py -``` - -### how to deploy flyio -- [Deploy to fly.io](./doc/deploy-flyio.md) - - ## Feature - [x] Chat with GPT-3.5 -- [x] Chat with file by llama_index -- [x] Upload multiple files to one index, chat with multiple files. \ No newline at end of file +- [x] Chat with file by langchainjs \ No newline at end of file diff --git a/README.zh.md b/README.zh.md index 0563b84..3c47042 100644 --- a/README.zh.md +++ b/README.zh.md @@ -1,13 +1,9 @@ [![My Skills](https://skillicons.dev/icons?i=nextjs,tailwind,react,python,flask)](https://skillicons.dev)Buy Me A Coffee -> ⚠️⚠️⚠️警告:由于我的 Openai key 额度已用完,并且我无法充值,网页 demo 暂时无法服务。如果有需要,请自行在本地运行。感谢。 - # ChatFiles **上传文件然后与之对话.** ## 如何使用 - -浏览器打开:https://chatfiles-ui.fly.dev 。 上传文件对话,可以看看这些好的例子: [Good Example](./doc/Example.md) ### 如何无限制的本地运行 @@ -30,28 +26,13 @@ docker compose up 直接发送消息,而无需上传文件。 ## 如何本地运行 -### chatfiles-ui +### chatfiles ```shell -cd chatfiles-ui npm install npm run dev ``` -### chatfiles -```shell -cd chatfiles -``` - -创建一个名为 .env的文件,里面设置值为(OPENAI_API_KEY=your token) - -```shell -python3 server.py -``` - -## 如何部署到 fly.io -- [Deploy to fly.io](./doc/deploy-flyio.md) - ## 功能 - [x] 与 GPT-3.5 对话。