Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/aurelio-labs/semantic-router. Pull mirroring updated .
  1. Feb 23, 2024
  2. Feb 22, 2024
  3. Feb 21, 2024
    • Siraj R Aizlewood's avatar
      Linting · b38a0b75
      Siraj R Aizlewood authored
      b38a0b75
    • Siraj R Aizlewood's avatar
      OllamaLLM Updates · d4d29a45
      Siraj R Aizlewood authored
      Ensured that we have default values for attributes name, temperature, llm_name, max_tokens and stream.
      
      User can choose to alter the values that are actually used on the fly via new optional arguments in  __call__.
      
      Also _call_ changed to __call__, in line with other LLMs.
      
      Previously self.name was being used to identify the LLM to be called, but self.name is intended to identify the OllamaLLM instance as an instance of OllamaLLM. So it's now set to "ollama".
      d4d29a45
  4. Feb 19, 2024
    • CP500's avatar
      Create ollama.py · fa8c372b
      CP500 authored
      Adding Ollama support.
      
      Howto use:
      
      from ollama import OllamaLLM
      rl = RouteLayer(encoder = encoder, routes=routes, llm=llm)
      fa8c372b
Loading