title | emoji | colorFrom | colorTo | sdk | sdk_version | app_file | pinned |
---|---|---|---|---|---|---|---|
NotionGPT |
🚀 |
purple |
blue |
gradio |
4.29.0 |
gradio_app.py |
false |
- Go to Notion's My Integrations page.
- Click
+ New Integration
. - Enter the integration name. (NotionGPT is a good choice)
- Click on the integration you created.
- Visit the
Secrets
tab. - Copy the
Internal Integration Secret
and save it for later.
- Create the page where NotionGPT will store all the generated content. (We named ours NotionGPT Generator)
- Get the page ID by copying the last series of characters in the URL. (e.g.
https://www.notion.so/NotionGPT-Generator-<PAGE_ID>
) - Click on the
...
more menu in the top-right corner of the page. - Scroll down to connections and click
Connect to
. - Search for the integration you created, click it, and select
Confirm
.
- Create an account on OpenAI or log in if you already have one.
- Visit the Billings page and add a payment method to your account.
- Click
Add to credit balance
and add some funds to your account, we recommend $10 to start.
- Go to the API keys page. (Note that you may have to verify your phone number to do so)
- Click
+ Create new secret key
, and name it. (NotionGPT is a good choice) - Copy the key and save it for later, you won't be able to see it again.
- Download
data/finetuning_data_cot_v12.jsonl
in the GitHub repository. - Visit the OpenAI Fine-tuning page and click
+ Create
in the top right corner. - Fill in the form with the following information, and leave the rest as default:
Base Model
:gpt-3.5-turbo-0125
(or any other model you prefer)Training data
: Upload thefinetuning_data_cot_v12.jsonl
file.Suffix
: NotionGPT (or any other name you prefer)
- Click
Create
and wait for the model to finish training. - Once the model is trained, copy the model name and save it for later. (It should look something like
ft:gpt-3.5-turbo-0125:personal:notiongpt:<ID>
)
- Create an account on Unsplash or log in if you already have one.
- Go to Unsplash's Applications page.
- Click
New Application
. - Agree to all the terms and condtions and click
Accept terms
. - Fill in your application name and description. (NotionGPT is a good choice for both)
- Click
Create application
. - Scroll down to keys and copy the
Access Key
and save it for later.
- Create an account on Hugging Face or log in if you already have one.
- Visit the NotionGPT space here.
- Click on the
...
more menu in the top-right corner of the space. - Select
Duplicate this space
. - Keep everything the same, but set your
Space secrets
according to the information below:UNSPLASH_ACCESS_KEY
: Your Unsplash API key.OPENAI_API_KEY
: Your OpenAI API key.NOTION_KEY
: Your Notion API key.NOTION_PAGE_ID
: The page ID of the page you created in Notion.NOTION_GPT_MODEL_NAME
: The name of the fine-tuned model.
- Click
Duplicate Space
, and wait for the application to build. (Note that this may take a few minutes) - Enjoy using NotionGPT! 🎉