Skip to main content

Command generation package for wish

Project description

wish-command-generation

Command generation package for wish.

Development

Graph Visualization

The command generation graph can be visualized using the following command:

# グラフを可視化してdocs/graph.svgとdocs/design.mdを更新
uv sync --dev
uv run python scripts/update_graph_visualization.py

This will generate an SVG visualization of the graph and update the docs/design.md file.

Environment Setup

To use this package, you need to set up the following environment variables:

  1. Create a .env file (you can copy .env.example as a starting point)
  2. Configure the required environment variables:
    • OPENAI_API_KEY: Your OpenAI API key
    • OPENAI_MODEL: The OpenAI model to use (default: gpt-4o)

Example:

# .env file
OPENAI_API_KEY=your-api-key-here
OPENAI_MODEL=gpt-4o

Future work

  • Robust command generation (NETWORK_ERROR, TIMEOUT handling in Dify implementation)
  • Modify each command, as in Dify implementation
  • HackTricks RAG (for community edition)
  • English Prompt
  • API client/server

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

wish_command_generation-0.4.4.tar.gz (36.8 kB view details)

Uploaded Source

Built Distribution

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

wish_command_generation-0.4.4-py3-none-any.whl (36.7 kB view details)

Uploaded Python 3

File details

Details for the file wish_command_generation-0.4.4.tar.gz.

File metadata

  • Download URL: wish_command_generation-0.4.4.tar.gz
  • Upload date:
  • Size: 36.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for wish_command_generation-0.4.4.tar.gz
Algorithm Hash digest
SHA256 c745bf7ccc9491915b9c374a39483f8e74b7c3d5fe39525ee210ba15964e3a06
MD5 b27fc2886ce4e5c31f546f39529ec439
BLAKE2b-256 89022472f94029bd0e578da8c6b5210019d6f391c7961392387ad8a830602baf

See more details on using hashes here.

File details

Details for the file wish_command_generation-0.4.4-py3-none-any.whl.

File metadata

File hashes

Hashes for wish_command_generation-0.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 717bd10b930b20b30a6b0de3a37d1b2dc9d13578c821f9956a2adaf60272593e
MD5 33ab642c59f100c39aac97a1f7762797
BLAKE2b-256 5523d86424d1863df93d7f20db69c0abe95736e9337449ad37db274bf39cc90d

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