{"id":13801030,"url":"https://github.com/watson-developer-cloud/simple-chat-swift","last_synced_at":"2025-05-13T10:30:59.800Z","repository":{"id":66139955,"uuid":"93529900","full_name":"watson-developer-cloud/simple-chat-swift","owner":"watson-developer-cloud","description":"DEPRECATED: this repo is no longer actively maintained","archived":true,"fork":false,"pushed_at":"2020-11-16T20:35:33.000Z","size":578,"stargazers_count":48,"open_issues_count":1,"forks_count":28,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-08-04T00:05:45.888Z","etag":null,"topics":["swift","watson","watson-swift-sdk"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/watson-developer-cloud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-06-06T14:49:11.000Z","updated_at":"2024-02-28T13:41:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"b7006464-c33c-409b-871d-d1e21892035f","html_url":"https://github.com/watson-developer-cloud/simple-chat-swift","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watson-developer-cloud%2Fsimple-chat-swift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watson-developer-cloud%2Fsimple-chat-swift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watson-developer-cloud%2Fsimple-chat-swift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watson-developer-cloud%2Fsimple-chat-swift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/watson-developer-cloud","download_url":"https://codeload.github.com/watson-developer-cloud/simple-chat-swift/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225198962,"owners_count":17437006,"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":["swift","watson","watson-swift-sdk"],"created_at":"2024-08-04T00:01:18.756Z","updated_at":"2024-11-18T15:31:27.781Z","avatar_url":"https://github.com/watson-developer-cloud.png","language":"Swift","funding_links":[],"categories":["Data \u0026 AI","Swift"],"sub_categories":[],"readme":"# Simple Chat (Swift)\n\n## DEPRECATED: this repo is no longer actively maintained. It can still be used as reference, but may contain outdated or unpatched code.\n\nThis repository contains an example application to demonstrate the [Watson Developer Cloud Swift SDK](https://github.com/watson-developer-cloud/swift-sdk). It combines the [Speech to Text](https://www.ibm.com/watson/developercloud/speech-to-text.html), [Conversation](https://www.ibm.com/watson/developercloud/conversation.html), and [Text to Speech](https://www.ibm.com/watson/developercloud/text-to-speech.html) services to build a voice-to-voice chat app.\n\n![The Simple Chat app in action](tutorial-images/simple-chat.gif)\n\n## Tutorial\n\nIf you'd prefer to learn by building this app yourself, feel free to follow along with the [tutorial](tutorial.md).\n\n## Project Setup\n\nTo run the sample playground or iOS app, be sure to clone the repository and download the Watson Developer Cloud Swift SDK dependency. The dependency will be loaded twice, once as a Git submodule (for use in the playground) and again with Carthage (for use in the iOS app).\n\n```bash\n$ git clone https://github.com/watson-developer-cloud/simple-chat-swift.git\n$ cd simple-chat-swift/simple-chat\n$ git submodule init\n$ git submodule update\n$ carthage update --platform iOS\n```\n\n## Provision Services\n\nThe sample playground and iOS app both use the Speech to Text, Conversation, and Text to Speech services. Each service must be provisioned. You will need to [sign up for a Bluemix account](https://console.ng.bluemix.net/registration/) if you do not already have one.\n\nTo provision each service:\n\n1. Open the [Bluemix services dashboard](https://console.ng.bluemix.net/dashboard/services).\n2. Select the \"Create Service\" button.\n3. Select the \"Watson\" category from the left-hand menu.\n4. Select the service to provision.\n5. Select \"Create\" to continue. (The default configuration options are fine for this tutorial.)\n\n## Credentials\n\nEach of the services you provisioned has its own username and password credentials. The playground and iOS app expect to find these credentials in a `Credentials.swift` file.\n\nStart by renaming the `Credentials.swift.example` file in your project directory to `Credentials.swift`. Then open `Credentials.swift` in Xcode. This file will record our service credentials.\n\n1. Open the [Bluemix services dashboard](https://console.ng.bluemix.net/dashboard/services).\n2. Select the service whose credentials you would like to record.\n3. Select \"Service credentials\" from the left-hand navigation menu.\n4. Select \"View credentials\".\n5. Copy the username and password into `Credentials.swift`.\n\nRepeat these steps to copy the username and password credentials for the Speech to Text, Conversation, and Text to Speech services.\n\n## Resources\n\nWatson Developer Cloud:\n- [Watson Developer Cloud](https://www.ibm.com/watson/developercloud/)\n- [Watson Developer Cloud GitHub](https://github.com/watson-developer-cloud)\n- [Watson Developer Cloud Swift SDK](https://github.com/watson-developer-cloud/swift-sdk)\n\nWatson Swift SDK:\n- [Readme](https://github.com/watson-developer-cloud/swift-sdk/blob/master/README.md)\n- [Quick Start Guide](https://github.com/watson-developer-cloud/swift-sdk/blob/master/docs/quickstart.md)\n- [Sample Apps](https://github.com/watson-developer-cloud/swift-sdk#sample-applications)\n- [Documentation](http://watson-developer-cloud.github.io/swift-sdk/)\n\nSwift@IBM:\n- [Swift@IBM Developer Center](https://developer.ibm.com/swift/)\n- [Kitura Developer Center](https://developer.ibm.com/swift/kitura/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwatson-developer-cloud%2Fsimple-chat-swift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwatson-developer-cloud%2Fsimple-chat-swift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwatson-developer-cloud%2Fsimple-chat-swift/lists"}