{"id":21692627,"url":"https://github.com/fermyon/ai-examples","last_synced_at":"2025-04-09T23:18:01.138Z","repository":{"id":192789408,"uuid":"685356758","full_name":"fermyon/ai-examples","owner":"fermyon","description":"A collection of serverless apps that show how Fermyon's Serverless AI (currently in private beta) works. Reference: https://developer.fermyon.com/spin/serverless-ai-tutorial","archived":false,"fork":false,"pushed_at":"2024-12-18T18:47:34.000Z","size":2822,"stargazers_count":49,"open_issues_count":9,"forks_count":17,"subscribers_count":12,"default_branch":"main","last_synced_at":"2025-04-09T23:17:54.662Z","etag":null,"topics":["ai","fermyon","llama","serverless","spin"],"latest_commit_sha":null,"homepage":"https://developer.fermyon.com/cloud/serverless-ai","language":"Rust","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/fermyon.png","metadata":{"files":{"readme":"README.md","changelog":"newsfeeder-ts/.gitignore","contributing":null,"funding":null,"license":null,"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-08-31T03:50:04.000Z","updated_at":"2025-02-15T20:06:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"e569dcdd-c88f-433b-8ae8-09bdfcd9db0d","html_url":"https://github.com/fermyon/ai-examples","commit_stats":{"total_commits":70,"total_committers":20,"mean_commits":3.5,"dds":0.7142857142857143,"last_synced_commit":"e5151fdfc32a6573ba11df18761cf61cefe2d54a"},"previous_names":["fermyon/ai-examples"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fermyon%2Fai-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fermyon%2Fai-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fermyon%2Fai-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fermyon%2Fai-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fermyon","download_url":"https://codeload.github.com/fermyon/ai-examples/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248125593,"owners_count":21051771,"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":["ai","fermyon","llama","serverless","spin"],"created_at":"2024-11-25T18:16:52.218Z","updated_at":"2025-04-09T23:18:01.098Z","avatar_url":"https://github.com/fermyon.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fermyon Serverless AI Examples\n\nThis repository contains examples of using [Fermyon Serverless AI](https://developer.fermyon.com/cloud/serverless-ai).\n\n## Prerequisites\n\nThe following prerequisites are needed to build and run these examples:\n- Spin version 1.5.0 or newer. You can find the install and update instructions [here](https://developer.fermyon.com/spin/install#installing-spin).\n- The following plugins:\n    - js2wasm 0.6.1 `spin plugins install js2wasm`.\n    - py2wasm 0.3.2 `spin plugins install py2wasm`.\n- Optional, but highly recommended, is to use the [Spin Cloud GPU component](https://github.com/fermyon/spin-cloud-gpu). This offloads inferencing to Fermyon Cloud GPUs, and thus requires a free account to [Fermyon Cloud Serverless AI](https://www.fermyon.com/serverless-ai).\n- If you do not want to use the Cloud GPU component, the instructions on how to download the required models for inferencing and embedding can be found [here](https://developer.fermyon.com/spin/ai-sentiment-analysis-api-tutorial#application-structure).\n\n\u003e Note that Fermyon Cloud support is currently in private beta. To apply for access to the private beta, please fill out [this application form](https://fibsu0jcu2g.typeform.com/serverless-ai). \n\n## Examples overview\n\nHere is a table of the following examples:\n\n| Example Name  | Spin SDK           |  Inferencing     |  Embedding    | Vector DBs |\n| ------------- | ------------- | ------------- | ------------- | ------------- |\n| [blog-recommendation-ts](./blog-recommendation-ts/)  | TypeScript  |    | :white_check_mark:  |  :white_check_mark:  |\n| [code-generator-rs](./code-generator-rs/)  | Rust  |  :white_check_mark:  |   |    |\n| [haiku-generator-rs](./haiku-generator-rs/)  | Rust  |  :white_check_mark:  |   |    |\n| [haiku-generator-ts](./haiku-generator-ts/)  | TypeScript  |  :white_check_mark:  |   |    |\n| [newsfeeder-ts](./newsfeeder-ts/)  | Typescript  |   :white_check_mark:  |   |    |\n| [openapi-rs](./openapi-rs/)  | Rust  |   :white_check_mark:  |   |    |\n| [sentiment-analysis-py](./sentiment-analysis-py/)  |  Python | :white_check_mark:  |   |    |\n| [sentiment-analysis-rs](./sentiment-analysis-rs/)  |  Rust | :white_check_mark:  |   |    |\n| [sentiment-analysis-ts](./sentiment-analysis-ts/)  |  Typescript | :white_check_mark:  |   |    |\n| [silly-walk-ts](./silly-walk-ts/)  | Typescript | :white_check_mark:  |   |    |\n\nTo get started building your own applications, follow [these instructions](https://developer.fermyon.com/spin/serverless-ai-tutorial) to make sure you have installed the correct version of Spin and the necessary SDKs. If you'd like to learn more about the API, visit the [API guide here](https://developer.fermyon.com/spin/serverless-ai-api-guide).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffermyon%2Fai-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffermyon%2Fai-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffermyon%2Fai-examples/lists"}