Coder Social home page Coder Social logo

siri-gpt-notion's People

Contributors

shing19 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

Watchers

 avatar

siri-gpt-notion's Issues

如何使用

建议给出一些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调试)

我原本以为捷径的脚本都不好写,看了作者的这个脚本,发现,还是非常简洁的

返回Null并且无法记录

你好,感谢分享哈。可能是我不太会使用notion,但是好像无法记录,并且返回了一些内容
{"status":400,"object":"error","code":"validation_error","message":"body failed validation: body.parent should be defined, instead was undefined."}

不太确定是什么情况,也许是我id填错了或者是其他什么问题?感谢解答

need to update

针对

前提条件下
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.

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.