Skip to content

Latest commit

 

History

History
47 lines (38 loc) · 2.19 KB

Mentor.md

File metadata and controls

47 lines (38 loc) · 2.19 KB

Mentor

Properties

Name Type Description Notes
name str
unique_id str [optional]
flow object The langflow json for the mentor
slug str
platform str [optional]
allow_anonymous bool [optional]
metadata object [optional]
enable_moderation bool [optional]
is_proactive bool If true, the mentor will be prompted to start a conversation with a user. [optional]
proactive_prompt str Prompt to start a conversation with a user. This prompt will be fed to the mentor as soon as the user enters the chatroom. This is used if is_proactive is true. [optional]
moderation_system_prompt str The prompt for the moderation system. This prompt must clearly distinguish between 'Approapriate' and 'Not Appropriate' queries. [optional]
moderation_response str Desired feedback to return to the user when their prompt is deemed inappropriate. [optional]
safety_system_prompt str Prompt to check whether the models response is appropriate or not. [optional]
safety_response str Feedback given to the user when a model generates an inappropriate response [optional]
enable_safety_system bool [optional]
proactive_message str Prompt to start a conversation with a user. [optional]
created_by str [optional]
created_at datetime [readonly]
updated_at datetime [readonly]

Example

from iblai.models.mentor import Mentor

# TODO update the JSON string below
json = "{}"
# create an instance of Mentor from a JSON string
mentor_instance = Mentor.from_json(json)
# print the JSON string representation of the object
print(Mentor.to_json())

# convert the object into a dict
mentor_dict = mentor_instance.to_dict()
# create an instance of Mentor from a dict
mentor_from_dict = Mentor.from_dict(mentor_dict)

[Back to Model list] [Back to API list] [Back to README]