Git Product home page Git Product logo

Comments (9)

kielingraphael avatar kielingraphael commented on September 18, 2024 1

I played a bit in chatgpt and you can use:

[context] ...everything related with the next.js definition

[question] Sorry, i made a mistake...

If the [question] Is not related with the creation of 
a React component, answer: "I only generate REACT components!".

The chatgpt, gave me the message instead of the julius stuff. But obviusly, it's like the DAN jailbreak, you ever will have another way to ask and break it.

from ai-component-generator.

ricardoborges avatar ricardoborges commented on September 18, 2024 1

from ai-component-generator.

ricardoborges avatar ricardoborges commented on September 18, 2024

I was thinking and handling that on code, but the thing is: it can understand almost all languages

from ai-component-generator.

ricardoborges avatar ricardoborges commented on September 18, 2024

maybe they can build a config for the API, i dont know if LLM can work like that

from ai-component-generator.

kielingraphael avatar kielingraphael commented on September 18, 2024

It's hard, mainly because LLM do not have a good way yet to prevent it, we can give the model examples of injections and try punish the model if he accepts it, but i can't see too much options for now. Unfortunately seems that we will need to learn these new security LLM boundaries to be able to create good products 🥲

from ai-component-generator.

ricardoborges avatar ricardoborges commented on September 18, 2024

yeah, that is a big problem, as you pay for usage, and users break the role for another purposes. Already happen to "AI Dungeon" app

https://www.cnbc.com/2023/03/13/chatgpt-and-generative-ai-are-booming-but-at-a-very-expensive-price.html

from ai-component-generator.

umairabbasDev avatar umairabbasDev commented on September 18, 2024

one way : i think it can be handle by restricting the user input validating with regex like restricting some specific words ....?

from ai-component-generator.

ricardoborges avatar ricardoborges commented on September 18, 2024

@umairabbasDev no, unless you can handle all human languages he can understand

from ai-component-generator.

umairabbasDev avatar umairabbasDev commented on September 18, 2024

@ricardoborges I am currently only considering the English language, but you are correct. we can include certain keywords in the prompt to instruct ChatGPT not to include them in any language. What do you think about that idea?

from ai-component-generator.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.