How are LLMs assigned tasks in Python code?
题意:
如何在Python代码中为LLM分配任务?
问题背景:
I'm following Nicholas' Renotte's tutorials on VSCode, LangChain, and OpenAI using Python.
我正在跟随Nicholas Renotte的教程,学习在VSCode中使用Python进行LangChain和OpenAI的开发。
These are the codeblocks I've seen from the aforementioned tutorials, and I don't see any other lines of code that tell the AI what to do.
这些是我从前面提到的教程中看到的代码块,我没有看到其他任何告诉AI该做什么的代码行。
title_template = PromptTemplate( input_variables = ['topic'], template='write me a youtube video title about {topic}' ) So is AI given a task using this kind of conversational language? Is that really all that's needed, and wouldn't this place a lot of pressur