lib/elixir_prompts/data_structures.ex
defmodule LangChain.ElixirPrompts.DataStructures do
def declare_map(map_name, map_structure) do
"
<%= map_name %> = <%= map_structure |> Jason.encode!() %>"
end
end
defmodule LangChain.ElixirPrompts.DataStructures do
def declare_map(map_name, map_structure) do
"
<%= map_name %> = <%= map_structure |> Jason.encode!() %>"
end
end