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

fix: urllib to join ollama url domain to endpoint in place of string format #327

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Kieran-Sears
Copy link

Issue: #315

DIscussion: https://forum.weaviate.io/t/vectorization-failed-404-http-host-docker-internal-11434-api-embed/7363

It was found that setting the OLLAMA_URL environment variable with a trailing forward slash resulted in the file import endpoint being unable to import files with 404 NOT FOUND for "/api/embed". This change ensures correct url formatting to fix this issue to improve developer experience.

@weaviate-git-bot
Copy link

To avoid any confusion in the future about your contribution to Weaviate, we work with a Contributor License Agreement. If you agree, you can simply add a comment to this PR that you agree with the CLA so that we can merge.

beep boop - the Weaviate bot 👋🤖

PS:
Are you already a member of the Weaviate Slack channel?

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

Successfully merging this pull request may close these issues.

2 participants