Skip to content

Commit

Permalink
Updated prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
isc-lperezra committed Dec 21, 2024
1 parent 8fa379a commit abc0fb7
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 encontrados en el paciente del 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: "+text,
"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,
"stream": False
}
response = requests.post(url, json=data)
Expand Down

0 comments on commit abc0fb7

Please sign in to comment.