GitHub - mobarski/ask-my-pdf: Question answering system for PDF files
Extracto
Question answering system for PDF files. Contribute to mobarski/ask-my-pdf development by creating an account on GitHub.
Contenido
Ask my PDF
Thank you for your interest in my application. Please be aware that this is only a Proof of Concept system and may contain bugs or unfinished features. If you like this app you can
Ask my PDF - Question answering system built on top of GPT3
-
Precise Zero-Shot Dense Retrieval without Relevance Labels aka HyDE (Hypothetical Document Embeddings)
Diagrams: high-level documentation
RALM + HyDE
RALM + HyDE + context
Environment variables used for configuration
General configuration:
-
STORAGE_SALT - cryptograpic salt used when deriving user/folder name and encryption key from API key, hexadecimal notation, 2-16 characters
-
STORAGE_MODE - index storage mode: S3, LOCAL, DICT (default)
-
STATS_MODE - usage stats storage mode: REDIS, DICT (default)
-
FEEDBACK_MODE - user feedback storage mode: REDIS, NONE (default)
Local filesystem storage configuration:
- STORAGE_PATH - directory path for index storage
S3 based storage configuration:
-
S3_REGION - region code
-
S3_BUCKET - bucket name
-
S3_SECRET - secret key
-
S3_KEY - access key
-
S3_URL - URL
-
S3_PREFIX - object name prefix
Redis configuration (for persistent usage statistics / user feedback):
- REDIS_URL - Redis DB URL (redis[s]://:password@host:port/[db])
Fuente: GitHub

