LlamaGuard-2-8b
Last updated
Was this helpful?
Last updated
Was this helpful?
This documentation is valid for the following list of our models:
meta-llama/LlamaGuard-2-8b
An 8B-parameter Llama 3-based safeguard model, designed for content classification in LLM inputs (prompt classification) and responses (response classification), similar to Llama Guard. Functioning as an LLM, it generates text outputs that indicate whether a given prompt or response is safe or unsafe, and if deemed unsafe, it specifies the violated content categories.
If you don’t have an API key for the AI/ML API yet, feel free to use our Quickstart guide.
Creates a chat completion using a language model, allowing interactive conversation by predicting the next response based on the given chat history. This is useful for AI-driven dialogue systems and virtual assistants.
/v1/chat/completions
meta-llama/LlamaGuard-2-8b
No body