Cognixir
Elixir API Wrapper for Cognitive Services from Microsoft
Installation
If available in Hex, the package can be installed as:
-
Add
Cognixirto your list of dependencies inmix.exs:
```elixir
def deps do
[{:Cognixir, "~> 0.1.0"}]
end
```-
Ensure
Cognixiris started before your application:
```elixir
def application do
[applications: [:Cognixir]]
end
```Configuration
You need a subscription key to access the different cognitive service api. Head over to https://www.microsoft.com/cognitive-service, create an account and fetch your api key. You can get started with a free subscription.
Add to your config.exs:
# api key for text analytics
config :Cognixir, ta_api_key: "<your key>"