Closed FriendlyUser closed 1 month ago
Thanks for reporting this @FriendlyUser
Docs website is not open-source yet.
I will add it to the main @nluxai/nlux
repo so anyone can create PRs and contribute.
I'll comment on this issue once it's done.
Docs website source code added here: https://github.com/nluxai/nlux/tree/latest/docs
Hosted on: https://docs.nlkit.com/nlux
Currently working on updating it for v2.x
(which is in beta)
Chat personas error
https://nlux.dev/learn/chat-personas
How To Define The Bot Persona
In Javascript, you can define the bot persona by calling withPersonaOptions when creating the AiChat component. The withPersonaOptions function takes an object with two properties: bot and user. The bot property is what you use to define the bot persona, as shown in the example below.
avatar should be replaced with picture