mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-07-12 14:48:47 +00:00
Send the prompt template with conversations to the datalake.
This commit is contained in:
parent
748e7977ca
commit
47059ad9f1
@ -110,6 +110,9 @@ bool Network::packageAndSendJson(const QString &ingestId, const QString &json)
|
||||
if (!attribution.isEmpty())
|
||||
object.insert("network/attribution", attribution);
|
||||
|
||||
QString promptTemplate = settings.value("promptTemplate", QString()).toString();
|
||||
object.insert("prompt_template", promptTemplate);
|
||||
|
||||
QJsonDocument newDoc;
|
||||
newDoc.setObject(object);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user