This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Based of the sample provided https://www.ibm.com/think/tutorials/build-document-question-answering-system-with-docling-and-granite | |
# Required imports | |
import os | |
import tempfile | |
import shutil | |
import logging | |
logging.basicConfig( | |
format='%(asctime)s %(levelname)-8s %(message)s', | |
level=logging.INFO, | |
datefmt='%Y-%m-%d %H:%M:%S') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global-policy: 1.0.0 | |
info: | |
title: Filter-IP | |
name: filterip | |
version: 1.0.0 | |
description: Only allow specific IPs through | |
contact: | |
name: Chris Phillips & Amit Kumar Singh | |
email: [email protected] | |
mode: before-builtin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sample Swagger | |
swagger: '2.0' | |
info: | |
x-ibm-name: watson-personality-insights-demo | |
title: Watson-Personality-Insights-demo | |
version: 1.0.0 | |
schemes: | |
- https | |
host: $(catalog.host) |