shing19 / siri-gpt-notion Goto Github PK
View Code? Open in Web Editor NEWThis is a shortcut for Siri that uses the GPT-3.5 language model to automatically save formatted text generated from what you say to Siri into a designated Notion database.
This is a shortcut for Siri that uses the GPT-3.5 language model to automatically save formatted text generated from what you say to Siri into a designated Notion database.
建议给出一些notion表格column的建议和相应的prompt在快捷指令的备注里。
比如,备注我写的是:
提取四个项目:名称,价格,类别和时间
感谢作者,写了这么简洁好用的脚本。因为不熟悉shortcut,所以部署调试的时候,绕了一些弯,最后成功运行起来了。
1、国内无法直接访问api.openai.com 所以需要用做openai-proxy,感谢网上有很多人开源了一些免费的代理方案。
2、创建notion database,并在表格上面设置栏目['name','price', 'category', 'Date'],大概这些栏目,因为openai会自己解析文案对应的字段,所以字段名不用太较真。
3、运行快捷指令的时候,可以加入 Show Result 查看运行结果,以便调试。
4、自己调试多次后,不小心在 get contents of URL 里面加入了一个空字段header ,导致一直返回 cannot parse response。所以好的实践方式,自己调试一遍后,还是不通,则返回重新下载原作者的shortcut再去调试,以免引入一些不必要的麻烦。(找问题的时候,可以配合postman确保自己的接口可通,再到shortcut调试)
我原本以为捷径的脚本都不好写,看了作者的这个脚本,发现,还是非常简洁的
你好,感谢分享哈。可能是我不太会使用notion,但是好像无法记录,并且返回了一些内容
{"status":400,"object":"error","code":"validation_error","message":"body failed validation: body.parent should be defined, instead was undefined
."}
不太确定是什么情况,也许是我id填错了或者是其他什么问题?感谢解答
针对
前提条件下
Notion API 和数据库 ID。您可以按照 这里 的说明来获取。
这里使用notion api的方式,似乎没讲清楚,或者过时了。我半天没搞明白,XD。
官方教程更合适。
https://developers.notion.com/docs/create-a-notion-integration#step-2-share-a-database-with-your-integration
Go to the database page in your workspace. (See our Help Center articles on databases to learn more about databases in Notion.)
Click the •••on the top right corner of the page.
Scroll to the bottom of the pop-up and click Add connections.
Search for and select your integration in the Search for connections... menu.
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.