• Resolved deonsa

    (@deonsa)


    Hi Jordy,

    Is it possible to place an article in a text file in WordPress and then place a AI Engine chatbot shortcode on a page to specifically talk about that article?

    Regards,

    Deon

Viewing 10 replies - 1 through 10 (of 10 total)
  • That would be awesome. Basically use the article as the fine tuning text correct?

    Plugin Author Jordy Meow

    (@tigroumeow)

    Hi guys,

    Fine-tuning is a process that takes time, and that should be initiated manually. You’ll need to build a dataset, and have it processed by OpenAI. It’s a complex process, and it can’t work with only a few sentences, on just by uploading a whole article ?? I am preparing an article/tutorial about this! That said, you can finetune models with the plugin already, it works perfectly well! But for this use case, I don’t think it’s the way to go.

    Often, we think that we need a custom model, but actually, we just need a good prompt. In the shortcode, it means that we need a good context. Like this:

    [mwai_chat context="Let's debate and discuss about the article located between [***] and [***]. Article: [***]{INSERT_POST}[***]" start_sentence="What did you think of this article?"]

    Of course, {INSERT_POST} will need to be replaced by the whole article. This can be done through code easily. I can share the code if you like ??

    Thread Starter deonsa

    (@deonsa)

    Thanks a lot, Jordy. That sounds like exactly what I need.

    Thread Starter deonsa

    (@deonsa)

    That didn’t quite work for me. However, the following did:

    [mwai_chat context="Act as a tutor. Discuss the article located at https://classx.org/what-makes-muscles-grow/. Ask the student questions and answer any questions with factual information regarding the topic. Maintain a cool, professional, yet caring tone. Do not converse as if you are the student. Do not answer your own questions." start_sentence="What did you think of this article?" model="text-davinci-003" temperature="0.8" ]

    Plugin Author Jordy Meow

    (@tigroumeow)

    That will not work, the AI cannot access the web, however, the context is well written.

    Give me a few minutes, I am about to make a new release! And I made the example already, so wait for me ??

    Plugin Author Jordy Meow

    (@tigroumeow)

    Okay, ready! ?? Please use the new version 0.2.7.

    I have added a little paragraph here: https://meowapps.com/ai-engine/#make-the-chatbot-content-aware. Check this. It works! ?? But of course, injecting a bunch of content into the parameter for a shortcode can be tricky; I tried my best to clean the input as you will see in the code

    see https://i.imgur.com/X2G4Rpp.png

    (haha, I am trying to embed a screenshot here, but can’t seem to do it)

    • This reply was modified 1 year, 10 months ago by Jordy Meow.
    • This reply was modified 1 year, 10 months ago by Jordy Meow.
    • This reply was modified 1 year, 10 months ago by Jordy Meow.
    Thread Starter deonsa

    (@deonsa)

    Hi Jordy,

    Actually, I was also surprised. But it actually works. It does follow the link and discusses the article.

    Anyway, maybe it’s just me, but I haven’t seen the 0.2.7 update in WordPress yet.

    Plugin Author Jordy Meow

    (@tigroumeow)

    Ask your WordPress to wake up a bit ?? It’s definitely here! With a lot more options, so can’t wait for you to try it.

    About the link, I am not sure, are you? I have tried with one website of mine (https://offbeatjapan.org), it’s not ultra famous, and I believe it might not be part of GPT-3 dataset. I gave an URL to one article (https://offbeatjapan.org/fujimori-tea-houses-nagano/), and indeed, it could discuss a bit, but I quickly realize it was kind of guessing what was in it based on the permalink (fujimori-tea-houses-nagano) ??

    Worse, when I asked the AI to tell me who is the author of the article, it gave me the name of another writer based in Tokyo, completely unrelated to me! Haha, so sad, and the AI seems so sure of it! ??

    Hey Jordy

    In an earlier response on this topic, you said:

    Of course, {INSERT_POST} will need to be replaced by the whole article. This can be done through code easily. I can share the code if you like?

    Jordy Meow – developer extraordinare

    Could you kindly share how it can be done through code ??

    Plugin Author Jordy Meow

    (@tigroumeow)

    Jordy Meow – developer extraordinare

    Hahaha! ??

    Could you kindly share how it can be done through code

    I added an example of my site but… between us, just try that:

    [mwai_chat content_aware="true"]

    It’s beta, it’s not really here to stay. Even if it works, I don’t want to promise it will later; this will not easy to support, and I need to develop this well and only include this into a Pro Version as it will require way too many tests to make it a solid feature. But it’s here if you want to try, and the code can be also read. For testing purposes ??

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Working with files’ is closed to new replies.