Skip to content

Forum in maintenance, we will back soon 🙂

Prompt chaining
 
Notifications
Clear all

Prompt chaining

11 Posts
3 Users
5 Reactions
875 Views
(@Anonymous 43)
Posts: 6
Active Member Guest
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: 1273
Member Admin
 

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: 1139
Noble Member
 

@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: 1273
Member Admin
 

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
(@Anonymous 43)
Posts: 6
Active Member Guest
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: 1273
Member Admin
 

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
SSAdvisor
(@ssadvisor)
Posts: 1139
Noble Member
 

@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
(@Anonymous 43)
Posts: 6
Active Member Guest
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
(@Anonymous 128)
Posts: 1
New Member Guest
 

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: 1273
Member Admin
 

@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: 1139
Noble Member
 

@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:
build ai agents ad