semantic-router
semantic-router copied to clipboard
Superfast AI decision making and intelligent processing of multi-modal data.
Add support for creating the signature required by function calls in ollama
Many LLMs require different formats for function calling, if we want to support these we should implement a new function call schema class with methods like `.to_openai`, `.to_ollama`, etc
openai | 1.35.13 langchain | 0.2.8 langchain-core | 0.2.19 semantic-router | 0.0.52 `from openai import OpenAI import os os.environ["OPENAI_API_KEY"] = "sk-XXXXX" from semantic_router import Route, RouteLayer from semantic_router.encoders import OpenAIEncoder...
Hi, What's the best way to interpret unchanged threshold values after optimization? I've ran into a few situations where running `route_layer.fit()` did not alter the thresholds at all. Does this...
After using semantic router for around 2 weeks and digging thru the code and the issues , i have just found that you can return multiple routes , it would...
 
I propose integrating the Semantic Router with the LangGraph agent to support multi-vector queries, enhancing search accuracy, efficiency, and scalability. This integration is detailed in my blog post, ["Transforming Search:...
# :grey_question: Context As mentionned earlier : - https://github.com/aurelio-labs/semantic-router/pull/346 A gave a try to semantic-router and got really impressive results, see [🔀 Semantic Router w. ollama/gemma2 : real life 10ms...
Hi, first of all, thank you very much for your work, which is helping me a lot. :heart: I have a question about the chunkers or splitters that I have...
I'm using `from semantic_router.llms.ollama import OllamaLLM llm = OllamaLLM(llm_name="llama3.1")` and trying to test Dynamic Routes with Multiple Functions,get `2024-07-30 15:00:23 ERROR semantic_router.utils.logger Only one function schema is allowed. ` ```File...