Skip to content

Commit 110056e

Browse files
authored
Merge pull request #13 from vishwamartur/fix-installation-issues
Fix installation issues and update project structure
2 parents 6a57cfa + 8257287 commit 110056e

File tree

6 files changed

+13
-10
lines changed

6 files changed

+13
-10
lines changed

README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,18 @@ Let's assume we want to download utility bills:
4949
```
5050
poetry shell
5151
```
52-
4. Run the following command to spawn a browser:
52+
4. Register the Poetry virtual environment with Jupyter:
53+
```
54+
poetry run ipython kernel install --user --name=integuru
55+
```
56+
5. Run the following command to spawn a browser:
5357
```
5458
poetry run python create_har.py
5559
```
5660
Log into your platform and perform the desired action (such as downloading a utility bill).
57-
5. Run Integuru:
61+
6. Run Integuru:
5862
```
59-
poetry run python -m integuru --prompt "download utility bills" --model gpt-4o
63+
poetry run integuru --prompt "download utility bills" --model gpt-4o
6064
```
6165
You can also run it via Jupyter Notebook `main.ipynb`
6266

@@ -67,8 +71,8 @@ Let's assume we want to download utility bills:
6771
After setting up the project, you can use Integuru to analyze and reverse-engineer API requests for external platforms. Simply provide the appropriate .har file and a prompt describing the action that you want to trigger.
6872

6973
```
70-
poetry run python -m integuru --help
71-
Usage: python -m integuru [OPTIONS]
74+
poetry run integuru --help
75+
Usage: integuru [OPTIONS]
7276
7377
Options:
7478
--model TEXT The LLM model to use (default is gpt-4o)

integuru/agent.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,4 +409,3 @@ def find_key_by_string_in_value(dictionary: Dict[str, Dict[str, Any]], search_st
409409
return key
410410
return None
411411

412-

integuru/models/DAGManager.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,3 @@ def __str__(self):
6464
attrs = self.graph.nodes[node_id]
6565
nodes_info.append(f"{node_id}: {attrs}")
6666
return "\n".join(nodes_info)
67-
68-

main.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,9 @@
101101
],
102102
"metadata": {
103103
"kernelspec": {
104-
"display_name": "integration_agent",
104+
"display_name": "integuru",
105105
"language": "python",
106-
"name": "integration_agent"
106+
"name": "integuru"
107107
},
108108
"language_info": {
109109
"codemirror_mode": {

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ networkx = "^3.3"
1818
matplotlib = "^3.9.2"
1919
ipykernel = "^6.29.5"
2020

21+
[tool.poetry.scripts]
22+
integuru = "integuru.__main__:cli"
2123

2224
[build-system]
2325
requires = ["poetry-core"]

tests/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)