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

Merged
merged 1 commit into from
Dec 6, 2024

Conversation

Kieran-Sears
Copy link
Contributor

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?

@Kieran-Sears
Copy link
Contributor Author

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?

I agree to the Contributor License Agreement.

@thomashacker
Copy link
Collaborator

Great catch, thanks a lot for the PR 🚀 I'll look into it!

@thomashacker thomashacker changed the base branch from main to dev December 6, 2024 15:13
Copy link
Collaborator

@thomashacker thomashacker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks!

@thomashacker thomashacker merged commit e4c29d7 into weaviate:dev Dec 6, 2024
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.

3 participants