My Account
Forums
- This topic has 6 replies, 2 voices, and was last updated 4 months, 1 week ago by
Mark Westguard.
-
AuthorPosts
-
-
January 25, 2023 at 12:07 am #171316
Lwifunyo Festo Mangula
ParticipantThanks for OpenAI integration, it is very cool feature.
Sometimes we want user to input data In the form and then get results after being processed in OpenAI API
But
That
Input texts should be well designed before sent to OpenAI API, the process is called PROMPT ENGINEERINGthat final texts that have to be sent to OpenAI API sometimes need to be Hidden to users, that can not see it. Sometimes user inputs must be combined into one paragraphs and then send to API
Mu question:
How can I combine multiple Fields input into one field which is Hidden, then this Field finally to be sent to OpenAI API.Maybe I’m offering online business business plan making Using AI,
So
I will collect 5 data from customers, and then I will use hidden fields to add some instructions to the AI… The combine those 5 data fields with 2 hidden instructions into one paragraphs that will be the final text to be sent to OpenAI API to get response results. So some of fields a front user doesn’t need to see them.How can I achieve that?
-
January 25, 2023 at 12:30 am #171319
Lwifunyo Festo Mangula
ParticipantOr maybe at OpenAI action page in the input field:
There can be a textarea field to write a prompt there. Which will allow to write a combination of fields
Example of ENGINEERED PROMPT below which combine multiple Fields with additional instructions in it.
|
|
I’m #user_display_name, who is working at #field(9), who is born in #field(1). I want to do a business #field(12), with capital #field(19), in the city of #field(3). Write to me a business plan while taking care the size of capital I have. -
January 25, 2023 at 12:31 am #171320
Mark Westguard
KeymasterI’m using prompt engineering right now on a project for WS Form. I’m going to add input options in the Make OpenAI Request action:
– Field (You choose a field as is the current input option)
– Custom (You can build up the input using a combination of text and WS Form variables, e.g. #field(123) to insert a field valueIt is currently possible to do it with a hidden field and using something like #text (https://wsform.com/knowledgebase/duplicate-copy-field-values-with-text/) but I think this approach will make it easier. It’ll also hide the prompt mask from the user.
Thanks
Mark
-
January 25, 2023 at 12:58 am #171321
Lwifunyo Festo Mangula
ParticipantThanks for feedback… This is awesome I will use it
-
January 25, 2023 at 1:13 am #171323
Lwifunyo Festo Mangula
ParticipantIs it possible to combine in default field something like
“I’m coming from text(#field(8)), to text(#field(12)) so that I can work for text(#field(14)) hours”
-
January 25, 2023 at 1:28 am #171325
Mark Westguard
KeymasterYes but the syntax would be:
I’m coming from #text(#field(8)), to #text(#field(12)) so that I can work for #text(#field(14)) hours.
Please note that this forum is not for product support. For official support please use https://wsform.com/support/
-
This reply was modified 4 months, 1 week ago by
Mark Westguard.
-
This reply was modified 4 months, 1 week ago by
-
January 25, 2023 at 10:18 pm #171519
Mark Westguard
KeymasterVersion 1.0.4 of our OpenAI add-on went live today. It has the following new features:
* Added: Input masking (Allowing for prompt engineering)
* Added: Output masking
* Added: Output wpautop setting
* Added: #openai_input, #openai_mode, #openai_prompt_token, #openai_completion_token, #openai_total_token variablesThanks
Mark
-
-
AuthorPosts
- You must be logged in to reply to this topic.