Skip to main content

SIE integration for CrewAI

Project description

sie-crewai

SIE integration for CrewAI.

Installation

pip install sie-crewai

Usage

Embeddings (via OpenAI-compatible API)

SIE provides an OpenAI-compatible /v1/embeddings endpoint, so you can use it directly with CrewAI's OpenAI provider:

from crewai import Crew, Agent, Task

crew = Crew(
    agents=[...],
    tasks=[...],
    memory=True,
    embedder={
        "provider": "openai",
        "config": {
            "model": "BAAI/bge-m3",
            "api_base": "http://localhost:8080/v1",
            "api_key": "not-needed",  # SIE doesn't require API key
        }
    }
)

Reranker Tool

Use SIERerankerTool to rerank documents in agent workflows:

from sie_crewai import SIERerankerTool

reranker = SIERerankerTool(
    base_url="http://localhost:8080",
    model="jinaai/jina-reranker-v2-base-multilingual",
)

agent = Agent(
    role="Research Analyst",
    tools=[reranker],
    ...
)

Extractor Tool

Use SIEExtractorTool to extract entities from text:

from sie_crewai import SIEExtractorTool

extractor = SIEExtractorTool(
    base_url="http://localhost:8080",
    model="urchade/gliner_multi-v2.1",
    labels=["person", "organization", "location"],
)

agent = Agent(
    role="Information Extractor",
    tools=[extractor],
    ...
)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sie_crewai-0.6.7.tar.gz (12.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sie_crewai-0.6.7-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file sie_crewai-0.6.7.tar.gz.

File metadata

  • Download URL: sie_crewai-0.6.7.tar.gz
  • Upload date:
  • Size: 12.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for sie_crewai-0.6.7.tar.gz
Algorithm Hash digest
SHA256 bf430f5c9405702bfa6ccb955867eac9f5ec14c5e4b90390bbbacd1d67dae7a5
MD5 2825db26360c868cb9de418125252c19
BLAKE2b-256 4ace88c3d4099bca8c5b6a02c4a0068dcd6294209e659d4a9a4f419cb6f4ef0a

See more details on using hashes here.

Provenance

The following attestation bundles were made for sie_crewai-0.6.7.tar.gz:

Publisher: release-python.yml on superlinked/sie-internal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sie_crewai-0.6.7-py3-none-any.whl.

File metadata

  • Download URL: sie_crewai-0.6.7-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for sie_crewai-0.6.7-py3-none-any.whl
Algorithm Hash digest
SHA256 4404238a86febd3bda4a9803ffb4d9ca9d56c13c07a6416f8fa2561e7b7be1b3
MD5 34e8c4fb3124e89efe3522c2f344d6f7
BLAKE2b-256 0c5abd9c7c728b6e3d8391f2c9a1258013ec98f6dcbfe8bbaa76be410951052a

See more details on using hashes here.

Provenance

The following attestation bundles were made for sie_crewai-0.6.7-py3-none-any.whl:

Publisher: release-python.yml on superlinked/sie-internal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page