Add knowledge option

can a add knowledge option be added (similar to what there is on lovable)
this is so i can add figma of other files and info that it will remember

1 Like

Hi @meirsudak,

can you please describe it more here with also some screenshot, to the request is clear. Make no sense everyone needs to take a look at loveable him/herself and try to figure out what you mean exactly :wink:

Screenshot 2025-01-29 224659

Its like a memo that gets attached with each prompt sent to the AI.

Not documented but you can use a prompt file within .bolt folder which is used by bolt.diy (same as bolt.new uses).

In the future we will provide custom system prompts and plugin mechanism so users can build there own plugins/extensions

1 Like

What’s the proper name and extension of the prompt file?

Can you describe a bit about how the .bolt folder works? Does it just dump all of the .bolt contents into the chat message to the AI each round? Any special requirements for the name(s) of the file(s) in the .bolt folder?

Thanks!

@traflagar I did a short video about it, which should answer your questions.

1 Like

Wow, that would be great and will skyrocket bolt.diy

I want to create a system prompt for each model in your bolt.diy app, so that the bot responds according to the specific system prompt associated with the model,
I tried, below is the flow, but dont know how to implement, it will be a great feature if implemented, so any user can input custom system prompt. it will also help my students the get the desire result, I hope you team will look into that if possible.

Thank @leex279

@simple.dimple your logs bolt.new in your app still confusing me, as it is not bolt.new :wink:

I cant open the chat you provided, thats just on your local session in browser. If you want to share the chat, you need to export it and provide the json here.

Ok, here it is the chat json,
chat-2025-02-03T09_29_24.001Z.json (13.9 KB)

thx. Ok, this will not work what you are doing there. You just build an app there what has nothing to do with bolt.diy itself.
Also for just asking questions, bolt.diy is not the tool to go at the moment. I would recommend using chatgpt or something else outside of bolt, cause bolt is setted up to just write code and create a webapp.

So this cant be done by yourself at the moment, unless you change the sourcecode of bolt yourself and implement this stuff.

You just can do the custom additional system prompt as shown in the video per project. So when implementing/starting your chat, you first setup the prompt file with your custom instructions in there.

To be clear => this does not replace the system prompt. It´s only an addition to the selected one in settings.

In the future there will be more real system prompt you can choose from or even auto-select for a few dedicated models (we can provide a system prompt for working best with all models, cause there are millions ;)).

1 Like

got it man, thank you :slight_smile:

Great share :slight_smile: I didn’t fully understand how this worked though.

As I understood it, this is to always add an extra predetermined prompt to the prompt sent through the chat, is this correct?

yes, correct. it just appended to every prompt you do, so the same as you would write it manually to each of your prompt.

Okay great! That could be really handy