Server mode: sqlguardllm serve with an HTTP API and a Docker image

オープン
#34 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
1週間以上
初心者へのやさしさ
18/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
docker, python, yaml
領域
api, devops

調査の方向性

Start with src/sqlguardllm/server.py, Dockerfile and .github/workflows/release.yml, plus docs/DESIGN.md for the CheckResult JSON shape. The issue depends on #12 and #11, which are not in the payload, so read those first. Done means both endpoints return CheckResult JSON, the OpenAPI document and GHCR image publish on release, and a localhost benchmark shows p50 under 2 ms.

索引モデルが issue の本文から書いたものです。

説明

area:integrations size:m type:feature
Goal

Use the same engine from any language as a sidecar (docs/DESIGN.md#other-languages).

Acceptance criteria
  • sqlguardllm serve --policy FILE exposes POST /v1/check and POST /v1/explain with the same JSON as CheckResult
  • Named policies loaded at startup; no SQL or context is logged
  • OpenAPI document and a Docker image published to GHCR on release
  • p50 under 2 ms per check on localhost in a benchmark
Relevant files
  • src/sqlguardllm/server.py
  • Dockerfile
  • .github/workflows/release.yml
Size

M (1-2 days)

Notes
主要言語
Python
スター
0
フォーク
0
平均マージ
1分
マージ済み PR(30日)
2

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

jmmana/sqlguardllm のほかの issue

jmmana/sqlguardllm の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。