Current collected state Current
Observed since 20 Oct, 18:43 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
acty-openai
OpenAI executor for acty
acty-openai provides an OpenAIExecutor implementation for Acty. It adapts
langchain-openai chat models to the Acty executor interface and emits the
shared telemetry attributes used across the wider Acty stack.
pip install acty-openai
For local development:
pip install -e .[dev]
import asyncio
from acty import ActyEngine, EngineConfig
from acty_openai import OpenAIExecutor
from langchain_openai import ChatOpenAI
async def main() -> None:
model = ChatOpenAI(model="gpt-4o-mini")
engine = ActyEngine(
executor=OpenAIExecutor(model=model),
config=EngineConfig(primer_workers=1, follower_workers=1),
)
try:
payload = {
"messages": [{"role": "user", "content": "hello"}],
}
submission = await engine.submit_group("demo", payload, [])
if submission.primer is not None:
result = await submission.primer
print(result.output)
finally:
await engine.close()
asyncio.run(main())
OpenAIExecutor requires langchain-openaiacty and acty-core because it imports both at runtimetests/Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
acty-coreEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.12",
"evaluation": "NOT_EVALUATED"
} | acty-core<0.2.0,>=0.1.0 | runtime |
actyEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.12",
"evaluation": "NOT_EVALUATED"
} | acty<0.2.0,>=0.1.0 | runtime |
langchain-openaiEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.12",
"evaluation": "NOT_EVALUATED"
} | langchain-openai>=0.2.0 | runtime |
buildEnvironment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.12",
"evaluation": "NOT_EVALUATED"
} | build>=1.2.2; extra == "dev" | runtime |
opentelemetry-sdkEnvironment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.12",
"evaluation": "NOT_EVALUATED"
} | opentelemetry-sdk>=1.39.0; extra == "dev" | runtime |
pytest-asyncioEnvironment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.12",
"evaluation": "NOT_EVALUATED"
} | pytest-asyncio>=1.3.0; extra == "dev" | runtime |
pytestEnvironment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.12",
"evaluation": "NOT_EVALUATED"
} | pytest>=9.0.0; extra == "dev" | runtime |
twineEnvironment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.12",
"evaluation": "NOT_EVALUATED"
} | twine>=5.1.1; extra == "dev" | runtime |
bdist_wheel · 6.79 KB · Python py3
sdist · 7.39 KB · Python source
Observed since 20 Oct, 18:43 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:2cef29e10d3b426a4f7ea7e51649e7d8cf51ba67ab69caa52000ba5680b1ec2e