Find answers from the community

A
Ariyan
Offline, last seen 3 months ago
Joined September 25, 2024
Hi there. a quick question. I've looked at the prompt templates but it looks like you have to use them each for seperate use cases. is there an option to just write a prompt for general purpose?

like in langchain you define a prompt_template and then you use prompt = Prompt(template=prompt_template) and you just use llm_chain = LLMChain(prompt=prompt, llm=OpenAI(temperature=0))

here in llamaindex when we are building an index you have to pass like summary_template=SUMMARY_PROMPT which is for a specific usecase
9 comments
A
L