Releases: watson-developer-cloud/python-sdk
Releases · watson-developer-cloud/python-sdk
v3.1.0
3.1.0 (2019-06-07)
Bug Fixes
- raspi: Proper closing of stream (ba52836)
Features
- assistantv1: Model DialogNodeOutputOptionsElementValue has new params intents and entities (1c3844f)
- Discovery: Collection model has
crawl_status
andsmart_document_understanding
params (260e043) - icp4d: Support for ICP4D (44b5be8)
- language translator v3: New methods for document translation (2132a33)
v3.0.4
v3.0.3
v3.0.2
v3.0.1
v3.0.0
3.0.0 (2019-03-30)
Conversation
Conversation is no longer supported, move to Assistant instead.
This release is generated using OAS3. Many functions have params reordered
ASSISTANTV1:
message
is reordered to :
def message(self,
workspace_id,
input=None,
intents=None,
entities=None,
alternate_intents=None,
context=None,
entities=None,
intents=None,
output=None,
nodes_visited_details=None,
**kwargs):
create_workspace
reordered to
def create_workspace(self,
name=None,
description=None,
language=None,
metadata=None,
learning_opt_out=None,
system_settings=None,
intents=None,
entities=None,
dialog_nodes=None,
counterexamples=None,
**kwargs):
update_workspace
reordered to:
def update_workspace(self,
workspace_id,
name=None,
description=None,
language=None,
metadata=None,
learning_opt_out=None,
system_settings=None,
intents=None,
entities=None,
dialog_nodes=None,
counterexamples=None,
append=None,
**kwargs):
create_enity
reordered to:
def create_entity(self,
workspace_id,
entity,
description=None,
metadata=None,
fuzzy_match=None,
values=None,
**kwargs):
create_value
reordered to:
def create_value(self,
workspace_id,
entity,
value,
metadata=None,
value_type=None,
synonyms=None,
patterns=None,
**kwargs):
update_value
reordered to:
def update_value(self,
workspace_id,
entity,
value,
new_value=None,
new_metadata=None,
new_value_type=None,
new_synonyms=None,
new_patterns=None,
**kwargs):
create_dialog_node
reordered to:
def create_dialog_node(self,
workspace_id,
dialog_node,
description=None,
conditions=None,
parent=None,
previous_sibling=None,
output=None,
context=None,
metadata=None,
next_step=None,
title=None,
node_type=None,
event_name=None,
variable=None,
actions=None,
digress_in=None,
digress_out=None,
digress_out_slots=None,
user_label=None,
**kwargs):
update_dialog_node
reordered to:
def update_dialog_node(self,
workspace_id,
dialog_node,
new_dialog_node=None,
new_description=None,
new_conditions=None,
new_parent=None,
new_previous_sibling=None,
new_output=None,
new_context=None,
new_metadata=None,
new_next_step=None,
new_title=None,
new_node_type=None,
new_event_name=None,
new_variable=None,
new_actions=None,
new_digress_in=None,
new_digress_out=None,
new_digress_out_slots=None,
new_user_label=None,
**kwargs):
Models:
InputData
renamed to MessageInput
COMPARE AND COMPLY V1:
convert_to_html
reordered to:
def convert_to_html(self,
file,
filename=None,
file_content_type=None,
model=None,
**kwargs):
classify_elements
doesn’t havefilename
def classify_elements(self,
file,
file_content_type=None,
model=None,
**kwargs):
extract_tables
reordered to:
def extract_tables(self, file, file_content_type=None, model=None, **kwargs):
compare_documents
reordered to:
def compare_documents(self,
file_1,
file_2,
file_1_content_type=None,
file_2_content_type=None,
file_1_label=None,
file_2_label=None,
model=None,
**kwargs):
delete_feedback
reordered to:
def delete_feedback(self, feedback_id, model=None, **kwargs):
get_feedback
reordered to:
def get_feedback(self, feedback_id, model=None, **kwargs):
create_batch
reordered to:
def create_batch(self,
function,
input_credentials_file,
input_bucket_location,
input_bucket_name,
output_credentials_file,
output_bucket_location,
output_bucket_name,
model=None,
**kwargs):
update_batch
reordered to:
def update_batch(self, batch_id, action, model=None, **kwargs):
DISCOVERY V1:
test_configuration_in_environment
reordered to:
def test_configuration_in_environment(self,
environment_id,
configuration=None,
file=None,
filename=None,
file_content_type=None,
metadata=None,
step=None,
configuration_i
add_document
reordered to:
def add_document(self,
environment_id,
collection_id,
file=None,
filename=None,
file_content_type=None,
metadata=None,
**kwargs):
update_document
reordered to:
def update_document(self,
environment_id,
collection_id,
document_id,
file=None,
filename=None,
file_content_type=None,
metadata=None,
**kwargs):
federated_query
reordered to:
def federated_query(self,
environment_id,
filter=None,
query=None,
natural_language_query=None,
passages=None,
aggregation=None,
count=None,
return_fields=None,
offset=None,
sort=None,
highlight=None,
passages_fields=None,
passages_count=None,
passages_characters=None,
deduplicate=None,
deduplicate_field=None,
collection_ids=None,
similar=None,
similar_document_ids=None,
similar_fields=None,
bias=None,
logging_opt_out=None,
**kwargs):
query
reordered to:
def query(self,
environment_id,
collection_id,
filter=None,
query=None,
natural_language_query=None,
passages=None,
aggregation=None,
count=None,
return_fields=None,
offset=None,
sort=None,
highlight=None,
passages_fields=None,
passages_count=None,
passages_characters=None,
deduplicate=None,
deduplicate...
v2.10.0
v2.9.0
v2.8.1
v2.8.0
2.8.0 (2019-02-06)
Bug Fixes
- Assistant: Fix to additional props in InputData (98f6b9d)
- ICP: Authenticate using basic auth when iam_apikey is prefixed with icp (4ccfcbd)
Features
- Compare and Comply: Add attributes property to BodyCells model (e874d4f)
- Compare and Comply: Add importance property to Parties model (1fb6589)
- Compare and Comply: confidence_level property to EffectiveDates, TerminationDates and ContractAmts (cbca0e5)
- Discovery: New method get_stopword_list_status (2e0e8f5)
- Speech to Text: New param force in upgrade_acoustic_model (57c8519)