theopenconversationkit / tock

Tock, the open source conversational AI toolkit.
https://doc.tock.ai
Apache License 2.0
504 stars 132 forks source link

Interpret Links on the WEB Connector #1776

Closed pi-2r closed 4 weeks ago

pi-2r commented 4 weeks ago

This pull request introduces a new feature for interpreting and wrapping URLs in messages, along with some minor refactoring. The most important changes include adding a new property to the WebConnector class, updating the WebMessageProcessor to handle URL interpretation, and adding a utility function for detecting and wrapping links.

Feature Enhancements:

Utility Functions:

Testing:

Fabilin commented 4 weeks ago

For the record, this is already a feature in the tock-react-kit: https://github.com/theopenconversationkit/tock-react-kit/blob/a09549c94362bd66d26e4ffca266231a92555ecf/src/settings/TockSettings.tsx#L36-L41

rkuffer commented 4 weeks ago

For the record, this is already a feature in the tock-react-kit: https://github.com/theopenconversationkit/tock-react-kit/blob/a09549c94362bd66d26e4ffca266231a92555ecf/src/settings/TockSettings.tsx#L36-L41

For the record, this is also already covered in the Tock Vue Kit out of the box.

pi-2r commented 4 weeks ago

Ok I close the PR!