Here is something you could do with OSSN AI Chat bot with OSSN and Botpress

TalkToAi Online Posted in General Discussion 2 years ago

I have integrated an AI chat bot to OSSN using the custom pages component:
https://talktoai.online/p/4/talktoai
and the main site has a cool video background, only viewable on desktops/pc,

Botpress is open source like OSSN, install on a Ubuntu VPS/Server/Instance.
https://github.com/botpress/botpress/discussions/12393

There is a lot more you could do with OSSN and Botpress this is just the start for me, so much you could do!

Replies
gb TalkToAi Online Replied 2 years ago

I have added using html side bar component and removed the custom page, now people will need to make an account to use the ai chat.

enter image description here

enter image description here

gb TalkToAi Online Replied 2 years ago

Thank you, your honour, Dr Shah!
Had profile access enabled, most likely the issue. That link works for me, must be something to do with the firewall then. hmm

Indonesian Arsalan Shah Replied 2 years ago

Your bot doesn't work sire. Your frame URL gives nothing

https://talktoai.org/lite/talktoai/?m=channel-web&v=Fullscreen&options=%7B%22hideWidget%22%3Atrue%2C%22config%22%3A%7B%22enableReset%22%3Atrue%2C%22enableTranscriptDownload%22%3Atrue%7D%7D
gb TalkToAi Online Replied 2 years ago

What would be cool is; make a profile on my social network for talktoai then people can add the profile as a friend and then message the ai using ossn messages. Your ai friend take it anywhere you go! ^_^

gb TalkToAi Online Replied 2 years ago

enter image description here

enter image description here

gb TalkToAi Online Replied 2 years ago

Ah, the dev tools plugin/component must be why. Disable Developer Tool 1.0

gb TalkToAi Online Replied 2 years ago

App guyser whatever its called, free app i made apk working on there tested: https://infopirate.xyz/TalkToAi.apk
I tested and no issues besides a refresh or open close app to get the page displaying properly, disabled cache now too, as i had 2 going at the same time.

Breton Rafael [redcrested.net] Replied 2 years ago

Line 40-55 of https://talktoai.online/p/4/talktoai

background:#ADD8E6;
color: #0c0c0d; }

.ossn-layout-startup {
background: none !important;
}
</style>

<script>
body {
background:#ADD8E6;
color: #0c0c0d; }
{

Error is in script tag

Breton Rafael [redcrested.net] Replied 2 years ago

Still same. Developer console show:

Uncaught SyntaxError: Unexpected token '{'
talktoai:1 [DOM] Input elements should have autocomplete attributes (suggested: "current-password"): (More info: https://goo.gl/9p2vKq) <input type=​"password" name=​"password">​
main.67250b2d48391d54b964.js:1          Failed to load resource: net::ERR_INCOMPLETE_CHUNKED_ENCODING
DevTools failed to load source map: Could not parse content for https://talktoai.online/components/PasswordValidation/vendors/underscore-min.map: Unexpected token '<', "<!DOCTYPE "... is not valid JSON