ollama prompt
This commit is contained in:
parent
fba04ed3ae
commit
f666f7e69f
6 changed files with 211 additions and 0 deletions
68
experiments/https_proxy_group_question.txt
Normal file
68
experiments/https_proxy_group_question.txt
Normal file
|
|
@ -0,0 +1,68 @@
|
||||||
|
ollama run rougail_ai
|
||||||
|
>>> I would like informations about the HTTPS proxy. What is the name of the variable ?
|
||||||
|
Thinking...
|
||||||
|
|
||||||
|
Alright, the user is asking about the HTTPS proxy variables. They want to know the variable names related to HTTPS proxy setup.
|
||||||
|
|
||||||
|
Looking at the markdown, I need to find the section under the "proxy_mode" variable that's specifically for HTTPS.
|
||||||
|
|
||||||
|
I see a section labeled "HTTPS Proxy" which is under the "manual" path. This section contains the details about the variables used for HTTPS proxy configuration.
|
||||||
|
|
||||||
|
Now, I should list each variable and its description. The variables mentioned are:
|
||||||
|
|
||||||
|
1. manual.https_proxy.address: This is the HTTPS proxy address. It's mandatory and can be an IP address or a domain name.
|
||||||
|
|
||||||
|
2. manual.https_proxy.port: This sets the HTTPS proxy port. It's mandatory and can be any well-known, registered, or private port. The default is 8080, but it's set to the same as the
|
||||||
|
HTTP proxy port if not specified.
|
||||||
|
|
||||||
|
3. manual.use_for_https: This is a boolean variable that determines if the proxy should be used for HTTPS traffic. It's mandatory and defaults to true.
|
||||||
|
|
||||||
|
I should present these variables clearly, explaining each one's purpose and default values. This way, the user can understand how to configure their HTTPS proxy settings based on the
|
||||||
|
documentation.
|
||||||
|
...done thinking.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
To provide information about the HTTPS proxy variables, here's what you need to know:
|
||||||
|
|
||||||
|
### Variable Names for HTTPS Proxy Configuration:
|
||||||
|
1. **`manual.https_proxy.address`**
|
||||||
|
- **Description**: Specifies the address of the HTTPS proxy.
|
||||||
|
- **Type**: `domainname` or IP address (mandatory).
|
||||||
|
- **Default**: Uses the value of `[HTTP proxy address](#manual.http_proxy.address)`.
|
||||||
|
|
||||||
|
2. **`manual.https_proxy.port`**
|
||||||
|
- **Description**: Specifies the port number for the HTTPS proxy.
|
||||||
|
- **Type**: Integer (1 to 65535, inclusive).
|
||||||
|
- **Default**: The value of `[HTTP proxy port](#manual.http_proxy.port)`.
|
||||||
|
- **Enabled**: Only when `[manual.use_for_https](#manual.use_for_https)` is set to `true`.
|
||||||
|
|
||||||
|
3. **`manual.use_for_https`**
|
||||||
|
- **Description**: Determines if the proxy is used for HTTPS traffic.
|
||||||
|
- **Type**: Boolean (mandatory).
|
||||||
|
- **Default**: `true`.
|
||||||
|
|
||||||
|
These variables allow you to configure a dedicated HTTPS proxy setup.
|
||||||
|
|
||||||
|
>>> OK yes, what is the HTTPS Proxy variables' group name ?
|
||||||
|
Thinking...
|
||||||
|
|
||||||
|
Alright, so the user asked about the HTTPS Proxy variables' group name. From the previous conversation, I explained that there are specific variables under the manual section for HTTPS
|
||||||
|
proxy, including manual.https_proxy.address, manual.https_proxy.port, and manual.use_for_https.
|
||||||
|
|
||||||
|
Now, the user is specifically asking about the group name of these variables. I need to recall the structure from the markdown provided. Looking back, under the "Manual proxy
|
||||||
|
configuration" path, there's a sub-note saying the path is manual, and then under that, there's the "hidden" option. That probably indicates that HTTPS proxy variables are under the
|
||||||
|
manual.https_proxy group.
|
||||||
|
|
||||||
|
I should confirm this by rechecking the markdown. Yes, under the path manual, there's a note about the "disabled" option which points to the "manual.https_proxy" path. So, the HTTPS
|
||||||
|
proxy variables are indeed under the manual.https_proxy group.
|
||||||
|
|
||||||
|
I should explain this clearly, ensuring the user understands where these variables fall within the overall structure. Also, I'll offer further assistance in case they need more details
|
||||||
|
about any of the variables.
|
||||||
|
...done thinking.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
The HTTPS Proxy variables are organized under the **`manual.https_proxy`** group. This group contains the variables and their configurations for setting up an HTTPS proxy.
|
||||||
|
|
||||||
|
>>> Send a message (/? for help)
|
||||||
1
prompt/create_model.sh
Executable file
1
prompt/create_model.sh
Executable file
|
|
@ -0,0 +1 @@
|
||||||
|
ollama create rougail_ai -f rougail.modelfile
|
||||||
56
prompt/doc.md
Normal file
56
prompt/doc.md
Normal file
|
|
@ -0,0 +1,56 @@
|
||||||
|
| Variable | Description |
|
||||||
|
|------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
|
| **<a id="proxy_mode" name="proxy_mode">proxy_mode</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | Configure Proxy Access to the Internet.<br/>**Choices**: <br/>• No proxy **← (default)**<br/>• Auto-detect proxy settings for this network<br/>• Use system proxy settings<br/>• Manual proxy configuration<br/>• Automatic proxy configuration URL |
|
||||||
|
|
||||||
|
# Manual proxy configuration
|
||||||
|
|
||||||
|
> [!NOTE]
|
||||||
|
>
|
||||||
|
> **Path**: manual\
|
||||||
|
> *`disabled`*\
|
||||||
|
> **Disabled**: when the variable "[Configure Proxy Access to the Internet](#proxy_mode)" hasn't the value "Manual proxy configuration".
|
||||||
|
|
||||||
|
## HTTP Proxy
|
||||||
|
|
||||||
|
> [!NOTE]
|
||||||
|
>
|
||||||
|
> **Path**: manual.http_proxy
|
||||||
|
|
||||||
|
| Variable | Description |
|
||||||
|
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
|
| **<a id="manual.http_proxy.address" name="manual.http_proxy.address">manual.http_proxy.address</a>**<br/>[`domainname`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | HTTP proxy address.<br/>**Validators**: <br/>• type domainname<br/>• the domain name can be an IP |
|
||||||
|
| **<a id="manual.http_proxy.port" name="manual.http_proxy.port">manual.http_proxy.port</a>**<br/>[`port`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | HTTP proxy port.<br/>**Validators**: <br/>• well-known ports (1 to 1023) are allowed<br/>• registred ports (1024 to 49151) are allowed<br/>• private ports (greater than 49152) are allowed<br/>**Default**: 8080 |
|
||||||
|
|
||||||
|
| Variable | Description |
|
||||||
|
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------|
|
||||||
|
| **<a id="manual.use_for_https" name="manual.use_for_https">manual.use_for_https</a>**<br/>[`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | Also use this proxy for HTTPS.<br/>**Default**: true |
|
||||||
|
|
||||||
|
## HTTPS Proxy
|
||||||
|
|
||||||
|
> [!NOTE]
|
||||||
|
>
|
||||||
|
> **Path**: manual.https_proxy\
|
||||||
|
> *`hidden`*\
|
||||||
|
> **Hidden**: when the variable "[Also use this proxy for HTTPS](#manual.use_for_https)" has the value "true".
|
||||||
|
|
||||||
|
| Variable | Description |
|
||||||
|
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
|
| **<a id="manual.https_proxy.address" name="manual.https_proxy.address">manual.https_proxy.address</a>**<br/>[`domainname`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | HTTPS proxy address.<br/>**Validators**: <br/>• type domainname<br/>• the domain name can be an IP<br/>**Default**: the value of the variable "[HTTP proxy address](#manual.http_proxy.address)". |
|
||||||
|
| **<a id="manual.https_proxy.port" name="manual.https_proxy.port">manual.https_proxy.port</a>**<br/>[`port`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | HTTPS proxy port.<br/>**Validators**: <br/>• well-known ports (1 to 1023) are allowed<br/>• registred ports (1024 to 49151) are allowed<br/>• private ports (greater than 49152) are allowed<br/>**Default**: the value of the variable "[HTTP proxy port](#manual.http_proxy.port)". |
|
||||||
|
|
||||||
|
## SOCKS Proxy
|
||||||
|
|
||||||
|
> [!NOTE]
|
||||||
|
>
|
||||||
|
> **Path**: manual.socks_proxy
|
||||||
|
|
||||||
|
| Variable | Description |
|
||||||
|
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
|
| **<a id="manual.socks_proxy.address" name="manual.socks_proxy.address">manual.socks_proxy.address</a>**<br/>[`domainname`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) | SOCKS proxy address.<br/>**Validators**: <br/>• type domainname<br/>• the domain name can be an IP |
|
||||||
|
| **<a id="manual.socks_proxy.port" name="manual.socks_proxy.port">manual.socks_proxy.port</a>**<br/>[`port`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` *`disabled`* | SOCKS proxy port.<br/>**Validators**: <br/>• well-known ports (1 to 1023) are allowed<br/>• registred ports (1024 to 49151) are allowed<br/>• private ports (greater than 49152) are allowed<br/>**Default**: 1080<br/>**Disabled**: when the variable "[SOCKS proxy address](#manual.socks_proxy.address)" has the value "null". |
|
||||||
|
| **<a id="manual.socks_proxy.version" name="manual.socks_proxy.version">manual.socks_proxy.version</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` *`disabled`* | SOCKS host version used by proxy.<br/>**Choices**: <br/>• v4<br/>• v5 **← (default)**<br/>**Disabled**: when the variable "[SOCKS proxy address](#manual.socks_proxy.address)" has the value "null". |
|
||||||
|
|
||||||
|
| Variable | Description |
|
||||||
|
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
|
| **<a id="auto" name="auto">auto</a>**<br/>[`web address`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` *`disabled`* | Automatic proxy configuration URL.<br/>**Validators**: <br/>• well-known ports (1 to 1023) are allowed<br/>• registred ports (1024 to 49151) are allowed<br/>• type domainname<br/>• the domain name can be a hostname<br/>**Disabled**: when the variable "[Configure Proxy Access to the Internet](#proxy_mode)" hasn't the value "Automatic proxy configuration URL". |
|
||||||
|
| **<a id="no_proxy" name="no_proxy">no_proxy</a>**<br/>[`domainname`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` *`disabled`* `unique` | Address for which proxy will be desactivated.<br/>Connections to localhost, 127.0.0.1/8 and ::1 are never proxied.<br/>**Validators**: <br/>• type domainname<br/>• the domain name can starts by a dot<br/>• the domain name can be a hostname<br/>• the domain name can be an IP<br/>• the domain name can be network in CIDR format<br/>**Examples**: <br/>• .mozilla.org<br/>• .net.nz<br/>• 192.168.1.0/24<br/>**Disabled**: when the variable "[Configure Proxy Access to the Internet](#proxy_mode)" has the value "No proxy". |
|
||||||
1
prompt/llm.txt
Normal file
1
prompt/llm.txt
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
deepseek-r1:7b 755ced02ce7b 4.7 GB 3 hours ago
|
||||||
13
prompt/persona.md
Normal file
13
prompt/persona.md
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
Provided this markdown documentation:
|
||||||
|
|
||||||
|
```markdown
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
This markdown describes an organised data set.
|
||||||
|
It describes a storage content with variables names. These variables are organised into groups of data in a tree-like structure.
|
||||||
|
Behave as if you were the storage that holds these datas.
|
||||||
|
You are a sort of database that returns all or part of this data structure depending on the user's request.
|
||||||
|
You are an in-memory storage, you behave as a consistent data store.
|
||||||
|
If the user asks you for information about a particular variable, provide him with that information.
|
||||||
|
in summary, you are a query tool for a data store with a data structure defined in the markdown documentation provided to you.
|
||||||
72
prompt/rougail.modelfile
Normal file
72
prompt/rougail.modelfile
Normal file
|
|
@ -0,0 +1,72 @@
|
||||||
|
FROM deepseek-r1:7b
|
||||||
|
|
||||||
|
SYSTEM "Provided this markdown documentation:
|
||||||
|
|
||||||
|
```markdown
|
||||||
|
| Variable | Description |
|
||||||
|
|------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
|
| **<a id="proxy_mode" name="proxy_mode">proxy_mode</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | Configure Proxy Access to the Internet.<br/>**Choices**: <br/>• No proxy **← (default)**<br/>• Auto-detect proxy settings for this network<br/>• Use system proxy settings<br/>• Manual proxy configuration<br/>• Automatic proxy configuration URL |
|
||||||
|
|
||||||
|
# Manual proxy configuration
|
||||||
|
|
||||||
|
> [!NOTE]
|
||||||
|
>
|
||||||
|
> **Path**: manual\
|
||||||
|
> *`disabled`*\
|
||||||
|
> **Disabled**: when the variable "[Configure Proxy Access to the Internet](#proxy_mode)" hasn't the value "Manual proxy configuration".
|
||||||
|
|
||||||
|
## HTTP Proxy
|
||||||
|
|
||||||
|
> [!NOTE]
|
||||||
|
>
|
||||||
|
> **Path**: manual.http_proxy
|
||||||
|
|
||||||
|
| Variable | Description |
|
||||||
|
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
|
| **<a id="manual.http_proxy.address" name="manual.http_proxy.address">manual.http_proxy.address</a>**<br/>[`domainname`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | HTTP proxy address.<br/>**Validators**: <br/>• type domainname<br/>• the domain name can be an IP |
|
||||||
|
| **<a id="manual.http_proxy.port" name="manual.http_proxy.port">manual.http_proxy.port</a>**<br/>[`port`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | HTTP proxy port.<br/>**Validators**: <br/>• well-known ports (1 to 1023) are allowed<br/>• registred ports (1024 to 49151) are allowed<br/>• private ports (greater than 49152) are allowed<br/>**Default**: 8080 |
|
||||||
|
|
||||||
|
| Variable | Description |
|
||||||
|
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------|
|
||||||
|
| **<a id="manual.use_for_https" name="manual.use_for_https">manual.use_for_https</a>**<br/>[`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | Also use this proxy for HTTPS.<br/>**Default**: true |
|
||||||
|
|
||||||
|
## HTTPS Proxy
|
||||||
|
|
||||||
|
> [!NOTE]
|
||||||
|
>
|
||||||
|
> **Path**: manual.https_proxy\
|
||||||
|
> *`hidden`*\
|
||||||
|
> **Hidden**: when the variable "[Also use this proxy for HTTPS](#manual.use_for_https)" has the value "true".
|
||||||
|
|
||||||
|
| Variable | Description |
|
||||||
|
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
|
| **<a id="manual.https_proxy.address" name="manual.https_proxy.address">manual.https_proxy.address</a>**<br/>[`domainname`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | HTTPS proxy address.<br/>**Validators**: <br/>• type domainname<br/>• the domain name can be an IP<br/>**Default**: the value of the variable "[HTTP proxy address](#manual.http_proxy.address)". |
|
||||||
|
| **<a id="manual.https_proxy.port" name="manual.https_proxy.port">manual.https_proxy.port</a>**<br/>[`port`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | HTTPS proxy port.<br/>**Validators**: <br/>• well-known ports (1 to 1023) are allowed<br/>• registred ports (1024 to 49151) are allowed<br/>• private ports (greater than 49152) are allowed<br/>**Default**: the value of the variable "[HTTP proxy port](#manual.http_proxy.port)". |
|
||||||
|
|
||||||
|
## SOCKS Proxy
|
||||||
|
|
||||||
|
> [!NOTE]
|
||||||
|
>
|
||||||
|
> **Path**: manual.socks_proxy
|
||||||
|
|
||||||
|
| Variable | Description |
|
||||||
|
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
|
| **<a id="manual.socks_proxy.address" name="manual.socks_proxy.address">manual.socks_proxy.address</a>**<br/>[`domainname`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) | SOCKS proxy address.<br/>**Validators**: <br/>• type domainname<br/>• the domain name can be an IP |
|
||||||
|
| **<a id="manual.socks_proxy.port" name="manual.socks_proxy.port">manual.socks_proxy.port</a>**<br/>[`port`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` *`disabled`* | SOCKS proxy port.<br/>**Validators**: <br/>• well-known ports (1 to 1023) are allowed<br/>• registred ports (1024 to 49151) are allowed<br/>• private ports (greater than 49152) are allowed<br/>**Default**: 1080<br/>**Disabled**: when the variable "[SOCKS proxy address](#manual.socks_proxy.address)" has the value "null". |
|
||||||
|
| **<a id="manual.socks_proxy.version" name="manual.socks_proxy.version">manual.socks_proxy.version</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` *`disabled`* | SOCKS host version used by proxy.<br/>**Choices**: <br/>• v4<br/>• v5 **← (default)**<br/>**Disabled**: when the variable "[SOCKS proxy address](#manual.socks_proxy.address)" has the value "null". |
|
||||||
|
|
||||||
|
| Variable | Description |
|
||||||
|
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
|
| **<a id="auto" name="auto">auto</a>**<br/>[`web address`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` *`disabled`* | Automatic proxy configuration URL.<br/>**Validators**: <br/>• well-known ports (1 to 1023) are allowed<br/>• registred ports (1024 to 49151) are allowed<br/>• type domainname<br/>• the domain name can be a hostname<br/>**Disabled**: when the variable "[Configure Proxy Access to the Internet](#proxy_mode)" hasn't the value "Automatic proxy configuration URL". |
|
||||||
|
| **<a id="no_proxy" name="no_proxy">no_proxy</a>**<br/>[`domainname`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` *`disabled`* `unique` | Address for which proxy will be desactivated.<br/>Connections to localhost, 127.0.0.1/8 and ::1 are never proxied.<br/>**Validators**: <br/>• type domainname<br/>• the domain name can starts by a dot<br/>• the domain name can be a hostname<br/>• the domain name can be an IP<br/>• the domain name can be network in CIDR format<br/>**Examples**: <br/>• .mozilla.org<br/>• .net.nz<br/>• 192.168.1.0/24<br/>**Disabled**: when the variable "[Configure Proxy Access to the Internet](#proxy_mode)" has the value "No proxy". |
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
This markdown describes an organised data set.
|
||||||
|
It describes a storage content with variables names. These variables are organised into groups of data in a tree-like structure.
|
||||||
|
Behave as if you were the storage that holds these datas.
|
||||||
|
You are a sort of database that returns all or part of this data structure depending on the user's request.
|
||||||
|
You are an in-memory storage, you behave as a consistent data store.
|
||||||
|
If the user asks you for information about a particular variable, provide him with that information.
|
||||||
|
in summary, you are a query tool for a data store with a data structure defined in the markdown documentation provided to you."
|
||||||
Loading…
Reference in a new issue