semantic-router icon indicating copy to clipboard operation
semantic-router copied to clipboard

Superfast AI decision making and intelligent processing of multi-modal data.

Results 98 semantic-router issues
Sort by recently updated
recently updated
newest added

Seeing this error: ``` BadRequestError Traceback (most recent call last) [/usr/local/lib/python3.10/dist-packages/semantic_router/encoders/openai.py](https://localhost:8080/#) in __call__(self, docs) 56 try: ---> 57 embeds = self.client.embeddings.create( 58 input=docs, 7 frames BadRequestError: Error code: 400 -...

Feature request, detecting and returning multiple routes and giving each a score.

feature

Update file name in Azure Encoder from "zure" to "azure" for improved code readability.

## Versions - Python: 3.12.1 - Semantic Router: 0.0.32 ## Error: `ROUTE_LAYER = RouteLayer.from_json(ROUTE_LOCATION) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/venv/lib/python3.12/site-packages/semantic_router/layer.py", line 311, in from_json encoder = Encoder(type=config.encoder_type, name=config.encoder_name).model ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/venv/lib/python3.12/site-packages/pydantic/v1/dataclasses.py", line 329,...

HybridRouteLayer lacks built-in functionalities such as fit or evaluate. How can this limitation be addressed?

enhancement

The `Route` object still uses pydantic V1. Are there plans to migrate to V2? Out of curiosity, is there a reason why `Route` was based on pydantic V1 and not...

enhancement

Hi, I wanted to use Ollama as my local LLM, but I'm hosting it in a different docker container than my app. When I try to connect to Ollama from...

I'm following `05-local-execution.ipynb` tutorial and got this error while executing dynamic routing `out = rl("what's the time in Rome right now?")`. Any ideas how to solve this? ``` TypeError Traceback...