Skip to content

fix: change ollama output name to 'meta'#670

Merged
anakin87 merged 2 commits intodeepset-ai:mainfrom
Rusteam:fix-ollama-meta
Apr 18, 2024
Merged

fix: change ollama output name to 'meta'#670
anakin87 merged 2 commits intodeepset-ai:mainfrom
Rusteam:fix-ollama-meta

Conversation

@Rusteam
Copy link
Copy Markdown
Contributor

@Rusteam Rusteam commented Apr 18, 2024

Currently it fails with hayhooks with:

llm-rest-api   | pydantic_core._pydantic_core.ValidationError: 1 validation error for Pipe_ragRunResponse
llm-rest-api   | llm.metadata
llm-rest-api   |   Field required [type=missing, input_value={'replies': ['\nTo answer..._duration': 844273000}]}, input_type=dict]
llm-rest-api   |     For further information visit https://errors.pydantic.dev/2.6/v/missing

because in output types it mentions metadata not meta. This fixed it

@Rusteam Rusteam requested a review from a team as a code owner April 18, 2024 10:24
@Rusteam Rusteam requested review from davidsbatista and removed request for a team April 18, 2024 10:24
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 18, 2024

CLA assistant check
All committers have signed the CLA.

@anakin87
Copy link
Copy Markdown
Member

@Rusteam thanks for this fix!

I'll merge this PR as soon as the CLA is signed.

@Rusteam
Copy link
Copy Markdown
Contributor Author

Rusteam commented Apr 18, 2024

singed the CLA, although I felt it requires too many permissions

@anakin87 anakin87 merged commit 61bdcd6 into deepset-ai:main Apr 18, 2024
@anakin87
Copy link
Copy Markdown
Member

Thanks. Released a new version: https://pypi.org/project/ollama-haystack/0.0.6/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants