You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Authorize the connector with the given ID for the connector oauth app. See ['Connector Authentication'](https://docs.cohere.com/docs/connector-authentication) for more information.
269
269
270
270
Parameters:
271
271
- id: str. The ID of the connector to authorize.
272
+
273
+
- after_token_redirect: typing.Optional[str]. The URL to redirect to after the connector has been authorized.
Authorize the connector with the given ID for the connector oauth app. See ['Connector Authentication'](https://docs.cohere.com/docs/connector-authentication) for more information.
541
546
542
547
Parameters:
543
548
- id: str. The ID of the connector to authorize.
549
+
550
+
- after_token_redirect: typing.Optional[str]. The URL to redirect to after the connector has been authorized.
- name: typing.Optional[str]. The name of the uploaded dataset.
101
105
102
-
- type: typing.Optional[str]. The dataset type, which is used to validate the data.
106
+
- type: typing.Optional[DatasetType]. The dataset type, which is used to validate the data.
103
107
104
108
- keep_original_file: typing.Optional[bool]. Indicates if the original file should be stored.
105
109
110
+
- skip_malformed_input: typing.Optional[bool]. Indicates whether rows with malformed input should be dropped (instead of failing the validation check). Dropped rows will be returned in the warnings field.
111
+
112
+
- keep_fields: typing.Optional[typing.Union[str, typing.List[str]]]. List of names of fields that will be persisted in the Dataset. By default the Dataset will retain only the required fields indicated in the [schema for the corresponding Dataset type](https://docs.cohere.com/docs/datasets#dataset-types). For example, datasets of type `embed-input` will drop all fields other than the required `text` field. If any of the fields in `keep_fields` are missing from the uploaded file, Dataset validation will fail.
113
+
114
+
- optional_fields: typing.Optional[typing.Union[str, typing.List[str]]]. List of names of fields that will be persisted in the Dataset. By default the Dataset will retain only the required fields indicated in the [schema for the corresponding Dataset type](https://docs.cohere.com/docs/datasets#dataset-types). For example, Datasets of type `embed-input` will drop all fields other than the required `text` field. If any of the fields in `optional_fields` are missing from the uploaded file, Dataset validation will pass.
115
+
106
116
- text_separator: typing.Optional[str]. Raw .txt uploads will be split into entries using the text_separator value.
107
117
108
118
- csv_delimiter: typing.Optional[str]. The delimiter used for .csv uploads.
- name: typing.Optional[str]. The name of the uploaded dataset.
303
319
304
-
- type: typing.Optional[str]. The dataset type, which is used to validate the data.
320
+
- type: typing.Optional[DatasetType]. The dataset type, which is used to validate the data.
305
321
306
322
- keep_original_file: typing.Optional[bool]. Indicates if the original file should be stored.
307
323
324
+
- skip_malformed_input: typing.Optional[bool]. Indicates whether rows with malformed input should be dropped (instead of failing the validation check). Dropped rows will be returned in the warnings field.
325
+
326
+
- keep_fields: typing.Optional[typing.Union[str, typing.List[str]]]. List of names of fields that will be persisted in the Dataset. By default the Dataset will retain only the required fields indicated in the [schema for the corresponding Dataset type](https://docs.cohere.com/docs/datasets#dataset-types). For example, datasets of type `embed-input` will drop all fields other than the required `text` field. If any of the fields in `keep_fields` are missing from the uploaded file, Dataset validation will fail.
327
+
328
+
- optional_fields: typing.Optional[typing.Union[str, typing.List[str]]]. List of names of fields that will be persisted in the Dataset. By default the Dataset will retain only the required fields indicated in the [schema for the corresponding Dataset type](https://docs.cohere.com/docs/datasets#dataset-types). For example, Datasets of type `embed-input` will drop all fields other than the required `text` field. If any of the fields in `optional_fields` are missing from the uploaded file, Dataset validation will pass.
329
+
308
330
- text_separator: typing.Optional[str]. Raw .txt uploads will be split into entries using the text_separator value.
309
331
310
332
- csv_delimiter: typing.Optional[str]. The delimiter used for .csv uploads.
0 commit comments