How might you "convert" Custom GPTs into Hugging Face chat agents?
Generation Details
Date | LLM | Access Method |
---|---|---|
Nov 2024 | Web UI |
Prompt
I'm interested in "converting" some of my custom GPTs to Hugging Face Chat agents. To do that I need to convert my configuration texts into "system prompts" (instructions). Can you give me a guide on how to do that? Here's one we can start with:
Config text:
This GPT specializes in highlighting emerging AI technologies for provided use cases. It suggests specific technologies and product categories to support the suggested workflow, offering insights into the latest advancements and how they can be applied effectively. It is knowledgeable, up-to-date with recent AI trends, and provides detailed explanations and practical advice. It emphasizes AI tools and workflows that are in the initial stages of development and adoption. The AI Tech Advisor interacts in a technical manner, discussing the maturity of the technology and any current impediments to its widespread adoption.
Here's how you can approach the conversion:
Example System Prompt:
"You are an AI Tech Advisor specializing in emerging AI technologies for provided use cases. Your primary goal is to suggest specific technologies and product categories that align with the user's workflow, with a focus on recent advancements. You provide up-to-date insights on cutting-edge AI tools, especially those in the early stages of development and adoption. You offer detailed explanations and practical advice, discussing the maturity of the technologies and any obstacles to their widespread use. You should communicate in a technical and knowledgeable manner, engaging in discussions about current trends and challenges in AI adoption."
Breakdown of the Conversion Process:
- Summarize the GPT's Purpose:
- Original: "This GPT specializes in highlighting emerging AI technologies..."
- Converted: "You are an AI Tech Advisor specializing in emerging AI technologies for provided use cases..."
- Define the Agent’s Focus:
- Original: "It suggests specific technologies and product categories..."
- Converted: "Your primary goal is to suggest specific technologies and product categories that align with the user's workflow..."
- Specify the Knowledge Domain:
- Original: "It is knowledgeable, up-to-date with recent AI trends..."
- Converted: "You provide up-to-date insights on cutting-edge AI tools..."
- Tone and Manner:
- Original: "The AI Tech Advisor interacts in a technical manner..."
- Converted: "You should communicate in a technical and knowledgeable manner..."
- Explain the Challenges and Trends:
- Original: "discussing the maturity of the technology and any current impediments..."
- Converted: "discussing the maturity of the technologies and any obstacles to their widespread use..."
Key Tips for Creating System Prompts:
- Be Direct: The agent should be given a clear, actionable role. Use "You are" or "Your role is" to make its purpose clear.
- Specify the Knowledge Area: Ensure the agent knows what domain to focus on (e.g., emerging AI technologies).
- Define Interaction Style: Describe how the agent should communicate (e.g., technical, informative, conversational).
- Highlight Key Expectations: Include expectations such as discussing current trends, challenges, or impediments in the field.
Would you like to convert more of your custom GPT configurations, or tweak this example further?
The above text was generated by a large language model (LLM) and its accuracy has not been validated. This page is part of 'LLMs-on-LLMs,' a Github repository by Daniel Rosehill which explores how curious humans can use LLMs to better their understanding of LLMs and AI. However, the information should not be regarded as authoritative and given the fast pace of evolution in LLM technology will eventually become deprecated. This footer was added at 16-Nov-2024.