BotSharp/docs/llama-sharp/use-llamasharp-in-ui.md
2024-03-10 20:00:54 +08:00

30 lines
822 B
Markdown

# Use LLamaSharp in BotSharp
Start the BotSharp backend and frontend services, and follow this tutorial.
## Install LLamaSharp Plugin in UI.
Go to the Plugin page and install LLamaSharp Plugin.
![Install LlamaSharp Plugin](assets/install-llamasharp-plugin.png)
## Config LLamaSharp as LLM Providers for Agents
Edit or create an agent in Agents page, and config the agent.
![Edit Agent](assets/edit-agent.png)
In the edit page, config the provider as llama-sharp.
![Choose LLamaSharp as Provider](assets/choose-llamasharp-as-provider.png)
Then test the agent.
![Click Test Agent Button](assets/click-test-button.png)
![Test Agent Example](assets/converstaion-examples.png)
If run successfully, you will see log like this in BotSharp service's console.
![Console Output](assets/console-output-in-botsharp.png)