mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-18 10:01:23 +01:00
Updated Ollama text generation (markdown)
parent
7a4cd50503
commit
c7f8228240
1 changed files with 8 additions and 10 deletions
|
|
@ -24,7 +24,7 @@ After installing Ollama, you need to download an AI model (think of it as the "b
|
|||
- **Mac**: Press `Cmd + Space`, type `Terminal`, press Enter
|
||||
- **Linux**: Press `Ctrl + Alt + T`
|
||||
|
||||
2. **Type this command and press Enter:**
|
||||
2. **Type the command and press Enter:**
|
||||
```
|
||||
ollama run llama3.2
|
||||
```
|
||||
|
|
@ -33,18 +33,16 @@ After installing Ollama, you need to download an AI model (think of it as the "b
|
|||
|
||||
4. **You'll see a prompt like `>>>` when it's ready** - just type `exit` to close it
|
||||
|
||||
## Step 3: Configure Fantasy Map Generator
|
||||
5. Visit [ollama.com/search](https://ollama.com/search) to see what other models you can download.
|
||||
|
||||
1. **Open Command Prompt/Terminal again**
|
||||
2. **Type:** `ollama serve`
|
||||
3. **Leave this window open** - Ollama is now running!
|
||||
4. **Open Fantasy Map Generator**
|
||||
5. **Select "ollama" from the AI model list**
|
||||
6. **In the key field, type:** `llama3.2` (or whatever model you downloaded)
|
||||
## Step 3: Start the server
|
||||
|
||||
**Important:** Fantasy Map Generator connects to Ollama at `http://localhost:11434/api/generate`. This should work automatically if you followed the steps above.
|
||||
1. Open Command Prompt/Terminal. Type: `ollama serve`. Leave this window open** - Ollama is now running!
|
||||
2. Open Fantasy Map Generator. Open AI notes generator and select "ollama" from the AI model list
|
||||
3. In the key field, type: `llama3.2` (or whatever model you downloaded)
|
||||
4. Update the prompt and click on `generate`
|
||||
|
||||
If you need to change the connection address, you can modify the endpoint in the `ai-generator.js` file.
|
||||
**Important:** Fantasy Map Generator connects to Ollama at `http://localhost:11434/api/generate`. This should work automatically by default. If you need to change the connection address, you can modify the endpoint in the FMG `ai-generator.js` file.
|
||||
|
||||
That's It! You can now generate text using your local AI model.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue