Skip to content
This repository has been archived by the owner on Sep 2, 2020. It is now read-only.

Commit

Permalink
- updated readme
Browse files Browse the repository at this point in the history
- updated pod version
  • Loading branch information
hactar committed Jun 19, 2017
1 parent a8c0101 commit 5aadc74
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The SDK can capture intents and entities from:

Add the following dependency to your Podfile:
```ruby
pod 'Wit', '~> 4.2.0'
pod 'Wit', '~> 4.2.1'
```

And then run the following command in your project home directory:
Expand Down Expand Up @@ -84,7 +84,9 @@ Sends an NSString to wit.ai for interpretation. Will call delegate methods for e


##### Recording audio
**The audio part of the API currently only supports the legacy GET /message API. If you are using stories (POST /converse) then this will not work, use ConverseString instead.
If you provide a WitSession to the WitMicButton.session then Wit-iOS-SDK will use the /converse endpoint (stories), else the /message endpoint will be used

Make sure to set Wit's speechRecognitionLocale to the same language as your Wit model. The default value is en-US (American English)

```objc
Starts a new recording session. [self.delegate witDidGraspIntent:] will be called once completed.
Expand Down
4 changes: 2 additions & 2 deletions Wit.podspec
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
Pod::Spec.new do |s|
s.name = "Wit"
s.version = "4.2.0"
s.version = "4.2.1"
s.summary = "Wit.AI Official SDK"
s.description = <<-DESC
Official Wit SDK, https://wit.ai/docs/ios-tutorial/
DESC
s.homepage = "https://github.com/wit-ai/wit-ios-sdk"
s.author = { "Willy Blandin" => "willy@wit.ai" }
s.source = { :git => "https://github.com/wit-ai/wit-ios-sdk.git", :tag => "4.2.0" }
s.source = { :git => "https://github.com/wit-ai/wit-ios-sdk.git", :tag => "4.2.1" }

s.platform = :ios, '7.0'
s.ios.deployment_target = "7.0"
Expand Down
1 change: 0 additions & 1 deletion Wit/Wit.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
https://developer.apple.com/documentation/speech/sfspeechrecognizer/1649889-supportedlocales
Note that this locale must match the language of your wit model.
The default value is @"en_US"
*/
@property (nonatomic, copy) NSString *speechRecognitionLocale;

Expand Down

0 comments on commit 5aadc74

Please sign in to comment.