{"id":24777514,"url":"https://github.com/rootcircle/cpast_llm","last_synced_at":"2025-03-24T01:41:18.123Z","repository":{"id":220027279,"uuid":"750572161","full_name":"rootCircle/cpast_llm","owner":"rootCircle","description":"[WIP] LLM for clex language for cpast","archived":false,"fork":false,"pushed_at":"2024-08-23T05:12:53.000Z","size":241,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-29T07:51:28.147Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/rootCircle/cpast","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rootCircle.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":"2024-01-30T22:22:49.000Z","updated_at":"2024-08-23T05:12:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"edb782d2-66d0-4f8d-9997-239d174380d1","html_url":"https://github.com/rootCircle/cpast_llm","commit_stats":null,"previous_names":["rootcircle/cpast_llm"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootCircle%2Fcpast_llm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootCircle%2Fcpast_llm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootCircle%2Fcpast_llm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootCircle%2Fcpast_llm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rootCircle","download_url":"https://codeload.github.com/rootCircle/cpast_llm/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245195930,"owners_count":20575936,"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-01-29T07:51:24.712Z","updated_at":"2025-03-24T01:41:18.103Z","avatar_url":"https://github.com/rootCircle.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# clex LLM for cpast\n\nA W.I.P. implementation for LLM for clex, aimed to generate [clex](https://github.com/rootCircle/cpast/blob/54e7f6820aa97f70c25047afd4ce14042b25838a/docs/clex/CLEX_LANG_SPECS.md) from Human readable _Input Format_ and _Constraints_.\n\n## Install \u0026 setup\n\nCreate a `.env` containing the gemini api key. Make sure you have [rye](https://rye-up.com/guide/installation/) installed on your local system.\n\n```bash\nmake init\n```\n\n## Run\n\n```bash\nmake run\n```\nor\n\n```bash\nrye run dev\n```\n\n## Help!\n\nGo to `{base url}/docs` for help!\n\nExample usage\n```bash\ncurl -X 'POST' \\\n  'http://0.0.0.0:8000/api/llm/generate' \\\n  -H 'accept: application/json' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"input_format\": \"string\",\n  \"constraints\": \"string\"\n}'\n```\n\n## Resources (Good to read)\n\nhttps://arxiv.org/abs/2305.19234\n\nhttps://github.com/berlino/grammar-prompting\n\nhttps://github.com/r2d4/parserllm\n\nhttps://matt-rickard.com/context-free-grammar-parsing-with-llms\n\nhttps://matt-rickard.com/rellm\n\nhttps://github.com/r2d4/rellm\n\nhttps://doc.rust-lang.org/stable/reference/notation.html\n\nhttps://github.com/rootCircle/cpast/blob/main/clex.specs.md\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frootcircle%2Fcpast_llm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frootcircle%2Fcpast_llm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frootcircle%2Fcpast_llm/lists"}