MCPcopy Create free account
hub / github.com/PromtEngineer/localGPT / __init__

Method __init__

backend/simple_pdf_processor.py:14–18  ·  view source on GitHub ↗

Initialize simple PDF processor with SQLite storage

(self, db_path: str = "chat_data.db")

Source from the content-addressed store, hash-verified

12
13class SimplePDFProcessor:
14 def __init__(self, db_path: str = "chat_data.db"):
15 """Initialize simple PDF processor with SQLite storage"""
16 self.db_path = db_path
17 self.init_database()
18 print("✅ Simple PDF processor initialized")
19
20 def init_database(self):
21 """Initialize SQLite database for storing PDF content"""

Callers

nothing calls this directly

Calls 1

init_databaseMethod · 0.95

Tested by

no test coverage detected