Recent Releases of https://github.com/deepset-ai/hayhooks
https://github.com/deepset-ai/hayhooks - v1.0.1
What's Changed
- Fix CLI command for upload files managing correctly file objs by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/165
Full Changelog: https://github.com/deepset-ai/hayhooks/compare/v1.0.0...v1.0.1
- Python
Published by mpangrazzi 9 months ago
https://github.com/deepset-ai/hayhooks - v1.0.0
New features
- We have rewritten YAML support for deploying YAML-serialized Haystack agents / pipelines.
Breaking changes
- We've removed
hayhooks pipeline deploycommand, in favour ofhayhooks pipeline deploy-files(forPipelineWrapper-based deployments) andhayhooks pipeline deploy-yamlfor deploying YAML serialized pipelines.
Extra
- We made linting and type checking more consistent with Haystack's one.
- We did some iteration on improving the Docker image (reduced size)
What's Changed
- Docker image improvements by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/153
- Docker image improvements by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/154
- Raise a
PipelineWrapperErrorifrun_apiorrun_api_asynchave no return type by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/152 - chore: adopt ruff rules from Haystack and enforce them by @anakin87 in https://github.com/deepset-ai/hayhooks/pull/155
- chore: set required_variables in Prompt Builders to reduce noise in logs by @anakin87 in https://github.com/deepset-ai/hayhooks/pull/158
- ci: make mypy run on PRs + fix some types by @anakin87 in https://github.com/deepset-ai/hayhooks/pull/157
- Make mypy ignore errors in tests.* modules by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/160
- Breaking: Remove legacy
hayhooks pipeline deploy; introducehayhooks pipeline deploy-yamlto deploy YAML pipelines with required inputs/outputs fields by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/161
Full Changelog: https://github.com/deepset-ai/hayhooks/compare/v0.10.1...v1.0.0
- Python
Published by mpangrazzi 9 months ago
https://github.com/deepset-ai/hayhooks - v0.10.1
What's Changed
- chore: fix typos in README by @anakin87 in https://github.com/deepset-ai/hayhooks/pull/147
- Fix RAG example by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/148
- Force
media_typeonFormto make Swagger usemultipart/form-datacontent-type by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/149 - Add a /status endpoint to MCP server by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/150
- Refactored imports to lower import time and speedup CLI by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/151
Full Changelog: https://github.com/deepset-ai/hayhooks/compare/v0.10.0...v0.10.1
- Python
Published by mpangrazzi 10 months ago
https://github.com/deepset-ai/hayhooks - v0.10.0
Agents support
Agents are now first class citizens on Hayhooks. Check how easy is to deploy an async Agent!
Support of open-webui events
Now you can trigger some open-webui events to make UX better when deploying pipelines or agents.
Check the full code example!
Added hooks for intercepting Tool calls
We've also added hooks to intercept tool calls (so you can send events also from there!).
.
Check the full code example!
Add example index
Now you can have a better view of existing examples here.
MCP
We've added the support of Streamable HTTP transport to Hayhooks MCP Server.
What's Changed
- Add Streamable HTTP MCP transport by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/128
- feat: Read hayhooks version locally from package metadata by @vblagoje in https://github.com/deepset-ai/hayhooks/pull/127
- Better
Agentand open-webui events support by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/132 - Updated documentation for open-webui events integration by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/137
- chore: fix examples in README by @anakin87 in https://github.com/deepset-ai/hayhooks/pull/138
- Add specific README for events example by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/141
Full Changelog: https://github.com/deepset-ai/hayhooks/compare/v0.9.1...v0.10.0
- Python
Published by mpangrazzi 11 months ago
https://github.com/deepset-ai/hayhooks - v0.9.1
What's Changed
- Rename HAYHOOKSADDITIONALPYTHONPATH to HAYHOOKSADDITIONALPYTHON_PATH by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/126
- Fix request model creation and MCP execution for pipeline wrappers with only
run_api_asyncimplemented by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/125
Full Changelog: https://github.com/deepset-ai/hayhooks/compare/v0.9.0...v0.9.1
- Python
Published by mpangrazzi about 1 year ago
https://github.com/deepset-ai/hayhooks - v0.9.0
Async support for pipeline wrappers
Now you can implement run_api_async and run_chat_completion_async methods in your pipeline wrapper.
You can now also make use of async_streaming_generator if you need to stream pipeline output to from async methods.
For example:
```python from pathlib import Path from typing import AsyncGenerator, List from haystack import AsyncPipeline from haystack.dataclasses import ChatMessage from hayhooks import ( getlastusermessage, BasePipelineWrapper, asyncstreaming_generator, )
SYSTEM_MESSAGE = "You are a helpful assistant that can answer questions about the world."
class PipelineWrapper(BasePipelineWrapper): def setup(self) -> None: pipelineyaml = (Path(file).parent / "questionanswer.yml").readtext() self.pipeline = AsyncPipeline.loads(pipelineyaml)
async def run_api_async(self, question: str) -> str:
result = await self.pipeline.run_async(
{
"prompt_builder": {
"template": [
ChatMessage.from_system(SYSTEM_MESSAGE),
ChatMessage.from_user(question),
]
}
}
)
return result["llm"]["replies"][0].text
async def run_chat_completion_async(self, model: str, messages: List[dict], body: dict) -> AsyncGenerator:
question = get_last_user_message(messages)
return async_streaming_generator(
pipeline=self.pipeline,
pipeline_run_args={
"prompt_builder": {
"template": [
ChatMessage.from_system(SYSTEM_MESSAGE),
ChatMessage.from_user(question),
]
},
},
)
```
Full example is available here.
What's Changed
- Better example video resolution on Hayhooks Core MCP Tools docs by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/121
- Add support for async pipeline wrapper methods by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/122
Full Changelog: https://github.com/deepset-ai/hayhooks/compare/v0.8.0...v0.9.0
- Python
Published by mpangrazzi about 1 year ago
https://github.com/deepset-ai/hayhooks - v0.8.0
Hayhooks Core MCP Tools
Added Hayhooks Core MCP Tools - Now you can control Hayhooks from Cursor! Here's the list:
get_all_pipeline_statuses(Get the status of all pipelines and list available pipeline names.)get_pipeline_status(Get status of a specific pipeline)undeploy_pipeline(Undeploy a pipeline. Removes a pipeline from the registry, its API routes, and deletes its files)deploy_pipeline(Deploy a pipeline from files (pipeline_wrapper.py and other files))
What's Changed
- Add reference to updated Docker/k8s deployment pages on README by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/108
- Add info about using MCP server with Claude Desktop by @bilgeyucel in https://github.com/deepset-ai/hayhooks/pull/111
- Improve
run_apidynamic schema creation by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/110 - Improve
make_requestandget_server_urlby @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/114 - Fix
pipelines_dirdefault path by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/117 - Core Hayhooks MCP Tools by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/115
- Make
get_package_version_from_pypito fail faster if no internet connection is available by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/118 - Docs for Hayhooks MCP Core Tools by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/120
Full Changelog: https://github.com/deepset-ai/hayhooks/compare/v0.7.0...v0.8.0
- Python
Published by mpangrazzi about 1 year ago
https://github.com/deepset-ai/hayhooks - v0.7.0
What's Changed
Improved OpenAPI doc improvements - Hayhooks can now be used as an OpenAPI Tool Server in open-webui.
Example: deploy a Haystack pipeline on Hayhooks from a chat message (!):
Improved docs for using Hayhooks with shared code between different pipeline wrappers. Full example available here.
- Remove warnings.warn in favour of log.warning by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/101
- Improve app and models metadata by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/102
- README update by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/106
Full Changelog: https://github.com/deepset-ai/hayhooks/compare/v0.6.0...v0.7.0
- Python
Published by mpangrazzi about 1 year ago
https://github.com/deepset-ai/hayhooks - v0.6.0
What's Changed
- Add ability to act as a MCP Sever listing deployed pipeline as MCP Tools by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/94
Full Changelog: https://github.com/deepset-ai/hayhooks/compare/v0.5.0...v0.6.0
- Python
Published by mpangrazzi about 1 year ago
https://github.com/deepset-ai/hayhooks - v0.5.0
What's Changed
- Support file uploads by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/90
Full Changelog: https://github.com/deepset-ai/hayhooks/compare/v0.4.0...v0.5.0
- Python
Published by mpangrazzi about 1 year ago
https://github.com/deepset-ai/hayhooks - v0.4.0
What's Changed
- Update README adding docker compose quickstart ; Fix some TOC links by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/88
- Fix undeploy by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/89
Full Changelog: https://github.com/deepset-ai/hayhooks/compare/v0.3.0...v0.4.0
- Python
Published by mpangrazzi over 1 year ago
https://github.com/deepset-ai/hayhooks - v0.3.0
What's Changed
- Deploying an updated pipeline with
overwriteoption should also run updated code by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/85 - Make additionalpythonpath setting work also settings related env var by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/86
- Remove pandas reference and pin haystack-ai to >=2.11.0 by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/87
Full Changelog: https://github.com/deepset-ai/hayhooks/compare/v0.2.0...v0.3.0
- Python
Published by mpangrazzi over 1 year ago
https://github.com/deepset-ai/hayhooks - v0.2.0
What's Changed
- Add configurable CORS support by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/80
- Move CORS validation at app instance creation time by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/83
- Updated and corrected documentation for using Hayhooks as
open-webuibackend by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/84
Full Changelog: https://github.com/deepset-ai/hayhooks/compare/v0.1.2...v0.2.0
- Python
Published by mpangrazzi over 1 year ago
https://github.com/deepset-ai/hayhooks - v0.1.2
What's Changed
- Update TOC in README by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/74
- Run hayhooks programmatically by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/77
- Support 'overwrite' and 'skip-saving-files' options on pipeline deploy by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/78
Full Changelog: https://github.com/deepset-ai/hayhooks/compare/v0.1.1...v0.1.2
- Python
Published by mpangrazzi over 1 year ago
https://github.com/deepset-ai/hayhooks - v0.1.1
What's Changed
- Cleaner imports when implementing a BasePipelineWrapper by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/73
Full Changelog: https://github.com/deepset-ai/hayhooks/compare/v0.1.0...v0.1.1
- Python
Published by mpangrazzi over 1 year ago
https://github.com/deepset-ai/hayhooks - v0.1.0
What's Changed
- Add missing tests for some endpoints before route refactoring by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/52
- Refactored API route handlers using APIRouter(s) by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/55
- Better app settings management by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/56
- New pipeline deployment system by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/58
- Fix docker workflow by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/59
- Add OpenAI compatibilty by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/60
- Fix /run dynamic route params by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/62
- Remove app creation at module level + refactoring by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/63
- Improved CLI by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/64
- Support for
HAYHOOKSenv var prefix by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/65 - Correctly use cwd for loading .env file by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/67
- Add support for short and long option names by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/68
- Update README by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/66
- Show tracebacks by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/71
- fix: Final stop
ChatCompletionchunk needs to have a choice with delta by @vblagoje in https://github.com/deepset-ai/hayhooks/pull/69 - Note about missing required dependencies by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/72
New Contributors
- @vblagoje made their first contribution in https://github.com/deepset-ai/hayhooks/pull/69
Full Changelog: https://github.com/deepset-ai/hayhooks/compare/v0.0.19...v0.1.0
- Python
Published by mpangrazzi over 1 year ago
https://github.com/deepset-ai/hayhooks - v0.0.19
What's Changed
- Fix Python version requirement to >=3.7,<3.13 by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/45
- Draft deployment guidelines by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/46
- fix recursion error when handling unsupported types by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/44
- Better exceptions handling during pipeline deployment by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/48
- Add basic action to run current tests by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/49
- Add tests badge on README by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/50
Full Changelog: https://github.com/deepset-ai/hayhooks/compare/v0.0.18...v0.0.19
- Python
Published by mpangrazzi over 1 year ago
https://github.com/deepset-ai/hayhooks - v0.0.18
What's Changed
- deploy_utils.py w async execution support by @alex-stoica in https://github.com/deepset-ai/hayhooks/pull/27
- Handle Callable-like types in getrequestmodel (eg streaming_callback) + Fix component output serialization by @mpangrazzi in https://github.com/deepset-ai/hayhooks/pull/41
New Contributors
- @mpangrazzi made their first contribution in https://github.com/deepset-ai/hayhooks/pull/41
Full Changelog: https://github.com/deepset-ai/hayhooks/compare/v0.0.17...v0.0.18
- Python
Published by mpangrazzi over 1 year ago
https://github.com/deepset-ai/hayhooks - v0.0.16
What's Changed
- Renamed custom-components to custom_components by @alex-stoica in https://github.com/deepset-ai/hayhooks/pull/29
- docs: fix table of contents by @virtualroot in https://github.com/deepset-ai/hayhooks/pull/30
- ci: only run under deepset-ai GitHub org by @virtualroot in https://github.com/deepset-ai/hayhooks/pull/33
- convert union type with none to optional by @Rusteam in https://github.com/deepset-ai/hayhooks/pull/31
New Contributors
- @alex-stoica made their first contribution in https://github.com/deepset-ai/hayhooks/pull/29
- @virtualroot made their first contribution in https://github.com/deepset-ai/hayhooks/pull/30
Full Changelog: https://github.com/deepset-ai/hayhooks/compare/v0.0.15...v0.0.16
- Python
Published by silvanocerza almost 2 years ago
https://github.com/deepset-ai/hayhooks - v0.0.15
What's Changed
- add fastapi method tags by @Rusteam in https://github.com/deepset-ai/hayhooks/pull/21
Full Changelog: https://github.com/deepset-ai/hayhooks/compare/v0.0.14...v0.0.15
- Python
Published by silvanocerza almost 2 years ago
https://github.com/deepset-ai/hayhooks - v0.0.14
What's Changed
- Disable ssl verification by @Rusteam in https://github.com/deepset-ai/hayhooks/pull/20
New Contributors
- @Rusteam made their first contribution in https://github.com/deepset-ai/hayhooks/pull/20
Full Changelog: https://github.com/deepset-ai/hayhooks/compare/v0.0.13...v0.0.14
- Python
Published by masci about 2 years ago
https://github.com/deepset-ai/hayhooks - v0.0.13
What's Changed
- Enhance the response of '/' endpoint by @srini047 in https://github.com/deepset-ai/hayhooks/pull/10
- Fixed JSON Schema Serialization for Components by @tellmewyatt in https://github.com/deepset-ai/hayhooks/pull/7
New Contributors
- @srini047 made their first contribution in https://github.com/deepset-ai/hayhooks/pull/10
Full Changelog: https://github.com/deepset-ai/hayhooks/compare/v0.0.12...v0.0.13
- Python
Published by silvanocerza about 2 years ago
https://github.com/deepset-ai/hayhooks - v0.0.11
What's Changed
- Removed unneeded 'await' causing error on hayhooks deploy by @tellmewyatt in https://github.com/deepset-ai/hayhooks/pull/6
New Contributors
- @tellmewyatt made their first contribution in https://github.com/deepset-ai/hayhooks/pull/6
Full Changelog: https://github.com/deepset-ai/hayhooks/compare/v0.0.10...v0.0.11
- Python
Published by masci about 2 years ago