Closed TwistingTwists closed 7 months ago
Mix.install(
[
{:instructor, path: "your local code path /instructor_ex"}
],
config: [
instructor: [
adapter: Instructor.Adapters.Ollama
],
openai: [
api_key: System.fetch_env!("LB_OPENAI_API_KEY"),
http_options: [recv_timeout: :infinity, async: :once]
]
]
)```
Use the `Ollama` adapter for now.
closing in favour of a well done PR on the same issue - https://github.com/thmsmlr/instructor_ex/pull/15