Skip to content

Commit b7a96e2

Browse files
authored
Merge pull request #73 from microsoft/bruno-update-ollama-reqs
Update README and setup guide with instructions for pulling local models using Ollama
2 parents 48e57c4 + 0a7df2d commit b7a96e2

File tree

3 files changed

+18
-13
lines changed

3 files changed

+18
-13
lines changed

02-SetupDevEnvironment/readme.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,28 @@ Here's a quick rundown of the services:
3333
> - **Azure OpenAI** have your eye? [This is the document for you](getting-started-azure-openai.md).
3434
> - **Ollama** your choice? [This guide has the info you need](getting-started-ollama.md).
3535
36+
### **NOTE for local models with Ollama:**
37+
38+
The Ollama Codespace will provision all the necessary models that you need. However, if you are working in local mode, once you have installed Ollama, you need to pull the models for the lessons you want to run.
39+
40+
- For lesson "**02 - Setting Up for .NET Development with Generative AI**" and project [MEAIFunctionsOllama](https://github.com/microsoft/Generative-AI-for-beginners-dotnet/tree/main/02-SetupDevEnvironment/src/BasicChat-03Ollama) you need to pull model [llama3.2](https://ollama.com/library/llama3.2) by entering in terminal
41+
42+
```bash
43+
ollama pull llama3.2
44+
```
45+
46+
- For lesson "**03 - Core Generative AI Techniques with .NET**", when running the ollama projects like [RAGSimple-10SKOllama](https://github.com/microsoft/Generative-AI-for-beginners-dotnet/tree/main/03-CoreGenerativeAITechniques/src/RAGSimple-10SKOllama), you need to pull the models [all-minilm](https://ollama.com/library/all-minilm) and [phi3.5](https://ollama.com/library/phi3.5) by entering in terminal:
47+
48+
```bash
49+
ollama pull phi3.5
50+
ollama pull all-minilm
51+
```
52+
3653
## Learn and test AI models with GitHub Models
3754

3855
**GitHub Models** provides an intuitive way to experiment with various AI models directly within your development environment. This feature allows developers to test and interact with different models, understanding their capabilities and limitations before implementation. Through a simple interface, you can explore model responses, evaluate performance, and determine the best fit for your application requirements. Hosted within GitHub's infrastructure, these models offer reliable access and consistent performance, making them ideal for development and testing phases. Best of all, there is a free tier to start your exploration without any cost.
3956

40-
![Image for GitHub Models page, demonstrating multiple generative AI models](./images/github-models-webapge.png)
57+
![Image for GitHub Models page, demonstrating multiple generative AI models](./images/github-models-webpage.png)
4158

4259
## Pre-flight check: Setting up GitHub Access Tokens
4360

README.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,6 @@ Generative AI is transforming software development, and .NET is no exception. Th
3636

3737
You'll learn how to implement Generative AI into .NET projects, from basic text generation to building full-fledged solutions using **GitHub Models**, **Azure OpenAI Services** and **local models with Ollama**.
3838

39-
#### **NOTE for local models with Ollama:**
40-
41-
- For lesson "**02 - Setting Up for .NET Development with Generative AI**" and project "**MEAIFunctionsOllama**" you need to pull model "**llama3.2**" by entering in terminal
42-
43-
**ollama pull llama3.2**
44-
45-
- For lesson "**03 - Core Generative AI Techniques with .NET**" and project "**RAGSimple-10SKOllama**" you need to pull 2 models "**all-minilm**" and "**phi3.5**" by entering in terminal:
46-
47-
**ollama pull phi3.5**
48-
49-
**ollama pull all-minilm**
50-
5139
## 📦 Each Lesson Includes
5240

5341
- **Short Video**: A quick overview of the lesson (5-10 minutes).

0 commit comments

Comments
 (0)