Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Datastore default summarization prompt vs. custom

I am trying to utilize the custom summarization prompt however everyone I create, it never is as good as the default one.  Currently the default prompt works well however there is one detail I would like to add.  I would like to add: 'When providing an answer do not include the link or direct the user to a link'

This is due to the fact that I am not using Dialogflow Messenger as the chat client but another software.  this new software does not allow the addition of links via 'data store response' when adding another dialogue option to the datastore state handler.

How can I view the default summarization prompt so I can one additional line to the prompt?

The custom prompt that was initially using looked like this:

Given the conversation between a Human and a AI assistant and a list of sources, write a final answer for the AI assistant.

Follow these guidelines:

+ Answer the Human's query and make sure you mention all relevant details from the sources, using exactly the same words as the sources if possible.

+ The answer must be based only on the sources and not introduce any additional information.

+ All numbers, like price, date, time or phone numbers must appear exactly as

they are in the sources.

+ Give as comprehensive answer as possible given the sources. Include all

important details, and any caveats and conditions that apply.

+ Do not just say refer to link below. Always provide a detailed summary in first response itself.

+ The answer MUST be in English.

+ Don't try to make up an answer: If the answer cannot be found in the sources, you admit that you don't know.

+ Provide as much information as possible from the datastore but do not refer the user to a link

Begin! Let's work this out step by step to be sure we have the right answer.

Sources: $sources

$conversation

Human: $original-query

AI:

Solved Solved
1 8 926
1 ACCEPTED SOLUTION

There is not a way to get the default prompt

View solution in original post

8 REPLIES 8

@Ian_Stack Which model you are using for the custom prompting if it gemini change it to text bison 002 then this prompt will work

 

Is it as good as the default though? Is that the prompt that you have used as well?  Do you know how to see the default prompt? In the documentation I see an example but I don't know if thats something I can just copy and paste then add/remove my lines of direction for the LLM

 

I expect that when we need to add a user to datastore.not by link you can add him to user account.

I am confused by your response @QASIMALOUDAT , what do you mean by add user to datastore?  Is this somehow affect the datastore prompt?

I reported that guy, He is just saying random things

OK that is Write what do you say.because I am not understand the question.

There is not a way to get the default prompt

by default every one have full permission to access data center.but you can add user not by link.you can add a user account