prefect flow and task working inside langchain project
This commit is contained in:
@@ -105,9 +105,9 @@ During this Phase we create asynchronous process of enrichment, utilizing async/
|
||||
# Phase 14 (integration of Prefect client, for creating flow and tasks on remote Prefect server)
|
||||
|
||||
- [ ] Install Prefect client library.
|
||||
- [ ] Add .env variable PREFECT_API_URL, that will be used for connecting client to the prefect server
|
||||
- [ ] Create prefect client file in `prefect/01_yadisk_analyze.py`. In this file we will work with prefect flows and tasks for this phase.
|
||||
- [ ] Create prefect flow called "analyze_yadisk_file_urls"
|
||||
- [ ] Create prefect task "iterate_yadisk_folder_and_store_file_paths" that will connect to yandex disk with yadisk library, analyze everything inside folder `Общая` recursively and store file paths in the ./../../../yadisk_files.json, in array of strings.
|
||||
- [ ] In our pefect file add function for flow to serve, as per prefect documentation on serving flows
|
||||
- [ ] Tests will be done manually by hand, by executing this script and checking prefect dashboard. No automatical tests needed for this phase.
|
||||
- [x] Add .env variable PREFECT_API_URL, that will be used for connecting client to the prefect server
|
||||
- [x] Create prefect client file in `prefect/01_yadisk_analyze.py`. In this file we will work with prefect flows and tasks for this phase.
|
||||
- [x] Create prefect flow called "analyze_yadisk_file_urls"
|
||||
- [x] Create prefect task "iterate_yadisk_folder_and_store_file_paths" that will connect to yandex disk with yadisk library, analyze everything inside folder `Общая` recursively and store file paths in the ./../../../yadisk_files.json, in array of strings.
|
||||
- [x] In our pefect file add function for flow to serve, as per prefect documentation on serving flows
|
||||
- [x] Tests will be done manually by hand, by executing this script and checking prefect dashboard. No automatical tests needed for this phase.
|
||||
|
||||
Reference in New Issue
Block a user