mirror of
https://github.com/nomic-ai/gpt4all
synced 2024-11-18 03:25:46 +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())
|
if (!attribution.isEmpty())
|
||||||
object.insert("network/attribution", attribution);
|
object.insert("network/attribution", attribution);
|
||||||
|
|
||||||
|
QString promptTemplate = settings.value("promptTemplate", QString()).toString();
|
||||||
|
object.insert("prompt_template", promptTemplate);
|
||||||
|
|
||||||
QJsonDocument newDoc;
|
QJsonDocument newDoc;
|
||||||
newDoc.setObject(object);
|
newDoc.setObject(object);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user