@@ -1157,7 +1157,7 @@ Definition of a schema object.
11571157 `Schema` object is used in a validation workflow.
11581158
11591159
1160- DraftValidation(data: 'FrameT | Any', model: 'str', api_key: 'str | None' = None) -> None
1160+ DraftValidation(data: 'FrameT | Any', model: 'str', api_key: 'str | None' = None, verify_ssl: 'bool' = True ) -> None
11611161
11621162 Draft a validation plan for a given table using an LLM.
11631163
@@ -1180,10 +1180,15 @@ DraftValidation(data: 'FrameT | Any', model: 'str', api_key: 'str | None' = None
11801180 The data to be used for drafting a validation plan.
11811181 model
11821182 The model to be used. This should be in the form of `provider:model` (e.g.,
1183- `"anthropic:claude-3-5- sonnet-latest "`). Supported providers are `"anthropic"`, `"openai"`,
1183+ `"anthropic:claude-sonnet-4-5 "`). Supported providers are `"anthropic"`, `"openai"`,
11841184 `"ollama"`, and `"bedrock"`.
11851185 api_key
11861186 The API key to be used for the model.
1187+ verify_ssl
1188+ Whether to verify SSL certificates when making requests to the LLM provider. Set to `False`
1189+ to disable SSL verification (e.g., when behind a corporate firewall with self-signed
1190+ certificates). Defaults to `True`. Use with caution as disabling SSL verification can pose
1191+ security risks.
11871192
11881193 Returns
11891194 -------
@@ -1225,6 +1230,33 @@ DraftValidation(data: 'FrameT | Any', model: 'str', api_key: 'str | None' = None
12251230 There's no need to have the `python-dotenv` package installed when using `.env` files in this
12261231 way.
12271232
1233+ Notes on SSL Certificate Verification
1234+ --------------------------------------
1235+ By default, SSL certificate verification is enabled for all requests to LLM providers. However,
1236+ in certain network environments (such as corporate networks with self-signed certificates or
1237+ firewall proxies), you may encounter SSL certificate verification errors.
1238+
1239+ To disable SSL verification, set the `verify_ssl` parameter to `False`:
1240+
1241+ ```python
1242+ import pointblank as pb
1243+
1244+ data = pb.load_dataset(dataset="nycflights", tbl_type="duckdb")
1245+
1246+ # Disable SSL verification for networks with self-signed certificates
1247+ pb.DraftValidation(
1248+ data=data,
1249+ model="anthropic:claude-sonnet-4-5",
1250+ verify_ssl=False
1251+ )
1252+ ```
1253+
1254+ :::{.callout-warning}
1255+ Disabling SSL verification (through `verify_ssl=False`) can expose your API keys and data to
1256+ man-in-the-middle attacks. Only use this option in trusted network environments and when
1257+ absolutely necessary.
1258+ :::
1259+
12281260 Notes on Data Sent to the Model Provider
12291261 ----------------------------------------
12301262 The data sent to the model provider is a JSON summary of the table. This data summary is
@@ -1251,7 +1283,7 @@ DraftValidation(data: 'FrameT | Any', model: 'str', api_key: 'str | None' = None
12511283 Let's look at how the `DraftValidation` class can be used to draft a validation plan for a
12521284 table. The table to be used is `"nycflights"`, which is available here via the
12531285 [`load_dataset()`](`pointblank.load_dataset`) function. The model to be used is
1254- `"anthropic:claude-3-5- sonnet-latest "` (which performs very well compared to other LLMs). The
1286+ `"anthropic:claude-sonnet-4-5 "` (which performs very well compared to other LLMs). The
12551287 example assumes that the API key is stored in an `.env` file as `ANTHROPIC_API_KEY`.
12561288
12571289 ```python
@@ -1261,7 +1293,7 @@ DraftValidation(data: 'FrameT | Any', model: 'str', api_key: 'str | None' = None
12611293 data = pb.load_dataset(dataset="nycflights", tbl_type="duckdb")
12621294
12631295 # Draft a validation plan for the "nycflights" table
1264- pb.DraftValidation(data=data, model="anthropic:claude-3-5- sonnet-latest ")
1296+ pb.DraftValidation(data=data, model="anthropic:claude-sonnet-4-5 ")
12651297 ```
12661298
12671299 The output will be a drafted validation plan for the `"nycflights"` table and this will appear
@@ -5853,10 +5885,10 @@ prompt(self, prompt: 'str', model: 'str', columns_subset: 'str | list[str] | Non
58535885 so try to include only the columns necessary for the validation.
58545886 model
58555887 The model to be used. This should be in the form of `provider:model` (e.g.,
5856- `"anthropic:claude-3-5- sonnet-latest "`). Supported providers are `"anthropic"`,
5857- `"openai"`, `" ollama"`, and `"bedrock"`. The model name should be the specific model to
5858- be used from the provider. Model names are subject to change so consult the provider's
5859- documentation for the most up-to-date model names.
5888+ `"anthropic:claude-sonnet-4-5 "`). Supported providers are `"anthropic"`, `"openai "`,
5889+ `"ollama"`, and `"bedrock"`. The model name should be the specific model to be used from
5890+ the provider. Model names are subject to change so consult the provider's documentation
5891+ for the most up-to-date model names.
58605892 batch_size
58615893 Number of rows to process in each batch. Larger batches are more efficient but may hit
58625894 API limits. Default is `1000`.
@@ -9927,7 +9959,7 @@ assistant(model: 'str', data: 'FrameT | Any | None' = None, tbl_name: 'str | Non
99279959 ----------
99289960 model
99299961 The model to be used. This should be in the form of `provider:model` (e.g.,
9930- `"anthropic:claude-3-5- sonnet-latest "`). Supported providers are `"anthropic"`, `"openai"`,
9962+ `"anthropic:claude-sonnet-4-5 "`). Supported providers are `"anthropic"`, `"openai"`,
99319963 `"ollama"`, and `"bedrock"`.
99329964 data
99339965 An optional data table to focus on during discussion with the PbA, which could be a
0 commit comments