Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor release for BaseUrl support possible? E.g. for Ollama #32

Open
malteneuss opened this issue Jun 12, 2024 · 1 comment
Open

Minor release for BaseUrl support possible? E.g. for Ollama #32

malteneuss opened this issue Jun 12, 2024 · 1 comment
Assignees

Comments

@malteneuss
Copy link
Contributor

malteneuss commented Jun 12, 2024

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:/agrafix/openai-hs.git
   tag:      c44adfc24172a6d0bb5f291308337b8f2845d2fc
   subdir:   openai-hs

source-repository-package
   type:     git
   location: https:/agrafix/openai-hs.git
   tag:      c44adfc24172a6d0bb5f291308337b8f2845d2fc
   subdir:   openai-servant
@nickhs
Copy link
Collaborator

nickhs commented Jul 13, 2024

Great point @malteneuss, and it would also be nice to add to Stackage per #25.

@agrafix can you make me a Hackage maintainer and I'll cut a release (or you can!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants