<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel rdf:about="https://community.wolfram.com">
    <title>Community RSS Feed</title>
    <link>https://community.wolfram.com</link>
    <description>RSS Feed for Wolfram Community showing any discussions tagged with Product Set Up sorted by active.</description>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3694230" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3685386" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3444192" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3558367" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3552254" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/339315" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3488555" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3465203" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3417144" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3326673" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3201543" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3282353" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3254456" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3250945" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/2929768" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3248036" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3066592" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/1266184" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3155725" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3132414" />
      </rdf:Seq>
    </items>
  </channel>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3694230">
    <title>Mathematica on MacBook Neo</title>
    <link>https://community.wolfram.com/groups/-/m/t/3694230</link>
    <description>Has anyone installed Mathematica on the new MacBook Neo? The machine uses the A18 phone processor and has only 8 GB memory, but online reviews claim it has surprisingly good performance. I&amp;#039;m considering buying one for travel, but wondering how well Mathematica performs on it.</description>
    <dc:creator>John Shonder</dc:creator>
    <dc:date>2026-04-17T13:35:21Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3685386">
    <title>Using Wolfram software online on Apple Ipad Air 2026</title>
    <link>https://community.wolfram.com/groups/-/m/t/3685386</link>
    <description>Dear All,  &#xD;
I bought a new Apple iPad Air 2026 - 11 inch - 128GB, can I use the Wolfram software online on it?&#xD;
In advance, thanks for your answer!</description>
    <dc:creator>Jos Klaps</dc:creator>
    <dc:date>2026-04-13T12:46:48Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3444192">
    <title>Help new install Mathematica on Raspberry Pi 5</title>
    <link>https://community.wolfram.com/groups/-/m/t/3444192</link>
    <description>Team, I am very rusty on this one. I have been about 4 years away and returning to a new RB Pi 5.o.&#xD;
The problem is that I do not know how to get started with installation of Mathematica.&#xD;
&#xD;
I downloaded an Installation script. But from here I am lost. I click the file, but only opens a text file with a code. Can not get to go any further.</description>
    <dc:creator>Jose Calderon</dc:creator>
    <dc:date>2025-04-14T23:29:40Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3558367">
    <title>Mathematica won’t install on Trixie 64bit</title>
    <link>https://community.wolfram.com/groups/-/m/t/3558367</link>
    <description>Hello  &#xD;
I tried using the shell script from wolfram website to install 14.2 on Trixie  &#xD;
Didn’t work due to failed dependencies…  &#xD;
So I downloaded these two pkgs manually from ftp.debian.org  &#xD;
libprec3_8.39-13_arm64.deb;   &#xD;
libwayland-egl1-mesa-22.3.6-1+deb12u1_arm64.deb  &#xD;
And after installing them, I can proceed with the installation…  &#xD;
Any suggestions if there is a better way?</description>
    <dc:creator>Ed Wong</dc:creator>
    <dc:date>2025-10-09T02:29:04Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3552254">
    <title>Is Wolfram Ryzen compatible?</title>
    <link>https://community.wolfram.com/groups/-/m/t/3552254</link>
    <description>Are there any compatibility problems with Ryzen CPUs?</description>
    <dc:creator>Mark Harder</dc:creator>
    <dc:date>2025-09-28T13:34:25Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/339315">
    <title>How to use MathTensor with Mathematica 10</title>
    <link>https://community.wolfram.com/groups/-/m/t/339315</link>
    <description>Hello&#xD;
&#xD;
I have been using MathTensor for a long time and I always received helpful information from the web-site of the authors (Christensen, Parker). When trying to approach this web-site to seek information how to use this package with Mathematica 10 I was surprised to learn that this web-site obviously does not exitst any longer. Each attempt to open this site was in vain. Does anybody know what happened?&#xD;
Surely, M 10 offers a lot of tensor facilities but I believe that MathThensor could still offer a lot beyond that what Mathematica 10 offers. Does anybody know how to install MathTensor on Mathematica 10 on a Win7 PC?&#xD;
Thanks in advance&#xD;
Andre</description>
    <dc:creator>Andre Hertkorn</dc:creator>
    <dc:date>2014-09-09T14:07:31Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3488555">
    <title>Cloud chat notebooks frequently entirely failing to produce output?</title>
    <link>https://community.wolfram.com/groups/-/m/t/3488555</link>
    <description>This must be a bug of some kind. &#xD;
&#xD;
It&amp;#039;s not even consistent, but when it&amp;#039;s occurring, no matter what input I give a cloud chat notebook cell, using Wolfram as the LLM service, OpenAI as the LLM service, or even Gemini as the LLM service, there will be long periods when the evaluation of the chat notebook cell either returns an errored-out empty cell, or it briefly displays an empty cell and then deletes that in-progress empty output. If you mouse over the red cell (when it does show up), you see an error: &amp;#034;An unknown box name (ToBoxes) was sent as the BoxForm for the expression. Check the format rules for the expression.&amp;#034;.&#xD;
&#xD;
Here&amp;#039;s an example where I evaluated a blank chat notebook input, with just that red inner cell showing up:&#xD;
&#xD;
![empty cell with ToBoxes error][1]&#xD;
&#xD;
The TLDR is that there might be an errant backtick after `UpdateInterval` breaking everything somehow:&#xD;
&#xD;
    Cell[&#xD;
      BoxData[&#xD;
        DynamicBox[&#xD;
          ToBoxes[&#xD;
            Refresh[&#xD;
              CompoundExpression[&#xD;
                Increment[Wolfram`Chatbook`SendChat`Private`x$82600],&#xD;
                If[&#xD;
                  MatchQ[Wolfram`Chatbook`SendChat`Private`$reformattedCell, _Cell],&#xD;
                  CompoundExpression[&#xD;
                    Pause[1],&#xD;
                    NotebookWrite[&#xD;
                      Wolfram`Chatbook`SendChat`Private`cellObject$81846,&#xD;
                      Wolfram`Chatbook`SendChat`Private`$reformattedCell&#xD;
                    ],&#xD;
                    Remove[&#xD;
                      Wolfram`Chatbook`SendChat`Private`x$82600,&#xD;
                      Wolfram`Chatbook`SendChat`Private`cellObject$81846&#xD;
                    ],&#xD;
                    Null&#xD;
                  ],&#xD;
                  Wolfram`Chatbook`Common`catchTop[&#xD;
                    Wolfram`Chatbook`SendChat`Private`dynamicTextDisplay[&#xD;
                      Wolfram`Chatbook`SendChat`Private`container$81846,&#xD;
                      Function[&#xD;
                        CompoundExpression[&#xD;
                          Set[&#xD;
                            Wolfram`Chatbook`$ChatHandlerData[&amp;#034;EventName&amp;#034;],&#xD;
                            &amp;#034;FormatChatOutput&amp;#034;&#xD;
                          ],&#xD;
                          Wolfram`Chatbook`FormatChatOutput[SlotSequence[1]]&#xD;
                        ]&#xD;
                      ],&#xD;
                      True&#xD;
                    ]&#xD;
                  ]&#xD;
                ]&#xD;
              ],&#xD;
              TrackedSymbols :&amp;gt; {Wolfram`Chatbook`SendChat`Private`x$82600},&#xD;
              UpdateInterval -&amp;gt; 0.4`&#xD;
            ],&#xD;
            StandardForm&#xD;
          ],&#xD;
          Deinitialization :&amp;gt; Quiet[TaskRemove[Wolfram`Chatbook`SendChat`Private`task$81846]],&#xD;
          Initialization :&amp;gt; If[&#xD;
            UnsameQ[$SessionID, 35126011282740619268],&#xD;
            NotebookDelete[EvaluationCell[]]&#xD;
          ]&#xD;
        ]&#xD;
      ],&#xD;
&#xD;
Can you spot it?&#xD;
&#xD;
&#xD;
----------&#xD;
&#xD;
Ok, now what made this extremely difficult is that I believe somehow the parsing diagnostic reports an issue with the `form` argument to `ToBoxes`, even though it looks like it&amp;#039;s correct (`StandardForm`). Indeed, tweaking and playing around with it gives a clue:&#xD;
&#xD;
    ToBoxes[&#xD;
        Refresh[&#xD;
            CompoundExpression[Null]`&#xD;
            ], StandardForm&#xD;
        ] &#xD;
&#xD;
yields:&#xD;
&#xD;
    Syntax::sntxf: &amp;#034;Refresh[&amp;#034; cannot be followed by &amp;#034;CompoundExpression[Null]`]&amp;#034;. &#xD;
&#xD;
&#xD;
Removing the errant backtick gives a result that&amp;#039;s almost reasonably renderable.&#xD;
&#xD;
Now here&amp;#039;s where things get a tiny bit deep. Because the issue is sometimes invisible, I had to start off my debugging session by tracking down the code that draws the tooltip. I was curious, so I spent several hours digging into the cloud chat notebook javascript implementation - thankfully I&amp;#039;m familiar with react and modern react buildsystems. &#xD;
&#xD;
If you ever need to debug the wolfram cloud notebook interface, this information may be useful. They&amp;#039;ve not obfuscated the code, so if you&amp;#039;re running in `PRD` instead of `LOCAL`, `LOCAL8080`, or `DEVEL`, the logging functions are there, just nopped out. To turn it all on, look for the debug logger class, you can search for `debug()` in `dist/dyn/layoutWithNotebook.modern[some hash string].modern.js` and you&amp;#039;ll see where the shims are nopped out:&#xD;
&#xD;
                    warn() {}&#xD;
                    info() {}&#xD;
                    debug() {}&#xD;
                    trace() {&#xD;
                        this.enabled &amp;amp;&amp;amp; f &amp;gt;= _(&amp;#034;trace&amp;#034;) &amp;amp;&amp;amp; console.trace()&#xD;
                    }&#xD;
&#xD;
Then, if you set a breakpoint either after the class is finished defining, or at debug `itself` (will fire on any invocation of debug), you can monkey patch them back into functionality quite easily with the console as such: &#xD;
&#xD;
    (this.__proto__.warn = console.warn) | (this.__proto__.info = console.info) | (this.__proto__.debug = console.debug) | (this.__proto__.trace = console.trace)&#xD;
&#xD;
If you do this you will quickly end up with thousands and thousands of log entries - they were quite thorough when building a full clone of the Mathematica environment in the browser. You&amp;#039;ll probably enjoy chrome devtools crashing frequently from the memory usage.&#xD;
&#xD;
This logging indicated there are a surprising number of unimplemented functions being sent to the browser client to evaluate, including symbols that look like they might be important to the functionality I&amp;#039;m using (e.g. `Unsupported symbol Wolfram`Chatbook`UI`MakeChatCloudDockedCellContents`). I can&amp;#039;t tell if I&amp;#039;m just experiencing two separate issues (blank output due to models spitting out unsupported symbols, separate from the backtick issue?) or something deeper.&#xD;
&#xD;
Given I don&amp;#039;t have access to mathematica desktop these days, I&amp;#039;ve been playing around with the cloud notebooks instead, so I&amp;#039;ll have to fuss with this more.&#xD;
&#xD;
&#xD;
For completeness, here&amp;#039;s the notebook:&#xD;
&#xD;
&amp;amp;[Wolfram Notebook][2]&#xD;
https://community.wolfram.com/groups/-/m/t/3336417&#xD;
&#xD;
&#xD;
  [1]: https://community.wolfram.com//c/portal/getImageAttachment?filename=Screenshot2025-06-29at7.43.08%E2%80%AFPM.png&amp;amp;userId=3488519&#xD;
  [2]: https://www.wolframcloud.com/obj/256e20f0-3ee2-47ea-b633-94f02e98104c</description>
    <dc:creator>Alexander Riccio</dc:creator>
    <dc:date>2025-06-30T03:38:50Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3465203">
    <title>Raspberry Pi 5 Mathematica doesn&amp;#039;t start</title>
    <link>https://community.wolfram.com/groups/-/m/t/3465203</link>
    <description>I&amp;#039;m a newbie. I installed Mathematica on my Raspberry Pi 5, running Linux (version 6.12.25+rpt-rpi-2712). When I access it via RealVNC with a screen size of 1280 x 1024, the loading whirlpool appears, but after 20 seconds, nothing happens.  Where are the error logs?  Any suggesion? Mathematica problem or should blame Vnc?  Thanks in advance</description>
    <dc:creator>Emine Simsek</dc:creator>
    <dc:date>2025-05-21T09:16:17Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3417144">
    <title>How to use and download Mathematica?</title>
    <link>https://community.wolfram.com/groups/-/m/t/3417144</link>
    <description>If I get help on how to use and download Mathematica it would be greatly appreciated!</description>
    <dc:creator>Mark Raygorodsky</dc:creator>
    <dc:date>2025-03-15T17:56:31Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3326673">
    <title>How to install WANE 14.1</title>
    <link>https://community.wolfram.com/groups/-/m/t/3326673</link>
    <description>Hello all :)  &#xD;
I just bought a one year subscription plan for WANE.  &#xD;
But when I download Wolfram 14.1 I only get Mathematica 14.1 not WANE 14.1.  &#xD;
I have tried this 3 times with no success.  &#xD;
I sent this question to Support @Wolfram and I was told...again..&amp;#034;it&amp;#039;s the same product&amp;#034; that is Wolfram 14.1.  &#xD;
If someone could help me I will be very grateful..  &#xD;
Kind regards to all.  &#xD;
Jean-Michel</description>
    <dc:creator>Jean-Michel Collard</dc:creator>
    <dc:date>2024-11-21T19:51:16Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3201543">
    <title>Setup local AI with Ollama and Wolfram: A step-by-step guide for configuring on Windows systems</title>
    <link>https://community.wolfram.com/groups/-/m/t/3201543</link>
    <description>![Setup local AI with Ollama and Wolfram: A step-by-step guide for configuring on Windows systems][1]&#xD;
&#xD;
# Ollama setup (post-it note instructions)&#xD;
&#xD;
Set a Windows User Environment Variable OLLAMA_ORIGINS with a value of * (Start -&amp;gt; Settings -&amp;gt; System -&amp;gt; About -&amp;gt; Advanced System Settings (on the right) -&amp;gt; Advanced (tab) -&amp;gt; Environment Variables -&amp;gt; Add a new one on top)&#xD;
&#xD;
Here&amp;#039;s your HTTP request. The &amp;#034;ExportString&amp;#034; is the magic:&#xD;
&#xD;
    ollamaHttpRequest[model_, contextSize_, context_, seed_, streaming_, &#xD;
           prompt_] := HTTPRequest[&amp;#034;http://127.0.0.1:11434/api/generate&amp;#034;,&#xD;
           &amp;lt;|&amp;#034;Method&amp;#034; -&amp;gt; &amp;#034;POST&amp;#034;,&#xD;
            &amp;#034;Headers&amp;#034; -&amp;gt;&#xD;
             &amp;lt;|&amp;#034;Content-Type&amp;#034; -&amp;gt; &amp;#034;application/json&amp;#034;|&amp;gt;,&#xD;
            &amp;#034;Body&amp;#034; -&amp;gt; ExportString[&#xD;
              &amp;lt;|&amp;#034;model&amp;#034; -&amp;gt; model,&#xD;
               &amp;#034;prompt&amp;#034; -&amp;gt; prompt,&#xD;
               &amp;#034;context&amp;#034; -&amp;gt; context,&#xD;
               &amp;#034;stream&amp;#034; -&amp;gt; streaming,&#xD;
               &amp;#034;options&amp;#034; -&amp;gt;&#xD;
                &amp;lt;|&amp;#034;seed&amp;#034; -&amp;gt; seed,&#xD;
                 &amp;#034;num_ctx&amp;#034; -&amp;gt; contextSize|&amp;gt;|&amp;gt;,&#xD;
              &amp;#034;JSON&amp;#034;]|&amp;gt;];&#xD;
&#xD;
Do a URLRead on that to send it to Ollama and you get an object from Ollama you can parse (should give you a &amp;#039;200&amp;#039; status server code).&#xD;
&#xD;
Here&amp;#039;s how you parse a non-streaming response:&#xD;
&#xD;
    ollamaReadSingle[ollamaHttpResponse_] := &#xD;
      Association[ImportString[ollamaHttpResponse[&amp;#034;Body&amp;#034;], &amp;#034;JSON&amp;#034;]];&#xD;
&#xD;
And here&amp;#039;s how you parse a streaming one:&#xD;
&#xD;
    ollamaReadStreaming[ollamaHttpResponse_] := &#xD;
      Association[#] &amp;amp;@ImportString[#, &amp;#034;JSON&amp;#034;] &amp;amp; /@ &#xD;
       StringSplit[ollamaHttpResponse[&amp;#034;Body&amp;#034;], &amp;#034;\n&amp;#034;];&#xD;
&#xD;
Confirming this doesn&amp;#039;t to async responses yet (so you will wait even if you put in &amp;#034;streaming&amp;#034; unless you figure that part out).&#xD;
Didn&amp;#039;t see this anywhere else. As much fun as it is being the only person in the world with a barely-working prototype...&#xD;
&#xD;
# Streaming Chat Setup&#xD;
&#xD;
I am under the impression there is more interest in using Ollama with Mathematica. I&amp;#039;ve got quite a few features working, and would like to share. The idea with this is if you&amp;#039;re a grad student or armchair researcher, you can get up and running with Ollama and start experimenting today.&#xD;
&#xD;
If you&amp;#039;re not using Ollama, it is available at [ollama.com][2]. It is a free and runs AIs locally on your computer (with extensive use of your graphics card to generate responses).&#xD;
&#xD;
Attached is a notebook with an extensible framework that I hope will permit further experimentation with GPTs. Some features are included already. It&amp;#039;s tested, but not extensively. **Instructions are for Windows**, however there are parallel functions and features for Mac and Linux (and these instructions are also much more extensively covered online).&#xD;
&#xD;
All this model does is stream chat requests - it does not pull additional models, list what models you have, or run any other commands besides sending a streaming chat request (though it should be relatively easy to extend these features).&#xD;
&#xD;
**Crash Course**&#xD;
&#xD;
If you&amp;#039;re already using Ollama, the crash course is to run the commands to load the model names, variables, and functions in the &amp;#034;Run Once&amp;#034; section, then scroll down to the bottom and enjoy. You may need to add an &amp;#034;OLLAMA_ORIGINS&amp;#034; environment variable (detailed below).&#xD;
&#xD;
If this is your first time using Ollama, you will want to use Powershell to download at least one model file (this contains all the weights [the &amp;#034;brains&amp;#034;] of the AI). You should also attempt to start a Powershell chat session with the model to make sure it is returning responses, and there is no issue with Ollama failing to run.&#xD;
&#xD;
If you are having issues running Ollama commands from Powershell, see if you can navigate to the installation folder, typically %AppData%\Local\Programs\Ollama, and attempt to run the commands there. If commands work from the Ollama installation folder, then the Ollama path is likely missing from your &amp;#034;Path&amp;#034; environment variable.&#xD;
&#xD;
**Ollama Environment Variables**&#xD;
&#xD;
Unless you do application configuration for a living, this is probably your first time hearing about environment variables. There are a few that you&amp;#039;ll want to set / unset / know what they do.&#xD;
&#xD;
To get into these (on Windows 10), go to Start -&amp;gt; Settings -&amp;gt; System -&amp;gt; About, and click &amp;#034;Advanced system settings&amp;#034; on the right. On the &amp;#034;System Properties&amp;#034; window, go to the &amp;#034;Advanced&amp;#034; tab and click &amp;#034;Environment Variables&amp;#034;. You should get the following window:&#xD;
&#xD;
![enter image description here][3]&#xD;
&#xD;
(I removed my system irrelevant variables for obvious security reasons, but you should have a lot.)&#xD;
&#xD;
You may click &amp;#034;New&amp;#034; to add further variables. You will need to add &amp;#034;OLLAMA_ORIGINS&amp;#034; and set the value to &amp;#034;*://localhost&amp;#034; as in the example so that Ollama is allowed to receive connections from your own computer.&#xD;
&#xD;
If you click on &amp;#034;Path&amp;#034; and click &amp;#034;Edit&amp;#034;, you may have the path to the Ollama install directory in here. This allows Powershell, the Run dialog, and other things to run Ollama without needing to reference the entire folder path in the command line.&#xD;
&#xD;
&amp;#034;OLLAMA_MODELS&amp;#034; will let you specify a different directory to download models into.&#xD;
&#xD;
Lastly, please confirm that Mathematica is allowed to access the Internet (on version 12, this option is under Edit -&amp;gt; Preferences -&amp;gt; Internet &amp;amp; Mail).&#xD;
&#xD;
**Building Ollama HTTP Requests**&#xD;
&#xD;
Most of the HTTP request is built using Mathematica association datatypes - this is mostly just a list where values are assigned to a named &amp;#034;key&amp;#034; as well as maintaining an array position, and can be called by the name of the key.&#xD;
&#xD;
Same as I&amp;#039;ve mentioned in an earlier post, the secret to getting the HTTP requests to work is to export *just the body* of the HTTP request association to JSON:&#xD;
&#xD;
    ollamaHttpRequest[bodyAssociation_] :=&#xD;
      HTTPRequest[&amp;#034;http://127.0.0.1:11434/api/generate&amp;#034;,&#xD;
       &amp;lt;|&amp;#034;Method&amp;#034; -&amp;gt; &amp;#034;POST&amp;#034;,&#xD;
        &amp;#034;Headers&amp;#034; -&amp;gt; &amp;lt;|&amp;#034;Content-Type&amp;#034; -&amp;gt; &amp;#034;application/json&amp;#034;|&amp;gt;,&#xD;
        &amp;#034;Body&amp;#034; -&amp;gt; ExportString[bodyAssociation, &amp;#034;JSON&amp;#034;]|&amp;gt;];&#xD;
&#xD;
This portion works for streaming responses as well as single-body responses.&#xD;
&#xD;
The notebook attached builds the request in phases using a temporary association variable, beginning with a basic request saved to a temporary variable, and **appending** further body tags to that temporary variable before returning it as the result of the function:&#xD;
&#xD;
    ollamaHttpRequestBody[ollamaOptions_] :=&#xD;
    (&#xD;
        ollamaTempHttpRequestBody =&#xD;
            &amp;lt;|&amp;#034;model&amp;#034; -&amp;gt; ollamaInputModelString,&#xD;
                &amp;#034;prompt&amp;#034; -&amp;gt; ollamaInputFuncUserPromptString,&#xD;
                &amp;#034;stream&amp;#034; -&amp;gt; True,&#xD;
                &amp;#034;keep_alive&amp;#034; -&amp;gt; ollamaInputKeepAliveString,&#xD;
                &amp;#034;options&amp;#034; -&amp;gt; ollamaOptions|&amp;gt;;&#xD;
            &#xD;
            (* Context - Included if not empty *)&#xD;
            If[ollamaUseContext &amp;amp;&amp;amp; (ollamaVarCurrentConversationList != {}),&#xD;
                ollamaTempHttpRequestBody = &#xD;
                Append[ollamaTempHttpRequestBody, &#xD;
                &amp;#034;context&amp;#034; -&amp;gt; ollamaInputFuncSelectedContext]];&#xD;
            &#xD;
            (* Template *)&#xD;
            If[ollamaUseTemplate,&#xD;
                ollamaTempHttpRequestBody = &#xD;
                Append[ollamaTempHttpRequestBody, &#xD;
                &amp;#034;template&amp;#034; -&amp;gt; ollamaInputTemplateString]];&#xD;
            &#xD;
            (* System Prompt *)&#xD;
            If[ollamaUseSystem,&#xD;
                ollamaTempHttpRequestBody = &#xD;
                Append[ollamaTempHttpRequestBody, &#xD;
                &amp;#034;system&amp;#034; -&amp;gt; ollamaInputSystemPromptString]];&#xD;
            &#xD;
            (* Image - Included if this model is a vision model *)&#xD;
            If[ollamaUseImage &amp;amp;&amp;amp; &#xD;
                ollamaFuncIsBoolVision[ollamaInputModelString], &#xD;
                ollamaTempHttpRequestBody = &#xD;
                Append[ollamaTempHttpRequestBody, &#xD;
                &amp;#034;images&amp;#034; -&amp;gt; ollamaInputFuncImageList]];&#xD;
            &#xD;
            (* Include further body tags in here *)&#xD;
            &#xD;
            (* This returns just the temporary HTTP request body association \&#xD;
            variable as the result of the function *)&#xD;
            ollamaTempHttpRequestBody&#xD;
    );&#xD;
&#xD;
The &amp;#034;Options&amp;#034; portion of the request is built much the same way, as are the image and prompt parsing functions. This is done to allow easy extensibility - simply include an additional Boolean flag and pass the prompt or image to a manipulation function.&#xD;
&#xD;
**Saving Information**&#xD;
&#xD;
The notebook will save the contents of each query, and can be further extended to save further information by passing variables to Current Query Association variable (such as image sizes and CRC32 file hashes), as demonstrated below in the image builder.&#xD;
&#xD;
This function will take an input of a list of paths of images, and first import the files so the files can have information saved (such as the size and hash), and then are converted into raw images so they can be manipulated, resized and the like, and then re-exported into JPG format for use as input into Ollama:&#xD;
&#xD;
    ollamaInputFuncImageList := (&#xD;
       (* Appends the image paths to the query *)&#xD;
       ollamaVarCurrentQueryAssociation = &#xD;
        Append[ollamaVarCurrentQueryAssociation, &#xD;
         &amp;#034;imagePaths&amp;#034; -&amp;gt; ollamaVarImagePathsString];&#xD;
       &#xD;
       (* Splits the single string list of files up at the semicolons \&#xD;
    into a list of file paths *)&#xD;
       ollamaTempFilePathsList = &#xD;
        ollamaFuncGetImagePathsStringList[ollamaVarImagePathsString];&#xD;
       &#xD;
       (* Entire image files are imported as binary objects *)&#xD;
       ollamaTempImageFileList = &#xD;
        ByteArray /@ (Import[#, &amp;#034;Byte&amp;#034;] &amp;amp; /@ ollamaTempFilePathsList);&#xD;
       &#xD;
       (* Appends the size of the images to the current query association \&#xD;
    *)&#xD;
       ollamaVarCurrentQueryAssociation = &#xD;
        Append[ollamaVarCurrentQueryAssociation,&#xD;
         &amp;#034;imageFileSizes&amp;#034; -&amp;gt; (Length[#] &amp;amp; /@ ollamaTempImageFileList)];&#xD;
       &#xD;
       (* Also appends a list of file hashes *)&#xD;
       ollamaVarCurrentQueryAssociation = &#xD;
        Append[ollamaVarCurrentQueryAssociation,&#xD;
         &amp;#034;imageHashesCRC32&amp;#034; -&amp;gt; (ollamaFuncImageFileHashString[#, &#xD;
              &amp;#034;CRC32&amp;#034;] &amp;amp; /@ ollamaTempImageFileList)];&#xD;
       &#xD;
       (* The binary object image files are imported again in the image \&#xD;
    format, so it is now editable by image functions *)&#xD;
       ollamaTempImagesList = &#xD;
        ImportByteArray[#] &amp;amp; /@ ollamaTempImageFileList;&#xD;
       &#xD;
       (* This runs all the edits we want to apply to our images *)&#xD;
       ollamaTempImagesList = &#xD;
        ollamaFuncAlterImage[#] &amp;amp; /@ ollamaTempImagesList;&#xD;
       &#xD;
       (* Returns the list of images for inclusion in the HTTP request *)&#xD;
    &#xD;
       &#xD;
       ToCharacterCode[ExportString[#, &amp;#034;JPG&amp;#034;]] &amp;amp; /@ ollamaTempImagesList);&#xD;
&#xD;
**Receiving Streaming Responses**&#xD;
&#xD;
On URL submission, the Ollama server will begin returning responses. HTTP requests can be manually submitted via the use of the URL Submit function (however this notebook will call the URL Submit function with a number of other helper functions):&#xD;
&#xD;
    ollamaVarResponseTask = URLSubmit[&#xD;
       ollamaHttpRequest[ollamaTempHttpRequestBody],&#xD;
       HandlerFunctions -&amp;gt; &amp;lt;|&#xD;
         &amp;#034;HeadersReceived&amp;#034; -&amp;gt; (ollamaFuncHandlerHeaders[#Headers] &amp;amp;),&#xD;
         &amp;#034;BodyChunkReceived&amp;#034; -&amp;gt; (ollamaFuncHandlerBodyChunks[#BodyChunk] \&#xD;
    &amp;amp;),&#xD;
         &amp;#034;ConnectionFailed&amp;#034; -&amp;gt; (Print[&#xD;
             &amp;#034;Connection Failed: Ollama is probably not running.&amp;#034;] &amp;amp;),&#xD;
         &amp;#034;TaskFinished&amp;#034; -&amp;gt; (ollamaFuncHandlerTaskFinished &amp;amp;),&#xD;
         &amp;#034;TaskStatusChanged&amp;#034; -&amp;gt; (ollamaFuncHandlerTaskInterrupt[#Task, \&#xD;
    #TaskStatus] &amp;amp;)&#xD;
         |&amp;gt;,&#xD;
       HandlerFunctionsKeys -&amp;gt; {&amp;#034;BodyChunk&amp;#034;, &amp;#034;Headers&amp;#034;, &amp;#034;Task&amp;#034;, &#xD;
         &amp;#034;TaskStatus&amp;#034;}];&#xD;
&#xD;
&#xD;
When setting up the URL Submit, you will *want* to save the URLSubmit command to a variable to keep track of the &amp;#034;task&amp;#034;. This task variable may be used later to interrupt the query by the use of the &amp;#034;TaskRemove&amp;#034; function.&#xD;
&#xD;
For a streaming response, URL Submit will need to be provided with &amp;#034;handler functions&amp;#034;, and &amp;#034;handler function keys&amp;#034;.&#xD;
&#xD;
Handler functions are called when certain HTTP events take place, such as a body chunk is received (usually containing a single token), when the response is finished, interrupted, when headers are received, etc.. Handler function keys are values passed with the event.&#xD;
&#xD;
A simple example is the headers handler, which just saves the returned headers into the current query association under the &amp;#034;headers&amp;#034; key:&#xD;
&#xD;
    ollamaFuncHandlerHeaders[&#xD;
       headers_] := (ollamaVarCurrentQueryAssociation = &#xD;
         Append[ollamaVarCurrentQueryAssociation, &amp;#034;headers&amp;#034; -&amp;gt; headers];);&#xD;
&#xD;
It is okay to receive responses just as a string without attempting to import them from JSON into an association, especially when debugging.&#xD;
&#xD;
**Issues &amp;amp; Future Work**&#xD;
&#xD;
There may be some issues with the body chunks received. Some may be sent back empty, and some may be sent back incomplete (with the completed portions sent in subsequent body chunk responses). The notebook attached will parse some of these issues, but it seems like some new models can introduce new issues.&#xD;
&#xD;
There are further notes within the notebook detailing how to tell if it&amp;#039;s running, how to handle crashes and the like. Mostly you&amp;#039;ll want to check your graphics usage, specifically the &amp;#034;Cuda&amp;#034; usage, but there are other signs things are working or not.&#xD;
&#xD;
&#xD;
Please feel free to extend &amp;amp; upload the attached notebook at will. I won&amp;#039;t be adding features, but if there are errors or bugs I may fix them &amp;amp; reupload (it&amp;#039;s a lot of code, I&amp;#039;m sure I&amp;#039;ve missed some things, but I feel like this is good enough to publish at present).&#xD;
&#xD;
# Setup and usage details&#xD;
&#xD;
&amp;amp;[Wolfram Notebook][4]&#xD;
&#xD;
&#xD;
  [1]: https://community.wolfram.com//c/portal/getImageAttachment?filename=Image20241018183644.jpg&amp;amp;userId=20103&#xD;
  [2]: http://ollama.com&#xD;
  [3]: https://community.wolfram.com//c/portal/getImageAttachment?filename=EnvironmentVariables.png&amp;amp;userId=2392475&#xD;
  [4]: https://www.wolframcloud.com/obj/68e4cc4b-ea49-495f-8540-215467295fc6</description>
    <dc:creator>Cameron Kosina</dc:creator>
    <dc:date>2024-06-29T06:07:36Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3282353">
    <title>Is it true that for a system wide version 14 and up, the help pages need to be installed per /user/?</title>
    <link>https://community.wolfram.com/groups/-/m/t/3282353</link>
    <description>Hello.&#xD;
&#xD;
At my college, Mathematica 14.0 is installed on a server. I asked our computer center why there are no *local* help pages, and instead it jumps to a web browser (none too successfully, by the way).&#xD;
&#xD;
They told me that with Mathematica 14.0 and newer, the help pages need to be installed on a user-by-user bases.&#xD;
&#xD;
This makes no sense to me. (What a waste!)&#xD;
&#xD;
Can someone tell me if this is true? If so, why? If not, how can I explain to the computer center how to do this?&#xD;
&#xD;
TYVM.</description>
    <dc:creator>Aaron Naiman</dc:creator>
    <dc:date>2024-09-24T20:39:20Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3254456">
    <title>Wolfram Prerelease is open to new beta testers</title>
    <link>https://community.wolfram.com/groups/-/m/t/3254456</link>
    <description>**Wolfram Prerelease** is open to new beta testers! Your feedback will be very useful and will improve future releases of Wolfram products.&#xD;
&#xD;
If you&amp;#039;re interested in participating in this program and receive the latest builds, please apply by sending an email to prerelease@wolfram.com with a self-intro and license number if you&amp;#039;re an existing customer.</description>
    <dc:creator>Jay Yao</dc:creator>
    <dc:date>2024-08-23T19:30:12Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3250945">
    <title>location of notebook directory on Mac Mathematica 14 (Wolfram)</title>
    <link>https://community.wolfram.com/groups/-/m/t/3250945</link>
    <description>I recently installed Mathematica 14 (Wolfram).  While the notebook directory for version 13 was ~/Documents/Mathematica, the new version neither uses the old or the new ~/Documents/Wolfram.&#xD;
How do I set the directory under the new version 14?</description>
    <dc:creator>jules.aronson</dc:creator>
    <dc:date>2024-08-19T14:17:58Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/2929768">
    <title>Local documentation installation drive</title>
    <link>https://community.wolfram.com/groups/-/m/t/2929768</link>
    <description>I am unable to install the local documentation to a drive other than the c: drive. The installer for the documentation does not expose the option to redirect the installation. I have successfully installed Mathmatica to the D: drive, but the documentation still shows up on the c: drive. It&amp;#039;s 8GB so it puts a big dent in my c: drive and I need to move it.&#xD;
&#xD;
Any suggestions?</description>
    <dc:creator>Gregg Revak</dc:creator>
    <dc:date>2023-06-02T16:18:28Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3248036">
    <title>Use Mathematica v14.0 or v14.1 in Wolfram Workbench?</title>
    <link>https://community.wolfram.com/groups/-/m/t/3248036</link>
    <description>The upgrade to v14.1 changed the Eclipse-&amp;gt;Window-&amp;gt;Preferences-&amp;gt;Wolfram Engine Installations to v14.0 with the path C:\Program Files\Wolfram Research\Mathematica\14.0.  However, when I launch Mathematica, it uses v14.1.  Should I reconfigure Eclipse to point to v14.1?  If so, how can I do it?  &#xD;
Thanks,  &#xD;
George</description>
    <dc:creator>George Clapp</dc:creator>
    <dc:date>2024-08-13T20:57:32Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3066592">
    <title>Mathematica support for general ARM chips</title>
    <link>https://community.wolfram.com/groups/-/m/t/3066592</link>
    <description>Withe the apple silicon and the new snapdragon elite X it seems that the trend is to move towards arm based chips. I know that mathematica does support apple silicon, but are there any plans to support other arm chips? I mean, like a general version of mathematica for the arm chips in linux and windows machines.</description>
    <dc:creator>Felipe Barbosa</dc:creator>
    <dc:date>2023-11-17T11:51:23Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/1266184">
    <title>Solved: Linux Interface Toolbar and Font Size</title>
    <link>https://community.wolfram.com/groups/-/m/t/1266184</link>
    <description>Thought I&amp;#039;d post something I was struggling with in order to get Mathematica (and any sub-menus it might launch) to display correctly on high resolution monitors in Linux.&#xD;
&#xD;
The default ScreenResolution is 72dpi in a newly installed Mathematica. My monitor (and almost all modern monitors) use a higher resolution. In my case 96dpi. This means that everything rendered is tiny (it renders to 72/96 of what it was intended to run at). Controlling some fonts fails to control sizes in menus, icons, and tool bars in general. Bits and pieces of Mathematica can be enlarged through font or ScreenResolution changes, but it is difficult at best to get even part of what is too small back to a normal size. So here is how to fix this with a single step...&#xD;
&#xD;
Setting environment variables like this will fix the issue...note that 96/72, the dpi of actual monitor versus what seems to sometimes be hard coded into Mathematica, is about 1.33. This will correct the issue if starting on command line:&#xD;
&#xD;
    QT_AUTO_SCREEN_SCALE_FACTOR=1 QT_SCALE_FACTOR=1.33 Mathematica &amp;amp;&#xD;
&#xD;
Starting Mathematica like this will allow the palettes, icons, buttons, and window frames to enlarge uniformly.</description>
    <dc:creator>Dan Stimits</dc:creator>
    <dc:date>2018-01-16T02:04:25Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3155725">
    <title>Mathematica 14 breaks upon startup on Raspberry Pi 5</title>
    <link>https://community.wolfram.com/groups/-/m/t/3155725</link>
    <description>Great having Mathematica 14 now also available for the Raspberry Pi, thank you very much!&#xD;
&#xD;
The only problem is that when starting an upgraded install (from 13.3.1). it stops with a series of errors, the first shown in the screenshot (I&amp;#039;m not using walynd but the old X/VNC combo).&#xD;
![Mathematica 14 startup error][1]&#xD;
&#xD;
Thanks for your help,  &#xD;
        Michael&#xD;
&#xD;
&#xD;
  [1]: https://community.wolfram.com//c/portal/getImageAttachment?filename=Mathematica14_error.jpg&amp;amp;userId=1664744</description>
    <dc:creator>Michael Byczkowski</dc:creator>
    <dc:date>2024-04-09T18:24:27Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3132414">
    <title>AI settings is different for version 14 and 13.3.1, what happened?</title>
    <link>https://community.wolfram.com/groups/-/m/t/3132414</link>
    <description>I recently switched to Mathematica version 14. I was using Chat Notebooks and LLMs in version 13.3.1. So, to set up my settings in v 13.3.1, I head to AI settings and select the model I wanted to use (GPT4) and also some tabs to choose and install Personas and check to connect and disconnect for API connection, but now I am getting a single tab for version 14. Was the previous setting page changed? I cannot find anything in the options or documentation or the Stephen Wolfram writings blog.&#xD;
&#xD;
AI settings version 13.3.1:  &#xD;
![enter image description here][1]&#xD;
&#xD;
Also this one v 13.3.1:  &#xD;
![enter image description here][2] &#xD;
&#xD;
Now on version 14 I only get:   &#xD;
![enter image description here][3]&#xD;
&#xD;
&#xD;
  [1]: https://community.wolfram.com//c/portal/getImageAttachment?filename=v_13.3.1.png&amp;amp;userId=1624766&#xD;
  [2]: https://community.wolfram.com//c/portal/getImageAttachment?filename=v_13.3.1_2.png&amp;amp;userId=1624766&#xD;
  [3]: https://community.wolfram.com//c/portal/getImageAttachment?filename=v_14.png&amp;amp;userId=1624766</description>
    <dc:creator>J V. Alva</dc:creator>
    <dc:date>2024-02-29T00:56:54Z</dc:date>
  </item>
</rdf:RDF>

