mirror of
https://github.com/lightbroker/llmsecops-research.git
synced 2026-07-07 05:27:52 +02:00
create/update all Phi-3 templates
This commit is contained in:
@@ -54,7 +54,7 @@ class BaseSecurityGuidelinesService(AbstractSecurityGuidelinesService):
|
||||
raise ValueError(f"Parameter 'user_prompt' cannot be empty or None")
|
||||
|
||||
try:
|
||||
prompt_template = self._get_template(user_prompt=user_prompt)
|
||||
prompt_template = self._get_template(user_prompt=user_prompt)
|
||||
chain = self._create_chain(prompt_template)
|
||||
result = GuidelinesResult(
|
||||
completion_text=chain.invoke(user_prompt),
|
||||
|
||||
Reference in New Issue
Block a user