Packages

Rasa is an open source machine learning framework to automate text-and voice-based conversations. https://github.com/RasaHQ/rasa This library provides tools to communicate and control a Rasa application from Elixir.

Current section

Files

Jump to
rasa_sdk lib rasa_sdk model slot_description.ex
Raw

lib/rasa_sdk/model/slot_description.ex

defmodule RasaSdk.Model.SlotDescription do
@moduledoc """
"""
@derive [Poison.Encoder]
defstruct [
:auto_fill,
:initial_value,
:type,
:values
]
@type t :: %__MODULE__{
auto_fill: boolean(),
initial_value: String.t | nil,
type: String.t,
values: [String.t] | nil
}
end
defimpl Poison.Decoder, for: RasaSdk.Model.SlotDescription do
def decode(value, _options) do
value
end
end