generate_example#
- langchain.chains.example_generator.generate_example(examples: List[dict], llm: BaseLanguageModel, prompt_template: PromptTemplate) str [source]#
Return another example given a list of examples for a prompt.
- Parameters:
examples (List[dict])
llm (BaseLanguageModel)
prompt_template (PromptTemplate)
- Return type:
str