{"id":20099186,"url":"https://github.com/ryanfarber/inferkit","last_synced_at":"2025-05-06T06:31:00.428Z","repository":{"id":57273586,"uuid":"339577216","full_name":"ryanfarber/inferkit","owner":"ryanfarber","description":"a wrapper for the inferkit api","archived":false,"fork":false,"pushed_at":"2021-02-17T03:04:01.000Z","size":10,"stargazers_count":4,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-21T03:51:59.475Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ryanfarber.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-17T01:12:29.000Z","updated_at":"2025-01-24T21:33:56.000Z","dependencies_parsed_at":"2022-09-17T05:11:15.798Z","dependency_job_id":null,"html_url":"https://github.com/ryanfarber/inferkit","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanfarber%2Finferkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanfarber%2Finferkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanfarber%2Finferkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanfarber%2Finferkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryanfarber","download_url":"https://codeload.github.com/ryanfarber/inferkit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252633590,"owners_count":21779892,"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":"2024-11-13T17:08:41.421Z","updated_at":"2025-05-06T06:31:00.174Z","avatar_url":"https://github.com/ryanfarber.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# inferkit\nA wrapper for the [InferKit](https://inferkit.com) api.\n\n*\"InferKit offers an interface and API for custom AI–based text generators. Whether you're a novelist looking for inspiration, or an app developer, there's something for you.\"*\n\n\nFrom InferKit's website:\n\u003e InferKit's text generation tool takes text you provide and generates what it thinks comes next, using a state-of-the-art neural network. It's configurable and can produce any length of text on practically any topic. An example:\n\u003e\n\u003e **Input**:\n\u003e\n\u003e While not normally known for his musical talent, Elon Musk is releasing a debut album\n\u003e\n\u003e **Completion**:\n\u003e\n\u003e *While not normally known for his musical talent, Elon Musk is releasing a debut album. It's called \"The Road to Re-Entry,\" and it features an astounding collection of songs... (continued)*\n\n\n### usage\ncurrently, this will allow you to generate text each time you call the function.\n\n\n```javascript\n\nconst inferkit = new InferKit(inferkit_api_key)\n\ninferkit.process(\"hello world.  I am playing around with an AI.\").then(console.log)\ninferkit.process(\"hello world.  I am playing around with an AI.\", {length: 100}).then(console.log)\n\n/*\n\tThe goal is to make it learn to write longer programs, \n\tbut I'm trying not to be too harsh on it for now. \n\tHere are a few of the responses I got. \n\tIt learned to recognize / read basic symbols and strings \n\tlike numbers, booleans, strings and so on. \n\tIt has learned to recognize its own program and write...\n*/\n````\n## to do\n- [ ] add support for user custom generators\n- [ ] make a method for continuing generation from accumulating text\n\n\nInferkit was created by [Adam Daniel King](https://github.com/AdamDanielKing)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanfarber%2Finferkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanfarber%2Finferkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanfarber%2Finferkit/lists"}