Delete Integration
The Tror Gen AI SDK allows you to remove integrations that are no longer required within your application. This section guides you through the process of deleting integrations.
Removing an Integration
Use the delete_integration function provided by the SDK to remove an integration:
import trorgenai
integration_name = "My Customer Support Integration"
trorgenai.delete_integration(integration_name)
This code snippet deletes the integration named "My Customer Support Integration".
Important Note:
-
Deleting an integration is permanent. The associated name, model selection, persona (if assigned), and knowledge base connection (if used) will be removed.
-
Ensure you want to delete the integration before proceeding.
Additional Considerations
There are no arguments required for the delete_integration function. Simply provide the name of the integration to be deleted.
The function returns a success message upon successful deletion.
Next Steps:
Refer to other sections within the documentation for managing integrations, including creating new integrations, generating iframe code, and obtaining API endpoints.