Crate chat_prompts

Crate chat_prompts 

Source
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§

agent
chat
error
utils

Enums§

ChatPrompt
MergeRagContextPolicy
Define the strategy for merging RAG context into chat messages.
PromptTemplateType
Define the chat prompt template types.

Traits§

BuildChatPrompt
Trait for building prompts for chat completions.
MergeRagContext
Trait for merging RAG context into chat messages