Tore Pettersen

Results 7 comments of Tore Pettersen

It seems like it might be impossible to handle this in the same manner in a functional language like Elm. Elm functions always have to return a type that you...

Very nice :blush: Would you be interesetd in contributions? And in that case have you made yourself some thoughts around how to add descriptions? I guess it would be possible...

I [made a fork](https://github.com/torepettersen/drops/blob/main/test/drops/json_schema_test.exs) where I started to add the functionality. Feel free to ping me when the core functionality is stable enough for me to open PR's. You could...

Sorry, didn't realice I could just use: ```elixir %{ required(:some_enum) => type(:any, in?: ["some_string", 1, :some_atom]) } ```

Thanks, I made a basic test and seems to work. ```elixir iex> llm = LangChain.ChatModels.ChatOpenAI.new!(%{endpoint: "https://api.groq.com/openai/v1/chat/completions", model: "llama3-70b-8192", api_key: key}) iex> LLMChain.new!(%{llm: llm}) |> LLMChain.add_message(Message.new_user!("Hello!")) |> LLMChain.run() %LangChain.Message{ content: "Hello!...

Yes, I have now tried with Epiphany and it also works there.

I now also managed to reproduce the bug in Epiphany. Seems like I mangage to make it run in Epiphany and with `pnpm taruri dev` if I open the app...