File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -45,8 +45,8 @@ The main purpose of this repository is to:
45
45
46
46
1 . Clone the repository:
47
47
``` sh
48
- git clone https://github.com/your-username/ allie-flowkit-python .git
49
- cd allie-flowkit-python
48
+ git clone https://github.com/allie-pyflowkit .git
49
+ cd allie-pyflowkit
50
50
```
51
51
52
52
2. Install the required dependencies:
@@ -69,15 +69,15 @@ The main purpose of this repository is to:
69
69
# # Adding Custom Functions
70
70
71
71
1. ** Create a New Function:**
72
- - Add your function code as an endpoint to a new Python file in the ` app/enpoints ` directory.
72
+ - Add your function code as an endpoint to a new Python file in the ` app/endpoints ` directory.
73
73
Use the ` app/endpoints/splitter.py` file and its endpoints as an example.
74
74
Be explicit about the input and output of the function, as this will be used by the Allie Agent to call the function.
75
75
76
76
2. ** Add the models for the function:**
77
77
- Add the models for the input and output of the function in the ` app/models` directory.
78
78
Use the ` app/models/splitter.py` file its models as an example.
79
79
80
- 2. ** Add the enpoints to the service:**
80
+ 2. ** Add the endpoints to the service:**
81
81
- Import your module in the ` app/app.py` file and add the router to the service.
82
82
` ` ` python
83
83
app.include_router(splitter.router, prefix=" /custom_module" , tags=[" custom_module" ])
You can’t perform that action at this time.
0 commit comments