GPT review with precondition from Notion
Project description
gpt-review-with-precondition
summery
notion 上にある技術文書を前提とした PR レビューを行います
for user
Envioronment Variables
install
pip install gpt-review-with-precondition
save-precondition コマンド
save-precondition ${NOTION_DATABASE_ID}
notion document を取得して前提条件のためのデータを保存します。
- NOTION_DATABASE_ID
指定した id の Notion Database から ドキュメントを取得します。
inputs/notion_database_query.json
で取得条件を指定できます。inputs/notion_document_ids.json
に指定された id のドキュメントも併せて取得します。
// example notion_database_query
{
"filter": {
"or": [
{"property": "status", "select": {"equals": "approved"}},
{"property": "status", "select": {"equals": "posted"}},
]
}
}
// example notion_document_ids
["id1","id2"]
gpt-review-with-precondition コマンド
gpt-review-with-precondition
前提条件付きで inputs/prompt.md
に記載されたプロンプトを実行します。
for developer setup
pip install poetry
make install
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for gpt_review_with_precondition-0.3.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a890e32e421d19cac0129e403790b69b51ed47750e2798014857327c9a44699a |
|
MD5 | e65309b2ac656baffa9f68acbb170fa6 |
|
BLAKE2b-256 | fb08964737b0a73197e5bffb3d98b7dc5eebd1d18be7382d78375026662d8fc0 |
Close
Hashes for gpt_review_with_precondition-0.3.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 854c5f571ac9fc8ff21d3dc8de9b46b43de8723892c74d31cdfdce4dc81ed925 |
|
MD5 | 029c54041a7375a3ea157cd2731b19c5 |
|
BLAKE2b-256 | 6b5a5bd948fb833a25bbe31574a19cc7011950302f193c817b7cf1e8a2b3c8d6 |