Wrangling Mistral ChatBOT into submission

Short cuts to getting the best out of this particular ChatBOT, but should apply to all current 'LLM's?

Created by: Lester Caine, Last modification: 13 Apr 2025 (09:47 UTC)

I am accessing Mistral via Duck.ai and know exactly where the past history is located so can review just what has been produced in answers to questions. Am I worried about DuckDuckGo actually recording the questions, no, and the ChatBOT is producing the snswers, which one would like to think would be the same each time a new thread is started. This morning I got 13 questions in before it timed out and a lot of that was creating the context for the answers, which is the thing that is currently missing from the jigsaw. Mistral has produced it's own 'context' which I will try out later to see if it's initial answers are any better than the last few threads.


Context: We have a website hosting system that originated during the PHP3 era and has been modernized to use Nginx, PHP 7.3, and Firebird 3. Our development machine is on PHP 8.4 with Firebird 5. We manage dependencies manually and use Bitweaver's built-in autoloader, which is PSR-4 compatible. We prefer to avoid Composer and other dependency management tools unless absolutely necessary. Our directory structure is organized with websites, databases, and cached material in separate directories. We have access to the GitHub repositories for Bitweaver, ADOdb, and Smarty through Eclipse, which allows us to monitor changes directly.

Preferences:

  • Avoid solutions that rely on Composer.
  • Keep the directory structure simple and avoid additional layers of complexity.
  • Allow direct modification of files like Smarty.class.php.
  • Use GitHub repositories for dependencies.

Constraints:

  • The solution must be compatible with Bitweaver's autoloader.
  • The solution must not introduce significant changes to the URL structure or file paths.

Question: How can I ensure that my custom autoloader is correctly configured to handle PSR-4 namespaces without relying on Composer?


Just need to put this in a suitable place so I can grab it easily ... such as here in the wiki ...

Bitweaver upgrade process is just what I have been working on with Mistral ...