{"id":15409952,"url":"https://github.com/havendv/openaigenerator","last_synced_at":"2025-04-19T07:19:41.162Z","repository":{"id":208036351,"uuid":"624732109","full_name":"HavenDV/OpenAIGenerator","owner":"HavenDV","description":"Source generator, which allows you to add prompts from which code will be generated in deterministic mode","archived":false,"fork":false,"pushed_at":"2024-12-23T17:00:22.000Z","size":193,"stargazers_count":9,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-12T12:55:56.461Z","etag":null,"topics":["chatgpt","csharp","generator","gpt","gpt-35","gpt-4","openai","prompt-engineering","prompts","source","sourcegenerator"],"latest_commit_sha":null,"homepage":"","language":"C#","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/HavenDV.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,"publiccode":null,"codemeta":null}},"created_at":"2023-04-07T06:04:11.000Z","updated_at":"2024-10-14T20:58:55.000Z","dependencies_parsed_at":"2023-11-19T09:29:51.010Z","dependency_job_id":"855e43b4-f866-4856-8509-945d3ebc6956","html_url":"https://github.com/HavenDV/OpenAIGenerator","commit_stats":{"total_commits":16,"total_committers":2,"mean_commits":8.0,"dds":0.3125,"last_synced_commit":"0d2c8b2b75614fe23164020df6ee1fae029dcbe1"},"previous_names":["havendv/openaigenerator"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HavenDV%2FOpenAIGenerator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HavenDV%2FOpenAIGenerator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HavenDV%2FOpenAIGenerator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HavenDV%2FOpenAIGenerator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HavenDV","download_url":"https://codeload.github.com/HavenDV/OpenAIGenerator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249191315,"owners_count":21227543,"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":["chatgpt","csharp","generator","gpt","gpt-35","gpt-4","openai","prompt-engineering","prompts","source","sourcegenerator"],"created_at":"2024-10-01T16:42:08.239Z","updated_at":"2025-04-19T07:19:41.138Z","avatar_url":"https://github.com/HavenDV.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenAIGenerator\nSource generator, which allows you to add prompts from which code will be generated in deterministic mode\n\n## Usage\n1. Install package from nuget - https://www.nuget.org/packages/OpenAIGenerator/\n2. Add API key to your project file:\n```xml\n  \u003cPropertyGroup\u003e\n    \u003cOpenAIGenerator_ApiKey\u003e$(API_KEY)\u003c/OpenAIGenerator_ApiKey\u003e\n  \u003c/PropertyGroup\u003e\n```\n3. Add .prompt files to your project like this:\n```\nWrite simple calculator class in C#. It should have 2 methods: Add and Multiply.\nBoth methods should take 2 arguments and return result.\nYou can use only + and * operators.\nYou can't use any other methods or classes.\n```\n\n## Settings\n```xml\n  \u003cPropertyGroup\u003e\n    \u003cOpenAIGenerator_SystemMessage\u003eYou are a programmer.\u003c/OpenAIGenerator_SystemMessage\u003e \u003c!-- Default: empty --\u003e\n    \u003cOpenAIGenerator_Temperature\u003e0.9\u003c/OpenAIGenerator_Temperature\u003e \u003c!-- Default: 0.0 --\u003e\n    \u003cOpenAIGenerator_Model\u003egpt-4\u003c/OpenAIGenerator_Model\u003e \u003c!-- Default: gpt-3.5-turbo --\u003e\n  \u003c/PropertyGroup\u003e\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhavendv%2Fopenaigenerator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhavendv%2Fopenaigenerator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhavendv%2Fopenaigenerator/lists"}