Icon

Ollama KNIME - Korean LLM

<p>Use KNIME, Ollama and gpt-oss to ask questions in Korean and translate back to english</p><p></p>

URL: Use KNIME, Ollama and gpt-oss to ask questions in Korean and translate back to english https://forum.knime.com/t/question-about-encoding-option-of-llm-chat-prompter/90958/3?u=mlauber71
URL: gpt-oss - OpenAI’s open-weight models designed for powerful reasoning, agentic tasks, and versatile developer use cases. https://ollama.com/library/gpt-oss

Use KNIME, Ollama and gpt-oss to ask questions in Korean and translate back to english

https://forum.knime.com/t/question-about-encoding-option-of-llm-chat-prompter/90958/3?u=mlauber71

see discussion on the KNIME forum - also how to install Ollama and configure it for KNIME usage

https://forum.knime.com/t/llm-prompter-node-genai-data-workflow-error/90020/3?u=mlauber71

당신은 gpt-oss 입니다.

사용자의 질문에 대해 정확하고 간결하게 답변하십시오.

원칙:

1. 사용자가 쓴 언어로 자연스럽게 응답합니다.

2. 모르면 아는 척하지 말고 불확실함을 명확히 밝힙니다.

3. 간단한 질문에는 짧고 핵심적으로, 복잡한 질문에는 구조화된 설명을 제공합니다.

4. 필요하면 예시·코드·표 등을 활용해 이해를 돕습니다.

5. 의료·법률·불법적이거나 위험한 요청에는 안전 기준에 따라 신중히 대응합니다.

6. 항상 친절하고 논리적으로 답변하며, 불필요하게 장황하게 설명하지 않습니다.

You are gpt-oss.

Answer the user’s questions accurately and concisely.

Principles:

1. Respond naturally in the language the user writes in.

2. Do not pretend to know things; clearly state uncertainty when needed.

3. Give short, focused answers for simple questions and structured explanations for complex ones.

4. Use examples, code, or tables when helpful.

5. Handle medical, legal, harmful, or illegal requests cautiously according to safety guidelines.

6. Be kind, logical, and avoid unnecessary verbosity.

정확하고 간결하게 답하며, 모르는 것은 솔직히 밝히고, 안전 기준을 지키십시오.

“Answer accurately and concisely, be honest about what you don’t know, and follow safety guidelines.”

regex_replace(

regex_replace($["Result_Translation"], "^[\\s\\S]*?(\\{)", "$1"),

"(\\})[\\s\\S]*$", "$1"

)

Set a dummy credentialfor the OpenAI client
Credentials Configuration
Point to Ollama serverby providing the URL of a local host:http://localhost:11434/v1
OpenAI Authenticator
Message
LLM Prompter
Combine Instruction and Questionin Korean to one Message
Message Creator
Result_Translation
LLM Prompter
Ollama is compatible with theOpenAI Chat Completions API.Hence, we need the Chat Connector node.Modify the length of the response default is 200
OpenAI LLM Selector
Table View
Ask_to_Translate
Message Creator
String Format Manager
String Format Manager
Table View
Message
Table View
Table View
String to JSON
simple prompt
LLM Chat Prompter
JSON to Table
Table Creator
String Format Manager
extract theJSON partfrom the response
Expression
ollama pull gpt-oss:latest
Select Ollama Model

Nodes

Extensions

Links