Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
Langflow/Langflow · Prompt Template with multiple vars? Impossible?
[go: Go Back, main page]

@cvladan\n\t.

\n

Could you tell me more about your use case? In a chat scenario, could you give me an example of how you'd use two inputs and maybe point out what would be a good experience when dealing with two inputs in the chat?

\n","updatedAt":"2023-05-28T01:55:39.007Z","author":{"_id":"6414a7fdc5073876ce100cd7","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/6414a7fdc5073876ce100cd7/5kb7uwmd0LQx3ng5fhfVq.jpeg","fullname":"Gabriel Luiz Freitas Almeida","name":"GabrielLangflow","type":"user","isPro":false,"isHf":false,"isHfAdmin":false,"isMod":false,"followerCount":5,"isUserFollowing":false}},"numEdits":0,"editors":["GabrielLangflow"],"editorAvatarUrls":["https://cdn-avatars.huggingface.co/v1/production/uploads/6414a7fdc5073876ce100cd7/5kb7uwmd0LQx3ng5fhfVq.jpeg"],"reactions":[],"isReport":false}}],"pinned":false,"locked":false,"collection":"discussions","isPullRequest":false,"isReport":false},"repo":{"name":"Langflow/Langflow","type":"space"},"activeTab":"discussion","discussionRole":0,"watched":false,"muted":false,"repoDiscussionsLocked":false}">

Prompt Template with multiple vars? Impossible?

#16
by cvladan - opened
@cvladan\n\t.

\n

Could you tell me more about your use case? In a chat scenario, could you give me an example of how you'd use two inputs and maybe point out what would be a good experience when dealing with two inputs in the chat?

\n","updatedAt":"2023-05-28T01:55:39.007Z","author":{"_id":"6414a7fdc5073876ce100cd7","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/6414a7fdc5073876ce100cd7/5kb7uwmd0LQx3ng5fhfVq.jpeg","fullname":"Gabriel Luiz Freitas Almeida","name":"GabrielLangflow","type":"user","isPro":false,"isHf":false,"isHfAdmin":false,"isMod":false,"followerCount":5,"isUserFollowing":false}},"numEdits":0,"editors":["GabrielLangflow"],"editorAvatarUrls":["https://cdn-avatars.huggingface.co/v1/production/uploads/6414a7fdc5073876ce100cd7/5kb7uwmd0LQx3ng5fhfVq.jpeg"],"reactions":[],"isReport":false}}],"pinned":false,"locked":false,"collection":"discussions","isPullRequest":false,"isReport":false},"primaryEmailConfirmed":false,"repo":{"name":"Langflow/Langflow","type":"space"},"discussionRole":0,"acceptLanguages":["*"],"hideComments":true,"repoDiscussionsLocked":false,"isDiscussionAuthor":false,"diffUnavailable":false}">

... after three hours of failed attempts and guesswork, I still couldn't find a way to make the PromptTemplate with two variables work. It's absurd how this has absolutely no documentation.

hey, @cvladan .

Could you tell me more about your use case? In a chat scenario, could you give me an example of how you'd use two inputs and maybe point out what would be a good experience when dealing with two inputs in the chat?

Sign up or log in to comment