You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
varprovider=newOllamaProvider("http://localhost:11434",options:newRequestOptions{Temperature=0,Stop=new[]{"Observation","[END]"},// add injection word `Observation` and `[END]` to stop the model(just as additional safety feature)});varmodel=newOllamaChatModel(provider,id:"llama3").UseConsoleForDebug();
look like the wiki page is outdate and need to be update
Describe the bug
after install this two package
1.LangChain.Core
2.LangChain.Providers.Ollama
copy the example code for ollama, but it's show OllamaLanguageModelInstruction and OllamaLanguageModelOptions not found.
Steps to reproduce the bug
1.install LangChain.Core
2.LangChain.Providers.Ollama
3.copy agent example for ollama
Expected behavior
it's can run
Screenshots
No response
NuGet package version
LangChain v0.15.0
LangChain.Core v0.15.0
LangChain.Providers.Ollama v0.15.0
Additional context
No response
The text was updated successfully, but these errors were encountered: