@fractal-solutions/qflow 1.0.18 → 1.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -12
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -132,7 +132,7 @@ The examples in [Basic Usage & Examples](#basic-usage--examples) below will cove
|
|
|
132
132
|
* [**Semantic Memory:**](#19-semantic-memory-node) For storing and retrieving memories based on semantic similarity (RAG) using Ollama.
|
|
133
133
|
* [**Memory:**](#15-memory-node-lightweight-rag) For lightweight, keyword-based long-term memory and 'RAG' (lightweight, dependency free option).
|
|
134
134
|
* [**Transform:**](#16-transform-node) For dynamic data manipulation and reformatting.
|
|
135
|
-
* [**CodeInterpreter:**](#14-code-interpreter-example) For executing dynamic code (in Python) within the workflow.
|
|
135
|
+
* [**CodeInterpreter:**](#14-code-interpreter-example) For executing dynamic code (in Python) within the workflow. Specific instructions on library use in [matplotlib example](#17-plotting-data-with-python-code-interpreter).
|
|
136
136
|
* [**Interactive Agent:**](#12-interactive-agent-example) An agent that takes a goal from user input and uses its tools to achieve it.
|
|
137
137
|
* [**Shell:**](#8-shell-command-example) For system-level interaction and execution.
|
|
138
138
|
* [**HTTP:**](#10-generic-http-request-example) For universal API access.
|
|
@@ -1009,17 +1009,6 @@ Follow these steps in *your project folder* where you are using `qflow`:
|
|
|
1009
1009
|
```
|
|
1010
1010
|
*Note: If you are not using Bun (which loads `.env` files by default), you might need a library like `dotenv` (e.g., `require('dotenv').config();`) in your application to load environment variables from the `.env` file.*
|
|
1011
1011
|
|
|
1012
|
-
If you use a Python virtual environment, you can specify its Python executable via an environment variable.
|
|
1013
|
-
|
|
1014
|
-
```bash
|
|
1015
|
-
# Example for installing matplotlib (preferably in a virtual environment)
|
|
1016
|
-
pip install matplotlib
|
|
1017
|
-
|
|
1018
|
-
# Example for setting the environment variable (if using a virtual environment)
|
|
1019
|
-
export QFLOW_PYTHON_INTERPRETER=/path/to/your/venv/bin/python
|
|
1020
|
-
# Or for Windows PowerShell
|
|
1021
|
-
# $env:QFLOW_PYTHON_INTERPRETER="C:\path\to\your\venv\Scripts\python.exe"
|
|
1022
|
-
```
|
|
1023
1012
|
|
|
1024
1013
|
```javascript
|
|
1025
1014
|
import { AsyncFlow } from '@fractal-solutions/qflow';
|
package/package.json
CHANGED