Expand description
chat-prompts is part of LlamaEdge API Server project. It provides a collection of prompt templates that are used to generate prompts for the LLMs (See models in huggingface.co/second-state).
For the details of available prompt templates, see README.md.
Modules§
Enums§
- Chat
Prompt - Merge
RagContext Policy - Define the strategy for merging RAG context into chat messages.
- Prompt
Template Type - Define the chat prompt template types.
Traits§
- Build
Chat Prompt - Trait for building prompts for chat completions.
- Merge
RagContext - Trait for merging RAG context into chat messages