3 ms·
Interesting concept, can you share some more detail about the implementation? How are you generating the different portions of the interface? Seems like you hav
by pbronez 3y ago
Interesting concept, can you share some more detail about the implementation? How are you generating the different portions of the interface? Seems like you have a couple canned prompts that trigger a few exploratory ideas in addition to a primary response.
- pbronez 3y agoFound the relevant source file https://github.com/charstorm/llmbinge/blob/main/llmbinge/src/ollama_client.js https://github.com/charstorm/llmbinge/blob/main/llmbinge/src...
- graphitout 3y agoYou are right. - llm_generate() - this is the core function which calls ollama API - get_related() - this will give a sequence of related topics for a given topic and description - llm_get_aspect_query() - this is tricky. The interface has a fixed set of aspects for every response. Like history, related ideas, people etc. I wanted a way to create new query based on an existing query and a given aspect. This func does the rephrasing of the query. - App.vue: handle_related() - there is a tiny bit here. When going to another "suggested" topic, it seems we have to give it some context.