Coder Social home page Coder Social logo

I got a error message about notionai-plus HOT 3 CLOSED

vaayne avatar vaayne commented on August 25, 2024
I got a error message

from notionai-plus.

Comments (3)

Vaayne avatar Vaayne commented on August 25, 2024

Could you provide more detail? Which version of Notion AI are you referring to? How are you using it?

from notionai-plus.

5118Python avatar 5118Python commented on August 25, 2024

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.

5118Python avatar 5118Python commented on August 25, 2024

I upgrade to v0.1.0,It's worded. thank you.

from notionai-plus.

Related Issues (20)

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.