Minor release for BaseUrl support possible? E.g. for Ollama
I would like to try out the OpenAI api on a self-hosted Ollama instance, which tries to follow the api. Unfortunately, the latest Hackage release doesn't yet include the ability to provide a custom "BaseUrl".
Would a minor release bump possible? Ideally with Haddock support to make the documentation easier to browse. If it works, i could add a section to the Readme or documentation about Ollama and/or self-hosting.
For everyone else, in the mean time we can use the raw git repository with cabal.project as described in the Cabal docs:
packages: <myproject>.cabal
source-repository-package
type: git
location: https://github.com/agrafix/openai-hs.git
tag: c44adfc24172a6d0bb5f291308337b8f2845d2fc
subdir: openai-hs
source-repository-package
type: git
location: https://github.com/agrafix/openai-hs.git
tag: c44adfc24172a6d0bb5f291308337b8f2845d2fc
subdir: openai-servant
Great point @malteneuss, and it would also be nice to add to Stackage per https://github.com/agrafix/openai-hs/issues/25.
@agrafix can you make me a Hackage maintainer and I'll cut a release (or you can!)
any progress here?
The whole Github account seems mostly abandoned. I suggest taking a look at https://hackage.haskell.org/package/openai by Gabriella Gonzales.