Distilling key points after >2 years of experience and from AI developers’ own tutorials, hands-on and with examples.
hat - chat directly, character card is your prompt
instruct- chat between "you" and "assistant" using the model's prompt format
chat-instruct- chat with you and a character card as a prompt but with the instruct template applied. .i.e "you are an AI playing x character, respond as the character would" converted to alpaca, wizard or whatever
There is no best, but for factual information, you probably want to keep to instruct mode. instruct-chat doesn't necessarily play the characters better or make them write longer. It's sort of hit or miss. one may work better than the other for a particular model and prompt.
Tips on improving your GitHub repository organization and structure. Bullet Points:
- Create meaningful branch names - Use descriptive commit messages - Keep a clean project history
- Separate your code into well-organized directories - Follow a consistent naming convention - Make use of pull requests
- Collaborate effectively by writing clear documentation - Maintain good communication within your team Keywords: GitHub, repository best practices, organization, structure, branch names, commit messages, project history, directories, naming conventions, pull requests, collaboration, documentation, effective communication
Open-source tools for prompt testing and experimentation, with support for both LLMs (e.g. OpenAI, LLaMA) and vector databases (e.g. Chroma, Weaviate, LanceDB).