Skip to content
site logo mobile

Forum in maintenance, we will back soon 🙂

Prompt chaining
 
Notifications
Clear all

Prompt chaining

11 Posts
4 Users
6 Likes
627 Views
(@negtor)
Posts: 6
Active Member
Points: 28
Topic starter
 

what do you think about this type of prompt chaining?

based on the {text} I am going to provide you with, I need you to strategically, persuasively, entertainingly and educationally structure the content with the purpose of positioning the business consulting firm: GC Business Center, following the steps:

a- Generate persuasive, short and attractive titles for business owners outside the United States, that generate expectation and interest based on the {theme} defined in the {text}. Applying the titles created write a content structure based on the three points mentioned in the {text} in markdown format

{topic}: "How to reduce the costs of creating and maintaining your LLC in the United States".
{text}: Practical tips for reducing the costs of setting up and operating an LLC in the United States:
Choose your location carefully
LLC Structure
Leveraging Resources for Foreign LL Owners

 
Posted : 05/23/2023 8:15 pm
Hasan Aboul Hasan
(@admin)
Posts: 865
Member Admin
Premium Member
Pythonista Prodigy Badge
Prompt Engineer
API Entrepreneur
Power Member
Points: 17562
 

Can you give a title of this workflow? And where is the chain here? I see one prompt, or am I missing something?

 
Posted : 05/24/2023 10:29 am
SSAdvisor
(@ssadvisor)
Posts: 799
Noble Member
Premium Member
Pythonista Prodigy Badge
Prompt Engineer
API Entrepreneur
Power Member
Points: 15998
 

@admin I think @Negtor is using Langchain or something similar. With these you can structure the statements so that the answer to prompt 1 can be given as input to prompt 2, etc.

Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack

 
Posted : 05/24/2023 6:15 pm
Hasan Aboul Hasan
(@admin)
Posts: 865
Member Admin
Premium Member
Pythonista Prodigy Badge
Prompt Engineer
API Entrepreneur
Power Member
Points: 17562
 

Thanks, @ssadvisor, for your clarification.

Yeah, I used langchain before. I see he created three variables, text, theme, and topic. It can be executed with one prompt. This is what I mean. I will wait for his response. Maybe he can explain more. Maybe I am missing something.

 

 
Posted : 05/25/2023 8:55 am
(@negtor)
Posts: 6
Active Member
Points: 28
Topic starter
 

@admin  Hello seems to me the chain concept is about use content, knowledge or outputs from a part of the Script to all the flow.

 

I think I need some help because I was thinking that applying variables and use it in different parts of the flow that is a kind of chaining because it is a secuence of task based of the before answer 

 

So I have been looking some videos about chaining and it is about memory or something

Some help is going to be nice 👍

 
Posted : 05/27/2023 8:59 pm
Hasan Aboul Hasan
(@admin)
Posts: 865
Member Admin
Premium Member
Pythonista Prodigy Badge
Prompt Engineer
API Entrepreneur
Power Member
Points: 17562
 

Chaining is simply connecting the language model like chatgpt with something else. This is one explanation, and it maybe as you mentioned to chain different functions like the output of the first function in the seconds and so on.

 

But when we have a prompt with multiple variables executed once. this is more like a prompt template.

 
Posted : 05/28/2023 7:45 am
Negtor reacted
SSAdvisor
(@ssadvisor)
Posts: 799
Noble Member
Premium Member
Pythonista Prodigy Badge
Prompt Engineer
API Entrepreneur
Power Member
Points: 15998
 

@admin and @Negtor Langchain uses sequential chaining, I.E. Ask a question with a prompt and supply the answer of that question to another prompt to get more results. Supplying multiple fields can be done but each of those fields must have previous value.

Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack

 
Posted : 05/28/2023 7:12 pm
(@negtor)
Posts: 6
Active Member
Points: 28
Topic starter
 

@ssadvisor and @admin ok as I understand from what you both clarify (thank you very much for the support), the chaining process is focused on generating a consecutive sequence of actions or data, which feed back to the next sequence and a sequence of cyclical results is generated... something like that?

 
Posted : 05/29/2023 2:02 pm
 Omar
(@omar)
Posts: 1
New Member
Points: 12
 

can i integrate with api of key with no subscription?
after i use my normal key that is the result
( You exceeded your current quota, please check your plan and billing details.)

 
Posted : 06/06/2023 8:56 am
Hasan Aboul Hasan
(@admin)
Posts: 865
Member Admin
Premium Member
Pythonista Prodigy Badge
Prompt Engineer
API Entrepreneur
Power Member
Points: 17562
 

@omar no, you need to have an API key with an active subscription to do that

 
Posted : 06/09/2023 11:42 am
SSAdvisor reacted
SSAdvisor
(@ssadvisor)
Posts: 799
Noble Member
Premium Member
Pythonista Prodigy Badge
Prompt Engineer
API Entrepreneur
Power Member
Points: 15998
 

@admin sometimes you've got to spend a little to make a little more.

Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack

 
Posted : 06/24/2023 4:39 pm
Share: