I'm leyoonafr, also can call me leo
Front-end dev / Beatmaker
Find me at: Twitter · Instagram · Netease Music
For students, scholars, interviewees and lifelong learners. Let LLMs assist you in learning 🎓
License: GNU Affero General Public License v3.0
I'm leyoonafr, also can call me leo
Front-end dev / Beatmaker
Find me at: Twitter · Instagram · Netease Music
I uploaded a md
file but the server returned 500, and the following is the log of server:
INFO: 192.168.228.4:48302 - "POST /note HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/uvicorn/protocols/http/h11_impl.py", line 408, in run_asgi
result = await app( # type: ignore[func-returns-value]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/fastapi/applications.py", line 289, in __call__
await super().__call__(scope, receive, send)
File "/usr/local/lib/python3.11/site-packages/starlette/applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 184, in __call__
raise exc
File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 79, in __call__
raise exc
File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 20, in __call__
raise e
File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 66, in app
response = await func(request)
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 273, in app
raw_response = await run_endpoint_function(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 190, in run_endpoint_function
return await dependant.call(**values)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/main.py", line 63, in add_note
return await _apis_.note.add_note(language, questionType, noteName, files, notionId)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/apis/note.py", line 62, in add_note
if (len(files) > 3):
^^^^^^^^^^
TypeError: object of type 'NoneType' has no len()
Environment:
Macos 14 Beta, M1 chip
OpenAI Key with API_BASE setup
作者您好,我在昨天(21号)拉取了你最新的代码,然后运行docker-composer up -d
,项目被正常拉取并build后能正常运行
然后我在profile一栏进行api key
的配置,完成配置后点击提交,没有任何的提示
再回到首页新增md笔记,填写好笔记的名字和选择了md文件后,点击上传却一直在转圈圈
整个流程belike:
graph LR
1(配置`api key`) --> 返回首页 --> 点击新增笔记 --> 填写笔记名称 --> 点击选择文件 --> 点击上传 --> 上传按钮转圈圈
上传按钮转圈圈 --> 点击上传
请问有没有可能把FSRS复习算法加进来呢
https://github.com/open-spaced-repetition/free-spaced-repetition-scheduler
QaQ
OPENAI_API_KEY=xxx
OPENAI_API_TYPE=open_ai
OPENAI_API_BASE="xxxx"
from dotenv import load_dotenv
load_dotenv(".env")
I deployed a set of Docker services online, but after importing the Markdown file, it prompts for a test key and says it may take some time. However, it still cannot extract the questions. I'm not sure if it's a configuration issue or a problem with the Markdown file. I renamed a text file to an MD file and the content includes Chinese poetry and English articles.
I'm not quite sure if anyone is actually using this project. If you are using it, I would really appreciate it if you could leave a comment here and provide me with some feedback because it's really important to me! 🙏 Many thanks!
现在我不太清楚有没有人真的在使用这个项目。如果您有在使用的话,很希望您能在这里发表一个留言,给我一些反馈,因为这对我真的十分重要!🙏非常感谢!
您好,我是docker安装的程序,使用chatgpt3.5的api调用时,无论是回答还是创建笔记都会在浏览器上方'弹出x-ratelimit-limit-requests'错误,请问是什么原因?
而当我更换到chatgpt4.0的api时是可以使用的,无论是回答还是创建笔记
1 validation error for LLMChain prompt none is not an allowed value (type=type_error.none.not_allowed)
I used the latest version of examor and can't add any new notes. The UI showed some error messages: Expecting value: line 1 column 1 (char 0)
. However, I can import notes from existing question bank.
I tried many notes including the example but all failed.
Unable up the compose env, because of fail to start the examor-server-1 .
output log as below:
2023-09-01 14:27:57 /usr/bin/env: ‘bash\r’: No such file or directory
2023-09-01 14:27:58 /usr/bin/env: ‘bash\r’: No such file or directory
2023-09-01 14:27:59 /usr/bin/env: ‘bash\r’: No such file or directory
2023-09-01 14:28:00 /usr/bin/env: ‘bash\r’: No such file or directory
2023-09-01 14:28:02 /usr/bin/env: ‘bash\r’: No such file or directory
2023-09-01 14:28:05 /usr/bin/env: ‘bash\r’: No such file or directory
2023-09-01 14:28:12 /usr/bin/env: ‘bash\r’: No such file or directory
2023-09-01 14:28:25 /usr/bin/env: ‘bash\r’: No such file or directory
2023-09-01 14:28:51 /usr/bin/env: ‘bash\r’: No such file or directory
2023-09-01 14:29:43 /usr/bin/env: ‘bash\r’: No such file or directory
2023-09-01 14:30:43 /usr/bin/env: ‘bash\r’: No such file or directory
2023-09-01 14:31:43 /usr/bin/env: ‘bash\r’: No such file or directory
2023-09-01 14:32:44 /usr/bin/env: ‘bash\r’: No such file or directory
the command I used :
git clone https://github.com/codeacme17/examor.git
cd examor
docker-compose up
version I used:
> git log -n 1
commit 6fec558a4667a002cd18de3f563ab29e7523169e (HEAD -> main, origin/main, origin/HEAD)
Author: codeacme17 <[email protected]>
Date: Thu Aug 31 21:08:51 2023 +0800
fix: fix some bugs
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.