Comments (3)
Could you provide more detail? Which version of Notion AI are you referring to? How are you using it?
from notionai-plus.
Looking in indexes: http://pypi.douban.com/simple/
Requirement already satisfied: notionai-py in d:\anaconda3\envs\flagai\lib\site-packages (0.0.9)
Requirement already satisfied: requests in d:\anaconda3\envs\flagai\lib\site-packages (from notionai-py) (2.28.1)
Requirement already satisfied: charset-normalizer<3,>=2 in d:\anaconda3\envs\flagai\lib\site-packages (from requests->notionai-py) (2.1.1)
Requirement already satisfied: certifi>=2017.4.17 in d:\anaconda3\envs\flagai\lib\site-packages (from requests->notionai-py) (2022.12.7)
Requirement already satisfied: idna<4,>=2.5 in d:\anaconda3\envs\flagai\lib\site-packages (from requests->notionai-py) (3.4)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in d:\anaconda3\envs\flagai\lib\site-packages (from requests->notionai-py) (1.26.13)
import os
import sys
from notionai import NotionAI, NotionAIStream, PromptTypeEnum, TopicEnum
TOKEN = "???"
SPACE_ID = "???"
def main():
ai = NotionAI(TOKEN, SPACE_ID)
res = ai.writing_with_topic(TopicEnum.blog_post, "Please help to introduce Notion")
print(res)
if name == "main":
main()
result:
data: {"errorId":"5f89d697-9d73-4445-a6e1-063a16fd0e11","name":"ValidationError","message":"Invalid input."}, error: 'type'
Process finished with exit code 0
from notionai-plus.
I upgrade to v0.1.0,It's worded. thank you.
from notionai-plus.
Related Issues (20)
- Something went wrong (error code 402) HOT 2
- Github switching to search input, instead of the extension when typing the letter s HOT 2
- [REQUEST] Some promising ideas (browser extension) HOT 1
- “Something went wrong (error code 403).”
- Could not decrypt token. HOT 7
- 请问填写的到底是NotionSpaceID还是NotionToken HOT 1
- always say "NotionAI is not ready" HOT 3
- token not work HOT 6
- Don't work on edge HOT 1
- Don't work on chrome HOT 1
- NotionAI is not ready HOT 2
- 两个小建议,增加背景颜色和增加选项中文 HOT 7
- "continue writing" not work for notion API HOT 5
- Chrome Web Store打开链接显示404,插件在谷歌商店找不到,下载压缩包解压后导入进去用不了 HOT 1
- shortcut to hide panel HOT 1
- res is not defined HOT 5
- 'res is not defined' Error HOT 2
- some questions about the chatgptweb engine HOT 3
- 第二次触发插件 HOT 2
- question HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from notionai-plus.