mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-12-29 00:06:19 +01:00
36cbffcc5e
* Initial re-implementation of semantic search * put docker-compose back and make reindex match docs * remove debug code and fix import * fix docs * manually build pysqlite3 as binaries are only available for x86-64 * update comment in build_pysqlite3.sh * only embed objects * better error handling when genai fails * ask ollama to pull requested model at startup * update ollama docs * address some PR review comments * fix lint * use IPC to write description, update docs for reindex * remove gemini-pro-vision from docs as it will be unavailable soon * fix OpenAI doc available models * fix api error in gemini and metadata for embeddings
15 lines
296 B
Python
Executable File
15 lines
296 B
Python
Executable File
#!/usr/bin/python3
|
|
# -*- coding: utf-8 -*-s
|
|
__import__("pysqlite3")
|
|
|
|
import re
|
|
import sys
|
|
|
|
sys.modules["sqlite3"] = sys.modules.pop("pysqlite3")
|
|
|
|
from chromadb.cli.cli import app
|
|
|
|
if __name__ == "__main__":
|
|
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
|
|
sys.exit(app())
|