Mixture of Agents
functionButton that allows for the collective strengths of multiple models to be leveraged in a layered, iterative process, potentially leading to higher quality responses.
mixture_of_agents.py
Python · 246 lines23 class Valves(BaseModel):24 models: List[str] = Field(25 default=["llama3", "mixtral"],26 description="List of models to use in the MoA architecture."27 )28 aggregator_model: str = Field(29 default="mixtral",30 description="Model to use for aggregation tasks."31 )32 openai_api_base: str = Field(33 default="http://localhost:11434/v1/api",34 description="Base URL for Ollama API compatible with OpenWebUI 0.5+" Button that allows for the collective strengths of multiple models to be leveraged in a layered, iterative process, potentially leading to higher quality responses.
0
0 
