You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that I did not yet have tags or a PyPi package, as I'm not sure how useful this package will be in the future.
28
28
29
-
3. Locally with your Python shell / virtualenv:
30
-
`pip install -r requirements.txt`
31
-
32
-
33
-
## Running it as a standalone package
29
+
3. Locally as a standalone program with your current Python shell / virtualenv:
34
30
31
+
```bash
32
+
git clone https://github.com/paolorechia/code-it
33
+
cd code-it
34
+
pip install -r requirements.txt
35
+
```
35
36
37
+
## Running it as a standalone program (using the package `__main__.py`)
36
38
WARNING: the LLM will run arbitrary code, use it at your own risk.
37
39
Execute the main:
38
40
`python3 -m code_it`
@@ -41,3 +43,27 @@ This will save the code in `persistent_source.py`
41
43
42
44
Change the task in the `task.txt` file to perform another task.
43
45
46
+
## Using it as a standalone package in your program
47
+
48
+
49
+
## Using it with Langchain
50
+
51
+
52
+
### The PipInstall action
53
+
54
+
### The ExecuteCodeTask action
55
+
56
+
57
+
58
+
## Modifying the behavior
59
+
When you're importing `code_it` package in your own code, you can change some settings on how it should behave. Specifically, these are the supported config options at the moment:
0 commit comments