chochinlu / suno-song-generator

6 stars 2 forks source link

Add RAGs for more personalize creation #5

Open chochinlu opened 2 months ago

chochinlu commented 2 months ago

One more gradio interface to insert documents.

Use these RAGs to generate more specific lyrics.

cmm25 commented 2 months ago

look at my pull request sir

chochinlu commented 1 month ago

Maybe we should create an interface to add documents related to localized culture. For example, news from Africa. If the user’s prompt mentions Africa, we can call the tools to get some information about Africa to generate more culturally relevant lyrics.

cmm25 commented 1 month ago

This interface should be similar to what I did in my last pull plus maybe we can just add a section called more information to feed a document to enhance the lyrics --- if this is what you are saying.

chochinlu commented 1 month ago

If we only add the file each time for lyrics, we can simply copy the file's text into the user's thought textbox ?

However, if we store these files in a vector database and implement a RAG system, we can index the content and retrieve relevant information whenever the user mentions something related. This would make the process more dynamic and efficient for generating contextually appropriate responses.

cmm25 commented 1 month ago

so in regards to the vector store I am thinking of chroma db