Writing the right prompt is often hard to get a quality LLM response. You want the prompt to be specialized and exhaustive enough for your problem. There is a high chance someone else might’ve stumbled across a similar situation and written the prompt you’ve been figuring out all this while.
langchain
and portkey-ai
hub
API
Pass the label of the repository on as an argument to pull
method as follows:
gpt-4
accepts System and User roles, let’s prepare them.
messages
to the chat completions call as an argument to the response.
See the full code