Fix Ollama model name to use llama3:latest instead of llama3:8b
- Changed model from 'llama3:8b' to 'llama3:latest' to match available models - Verified Ollama integration is working correctly - AI detection now successfully identifies speakers in unmarked text
This commit is contained in:
@@ -28,7 +28,7 @@ class OllamaService:
|
|||||||
or http://localhost:11434 if not set.
|
or http://localhost:11434 if not set.
|
||||||
"""
|
"""
|
||||||
self.base_url = base_url or os.getenv("OLLAMA_BASE_URL", "http://localhost:11434")
|
self.base_url = base_url or os.getenv("OLLAMA_BASE_URL", "http://localhost:11434")
|
||||||
self.model = "llama3:8b"
|
self.model = "llama3:latest" # Using llama3:latest (8B model)
|
||||||
self.timeout = 30.0 # 30 seconds timeout
|
self.timeout = 30.0 # 30 seconds timeout
|
||||||
|
|
||||||
async def detect_speakers(self, text: str) -> List[str]:
|
async def detect_speakers(self, text: str) -> List[str]:
|
||||||
|
|||||||
Reference in New Issue
Block a user