Skip to content

feat: adds support for the Unify AI#412

Closed
Kacper-W-Kozdon wants to merge 53 commits into
aurelio-labs:mainfrom
Kacper-W-Kozdon:main-semantic-router
Closed

feat: adds support for the Unify AI#412
Kacper-W-Kozdon wants to merge 53 commits into
aurelio-labs:mainfrom
Kacper-W-Kozdon:main-semantic-router

Conversation

@Kacper-W-Kozdon

Copy link
Copy Markdown

Adds support for the multi-endpoint clients Unify and AsyncUnify of the unify library.

Code preview:

import unify
from semantic_router.llms.unify import UnifyLLM
from semantic_router.schema import Message

endpoints = unify.list_endpoints(api_key="unify-api-key")
messages = [Message(role="user", content="Hello!")]
responses = []

for endpoint in endpoints:
    unify_llm_client = UnifyLLM(unify_api_key="unify-api-key", name=endpoint)
    output = unify_llm_client(messages=messages)
    responses.append(output) 

@jamescalam

Copy link
Copy Markdown
Member

stale - open to updates to align this to latest API

@jamescalam jamescalam closed this Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants