{"id":28404566,"url":"https://github.com/cloud-code-ai/prompt-tune","last_synced_at":"2025-07-13T11:33:03.469Z","repository":{"id":211377215,"uuid":"728737732","full_name":"Cloud-Code-AI/prompt-tune","owner":"Cloud-Code-AI","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-16T04:32:22.000Z","size":470,"stargazers_count":5,"open_issues_count":4,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-02T05:16:04.909Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Cloud-Code-AI.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-12-07T15:29:12.000Z","updated_at":"2025-01-04T19:39:07.000Z","dependencies_parsed_at":"2023-12-19T20:52:59.309Z","dependency_job_id":"d9510a0d-3e0d-4110-94ba-1a8a8e954f94","html_url":"https://github.com/Cloud-Code-AI/prompt-tune","commit_stats":null,"previous_names":["cloud-code-ai/prompt-tune"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Cloud-Code-AI/prompt-tune","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cloud-Code-AI%2Fprompt-tune","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cloud-Code-AI%2Fprompt-tune/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cloud-Code-AI%2Fprompt-tune/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cloud-Code-AI%2Fprompt-tune/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cloud-Code-AI","download_url":"https://codeload.github.com/Cloud-Code-AI/prompt-tune/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cloud-Code-AI%2Fprompt-tune/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265132036,"owners_count":23716093,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-01T20:09:37.470Z","updated_at":"2025-07-13T11:33:03.464Z","avatar_url":"https://github.com/Cloud-Code-AI.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Prompt-Tune\n\nPromptune is an open-source tool designed to enhance interactions with AI language models. It enables users to evaluate and select effective prompts, test them across multiple models, and track how model responses change over time. This tool is ideal for developers, researchers, and AI enthusiasts working with models like GPT-3.5 and others.\n\n## Features\n\n- **Generate Alternative Prompts**: Create variations of prompts to explore different phrasing.\n- **Evaluate Prompt Effectiveness**: Assess prompt performance across different AI models.\n- **Iterative Prompt Refinement**: Quickly refine prompts for optimal results.\n- **Multi-Model Compatibility**: Test prompts with various AI models, including different versions of OpenAI's GPT.\n- **Response Tracking**: Analyze how AI model responses evolve in relation to prompt modifications.\n\n## Installation\n\nPromptune is not available as a pip package, but you can install it from the source. Clone the repository and use the `setup.py` script:\n\n```bash\ngit clone https://github.com/Cloud-Code-AI/prompt-tune.git\ncd promptune\npython setup.py install\n```\n\n## Configuration\n\nBefore using Promptune, you need to set up a configuration file (`config.json`). This file contains the necessary details for connecting to AI services like OpenAI.\n\nHere's an example of what your `config.json` should look like:\n\n```json\n{\n    \"services\": {\n        \"OpenAI\": {\n            \"api_key_name\": \"OPENAI_KEY\",\n            \"base_url\": \"https://api.openai.com/v1/chat/completions\",\n            \"models\": [\"gpt-3.5-turbo\", \"gpt-4-turbo\"]\n        }\n    }\n}\n```\n\n- `api_key_name`: The environment variable name where your OpenAI API key is stored.\n- `base_url`: The base URL for the OpenAI API.\n- `models`: A list of models you plan to use.\n\nEnsure you have set the `OPENAI_KEY` environment variable with your actual OpenAI API key.\n\n## Usage\n\n### Example 1: Generating and Testing Alternative Prompts\n\nThis example demonstrates generating alternative prompts.\n\n```bash\npython example.py\n```\n\n## Contributing\n\nWe welcome contributions to Promptune. If you're interested in helping, please read our [CONTRIBUTING.md](./CONTRIBUTING.md) file.\n\n## License\n\nPromptune is released under the [MIT License](./LICENSE).\n\n## Contact\n\nFor questions and feedback, please reach out to us at [contact@example.com](mailto:oss@cloudcode.ai).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloud-code-ai%2Fprompt-tune","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloud-code-ai%2Fprompt-tune","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloud-code-ai%2Fprompt-tune/lists"}