Closed s-kostyaev closed 5 months ago
For generating names with llm prompt template may look like this:
I will get you user query, you should return short topic only, what
this conversation about. NEVER respond to query itself.
For example:
Query: Why is sky blue?
Topic: Blue sky.
Query: %s
Topic:
Need to be added new custom variable like ellama-naming-scheme
, custom variable with prompt template for this, function ellama-generate-name
should be changed.
UPD. Also custom variable ellama-naming-provider
witout default value. If not set default ellama provider should be used for name generation.
Ask llm to name conversation is universal, but costly (GPU time or tokens). I think we can let user decide which naming scheme to use. With variants like: