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.2.0.tar.gz (35.5 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.2.0-py3-none-any.whl (35.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wish_command_generation-0.2.0.tar.gz
  • Upload date:
  • Size: 35.5 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.2.0.tar.gz
Algorithm Hash digest
SHA256 e9d14303efe9f1c1e0d6b81e71db727e99951e70d32e34d3511bea9ce02d5e91
MD5 2414e172c97808f9ee89db025a830ad9
BLAKE2b-256 ec3dee6b3d852cd0939c1716d5785d1f89d32583fd46230ffa023dee98ab1dd1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wish_command_generation-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a0b5e7ca047d6eb3a23b2dc810885984ffb93ff9142471fdf02c3e463b3f5af9
MD5 bf661523d077031d6203d4d5cc1bb1c2
BLAKE2b-256 a31edafa01b8606f89a12451d15436dad05c0baab9774c2d8304e2e34a72ec3d

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