mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-04 20:14:13 +00:00
get ollama working
This commit is contained in:
parent
ea50086190
commit
171a178783
9 changed files with 151 additions and 375 deletions
|
@ -10,14 +10,14 @@ from pydantic import BaseModel
|
|||
|
||||
|
||||
class LlamaGuardShieldConfig(BaseModel):
|
||||
model: str
|
||||
excluded_categories: List[str]
|
||||
model: str = "Llama-Guard-3-8B"
|
||||
excluded_categories: List[str] = []
|
||||
disable_input_check: bool = False
|
||||
disable_output_check: bool = False
|
||||
|
||||
|
||||
class PromptGuardShieldConfig(BaseModel):
|
||||
model: str
|
||||
model: str = "Prompt-Guard-86M"
|
||||
|
||||
|
||||
class SafetyConfig(BaseModel):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue