Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gpt_review_with_precondition-0.3.8.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gpt_review_with_precondition-0.3.8-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

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

Hashes for gpt_review_with_precondition-0.3.8.tar.gz
Algorithm Hash digest
SHA256 a890e32e421d19cac0129e403790b69b51ed47750e2798014857327c9a44699a
MD5 e65309b2ac656baffa9f68acbb170fa6
BLAKE2b-256 fb08964737b0a73197e5bffb3d98b7dc5eebd1d18be7382d78375026662d8fc0

See more details on using hashes here.

File details

Details for the file gpt_review_with_precondition-0.3.8-py3-none-any.whl.

File metadata

File hashes

Hashes for gpt_review_with_precondition-0.3.8-py3-none-any.whl
Algorithm Hash digest
SHA256 854c5f571ac9fc8ff21d3dc8de9b46b43de8723892c74d31cdfdce4dc81ed925
MD5 029c54041a7375a3ea157cd2731b19c5
BLAKE2b-256 6b5a5bd948fb833a25bbe31574a19cc7011950302f193c817b7cf1e8a2b3c8d6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page