You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let's say I got a .txt file that contains my prompt below and I want to use llm to pass this file as prompt but it contains a dynamic variable entries. Is it possible to pass it too? Tanks
PROMPT
<purpose>
Clean the given text content based on instructions and example-input-output.
The text will be descriptions of company names and not always in a good shape.
You might need to remove bad characters
</purpose>
<instructions>
<instruction> Remove characters that pollute the reading experience like /, //, @, \, ", etc </instruction>
<instruction>Respond only with a list of objects with keys: 'original' and 'cleaned' without code highliting</instruction>
<instruction>Start output with "[" and end with "]"</instruction>
</instructions>
<example-input-output1>
"PERSONAL FINANCIAL CONSULTANTS INC /ADV" : "PERSONAL FINANCIAL CONSULTANTS INC"
</example-input-output1>
<example-input-output4>
"GOFEN & GLOSSBERG LLC /IL/" : "GOFEN & GLOSSBERG LLC"
</example-input-output4>
<example-input-output4>
"TRUSTCO BANK CORP N Y" : "TRUSTCO BANK CORP"
</example-input-output4>
<content>
{{entries}}
</content>
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
let's say I got a .txt file that contains my prompt below and I want to use llm to pass this file as prompt but it contains a dynamic variable
entries
. Is it possible to pass it too? TanksPROMPT
Beta Was this translation helpful? Give feedback.
All reactions