chat with pdf
1.0.0
Aplicación sencilla que utiliza Python y Streamlit mediante la API OpenAI. ¡Sube cualquier archivo pdf y haz preguntas al respecto! También admite escaneos de imágenes.
Con historial y preguntas generadas automáticamente.
Asegúrate de tener python y pip instalados
git clone https://github.com/pratikkalein/chat-with-pdf
python3 -m venv venv
source /venv/bin/activate
pip install -r requirements.txt
OPEN_AI_API_KEY=yourapikey
streamlit run app.py
gcloud builds submit --tag gcr.io/gcp-project-id/chat-with-pdf --project=gcp-project-id
Antes de ejecutar el comando, asegúrese de agregar su secreto al Administrador de secretos. Sintaxis para --update-secrets
--update-secretes=ENV_VAR_NAME=SECRET_NAME:VERSION
gcloud run deploy chat-with-pdf --image gcr.io/gcp-project-id/chat-with-pdf --platform managed --project=gcp-project-id --allow-unauthenticated --region=asia-south1 --max-instances=2 --update-secrets=OPENAI_API_KEY=openai:1
Si desea modificar su implementación, puede consultar la documentación aquí.