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.1.7.tar.gz
(12.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sie_crewai-0.1.7.tar.gz.
File metadata
- Download URL: sie_crewai-0.1.7.tar.gz
- Upload date:
- Size: 12.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6d46d2caf2bbe861431b4a0ae74497e58ed1c9f96bd99959226138750d5d3a8
|
|
| MD5 |
e2d4a468d24dc4d09450845e5c696b81
|
|
| BLAKE2b-256 |
1ca4d60d301e0ab85f3a023f27c485c4936ad93e80e95ba891df443a9e9f913e
|
File details
Details for the file sie_crewai-0.1.7-py3-none-any.whl.
File metadata
- Download URL: sie_crewai-0.1.7-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
385d682a81bb2b01931d0fda9c3b40d5971627ab31d762197df079c95d9d1808
|
|
| MD5 |
627ea1ee997953c85f7daf775cbb7f09
|
|
| BLAKE2b-256 |
308853ff11379010538ee020664d7bb23482ddbdc2196eff52ee0f09daaa4252
|