GitHub Raw JSON API

deepset-ai / haystack

26,189 Python

Open-source AI orchestration framework for building context-engineered, production-ready LLM applications. Design modular pipelines and agent workflows with explicit control over retrieval, routing, memory, and generation. Built for scalable agents, RAG, multimodal applications, semantic search, and conversational systems.

haystack Specification

Located in releasenotes/notes/add-openapi-connector-ebaa97cfa95b6c3e.yaml on branch HEAD

Unknown YAML 0.7 KB
Raw YAML Specification
---
features:
  - |
    Introduced the OpenAPIConnector component, enabling direct invocation of REST endpoints as specified in an OpenAPI specification.
    This component is designed for direct REST endpoint invocation without LLM-generated payloads, users needs
    to pass the run parameters explicitly.

    Example:
    ```python
    from haystack.utils import Secret
    from haystack.components.connectors.openapi import OpenAPIConnector

    connector = OpenAPIConnector(
        openapi_spec="https://bit.ly/serperdev_openapi",
        credentials=Secret.from_env_var("SERPERDEV_API_KEY"),
    )
    response = connector.run(
        operation_id="search",
        parameters={"q": "Who was Nikola Tesla?"}
    )
    ```