{"adoption": {"forks": 252, "observed_at": "2026-08-28T04:05:24.523898+00:00", "stars": 1703}, "canonical_url": "https://ross.abutalabs.com/products/openaiswift", "card": {"archived": false, "artifact_type": "library", "description": "This is a wrapper library around the ChatGPT and OpenAI HTTP API", "domain": ["large-language-models", "artificial-intelligence", "apis", "mobile-development"], "enriched": true, "function": ["http-client", "sdk", "chatbot"], "health_score": 25, "homepage": null, "language": "Swift", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["adamrushy/OpenAISwift"], "name": "adamrushy/OpenAISwift", "platform": ["cross-platform"], "pushed_at": "2025-02-12T12:10:32+00:00", "repo": "adamrushy/OpenAISwift", "stars": 1703, "tags": ["openai", "chatgpt", "swift-package-manager", "cocoapods", "api-wrapper", "swift", "ios", "macos"], "topics": ["chatgpt", "swift", "swiftui"], "urls": [], "use_cases": ["call the OpenAI API from an iOS app", "add ChatGPT chat completions to a SwiftUI app", "send text completion requests in Swift", "integrate GPT models into a macOS application", "wrap OpenAI endpoints with async/await in Swift"], "what_it_is": "A community-maintained Swift wrapper library around the OpenAI and ChatGPT HTTP APIs. It supports Swift Package Manager and CocoaPods, and offers async/await and completion-handler variants for completions and chat endpoints.", "when_to_avoid": ["you need a multi-platform SDK outside the Apple/Swift ecosystem", "you require exhaustive coverage of every OpenAI endpoint or streaming features not supported by the wrapper", "you need a server-side SDK in another language"], "when_to_choose": ["you are building an iOS, macOS, or other Swift app that needs OpenAI API access", "you want a lightweight Swift-native wrapper with async/await support", "you prefer SPM or CocoaPods integration"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/openaiswift", "repo": "adamrushy/OpenAISwift", "role": "main", "score": 25}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:24.523898+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:37:37.297184+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d3ab968651df0aec74b172e74831186f5c254136b439636998ed568f41fdd185", "fetched_at": "2026-08-28T04:05:24.523898+00:00", "kind": "readme", "missing": false, "url": "https://github.com/adamrushy/OpenAISwift"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:24.523898+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:37:37.297184+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d3ab968651df0aec74b172e74831186f5c254136b439636998ed568f41fdd185", "fetched_at": "2026-08-28T04:05:24.523898+00:00", "kind": "readme", "missing": false, "url": "https://github.com/adamrushy/OpenAISwift"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:37:37.297184+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d3ab968651df0aec74b172e74831186f5c254136b439636998ed568f41fdd185", "fetched_at": "2026-08-28T04:05:24.523898+00:00", "kind": "readme", "missing": false, "url": "https://github.com/adamrushy/OpenAISwift"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:05:24.523898+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:24.523898+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:24.523898+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:37:37.297184+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d3ab968651df0aec74b172e74831186f5c254136b439636998ed568f41fdd185", "fetched_at": "2026-08-28T04:05:24.523898+00:00", "kind": "readme", "missing": false, "url": "https://github.com/adamrushy/OpenAISwift"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:24.523898+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:24.523898+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:37:37.297184+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d3ab968651df0aec74b172e74831186f5c254136b439636998ed568f41fdd185", "fetched_at": "2026-08-28T04:05:24.523898+00:00", "kind": "readme", "missing": false, "url": "https://github.com/adamrushy/OpenAISwift"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:24.523898+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:24.523898+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:24.523898+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:37:37.297184+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d3ab968651df0aec74b172e74831186f5c254136b439636998ed568f41fdd185", "fetched_at": "2026-08-28T04:05:24.523898+00:00", "kind": "readme", "missing": false, "url": "https://github.com/adamrushy/OpenAISwift"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:24.523898+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:24.523898+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:37:37.297184+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d3ab968651df0aec74b172e74831186f5c254136b439636998ed568f41fdd185", "fetched_at": "2026-08-28T04:05:24.523898+00:00", "kind": "readme", "missing": false, "url": "https://github.com/adamrushy/OpenAISwift"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:37:37.297184+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d3ab968651df0aec74b172e74831186f5c254136b439636998ed568f41fdd185", "fetched_at": "2026-08-28T04:05:24.523898+00:00", "kind": "readme", "missing": false, "url": "https://github.com/adamrushy/OpenAISwift"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:37:37.297184+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d3ab968651df0aec74b172e74831186f5c254136b439636998ed568f41fdd185", "fetched_at": "2026-08-28T04:05:24.523898+00:00", "kind": "readme", "missing": false, "url": "https://github.com/adamrushy/OpenAISwift"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:37:37.297184+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d3ab968651df0aec74b172e74831186f5c254136b439636998ed568f41fdd185", "fetched_at": "2026-08-28T04:05:24.523898+00:00", "kind": "readme", "missing": false, "url": "https://github.com/adamrushy/OpenAISwift"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 6, "longevity": 97, "rhythm": 8}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 1366, "days_push": 567, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 25, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}