Skip to content

Commit

Permalink
dify
Browse files Browse the repository at this point in the history
  • Loading branch information
wangzheng422 committed Nov 19, 2024
1 parent 2050ec3 commit 5ccce36
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions redhat/ocp4/4.16/2024.11.dify.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,22 +82,40 @@ securityContext:
# config and workflow in dify
We need to set dify's llm model.
![](imgs/2024.11.dify.md/2024-11-19-18-39-55.png)
Select ollama
![](imgs/2024.11.dify.md/2024-11-19-18-40-25.png)
Fill in name, and the ollama rest api url
![](imgs/2024.11.dify.md/2024-11-19-18-41-42.png)
Add another ollama llm model
![](imgs/2024.11.dify.md/2024-11-19-18-42-12.png)
Now, we have access to 2 ollama models.
![](imgs/2024.11.dify.md/2024-11-19-18-42-51.png)
Let us try a pre-defined use case.
![](imgs/2024.11.dify.md/2024-11-19-18-44-41.png)
Go into this use case
![](imgs/2024.11.dify.md/2024-11-19-18-45-03.png)
This workflow use gpt-4 model by default, let us change it to ollama model.
![](imgs/2024.11.dify.md/2024-11-19-18-45-48.png)
After change the model, the workflow looks like this.
![](imgs/2024.11.dify.md/2024-11-19-18-46-39.png)
Expand Down

0 comments on commit 5ccce36

Please sign in to comment.