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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gpt_review_with_precondition-0.3.8.tar.gz.
File metadata
- Download URL: gpt_review_with_precondition-0.3.8.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.0 CPython/3.11.6 Linux/6.2.0-1015-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a890e32e421d19cac0129e403790b69b51ed47750e2798014857327c9a44699a
|
|
| MD5 |
e65309b2ac656baffa9f68acbb170fa6
|
|
| BLAKE2b-256 |
fb08964737b0a73197e5bffb3d98b7dc5eebd1d18be7382d78375026662d8fc0
|
File details
Details for the file gpt_review_with_precondition-0.3.8-py3-none-any.whl.
File metadata
- Download URL: gpt_review_with_precondition-0.3.8-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.0 CPython/3.11.6 Linux/6.2.0-1015-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
854c5f571ac9fc8ff21d3dc8de9b46b43de8723892c74d31cdfdce4dc81ed925
|
|
| MD5 |
029c54041a7375a3ea157cd2731b19c5
|
|
| BLAKE2b-256 |
6b5a5bd948fb833a25bbe31574a19cc7011950302f193c817b7cf1e8a2b3c8d6
|