Files
pipecat/src/dailyai/services/ollama_ai_services.py
2024-03-11 16:52:41 -04:00

8 lines
275 B
Python

from dailyai.services.openai_api_llm_service import BaseOpenAILLMService
class OLLamaLLMService(BaseOpenAILLMService):
def __init__(self, model="llama2", base_url="http://localhost:11434/v1"):
super().__init__(model=model, base_url=base_url, api_key="ollama")