Skip to content

Commit

Permalink
Prompt changed
Browse files Browse the repository at this point in the history
  • Loading branch information
isc-lperezra committed Dec 23, 2024
1 parent abc0fb7 commit 5229282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ENCODER/BP/AnalyzeTextProcess.cls
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Method AnalyzeText(text As %String, analysisId As %String, language As %String)
url = "http://ollama:11434/api/generate"
data = {
"model": "llama3.2",
"prompt": "Extrae en formato CSV los diagnósticos en el siguiente texto sin mostrar diagnósticos que no se observen ni para los que no hay hallazgos patológicos, evita fórmulas de cortesía y notas: "+text,
"prompt": "Extrae únicamente los diagnósticos del siguiente texto separándolos por , y sin añadir interpretaciones: "+text,
"stream": False
}
response = requests.post(url, json=data)
Expand Down

0 comments on commit 5229282

Please sign in to comment.