diff --git a/05fed856-d4f4-4422-8cc0-f12d4d163b01.png b/05fed856-d4f4-4422-8cc0-f12d4d163b01.png new file mode 100644 index 0000000000000000000000000000000000000000..45591c3ce49cf9536b738f6396e7a71552192bdb --- /dev/null +++ b/05fed856-d4f4-4422-8cc0-f12d4d163b01.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b03c1dd739cb5221563ec54781abeb57a0392253142676c42d9a1953704a5105 +size 4454 diff --git a/0c140ba8-2a0b-4c87-aa34-604ba4418e33.png b/0c140ba8-2a0b-4c87-aa34-604ba4418e33.png new file mode 100644 index 0000000000000000000000000000000000000000..ac858757edd8fbe412c801172c708859600b973a --- /dev/null +++ b/0c140ba8-2a0b-4c87-aa34-604ba4418e33.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bb26e07faec1746b33010cdf28069b70ce9d7fbcab53807529a64c6f6925d4c3 +size 250544 diff --git a/0fb203e0-12f4-4b65-a0ab-00e30343b571.png b/0fb203e0-12f4-4b65-a0ab-00e30343b571.png new file mode 100644 index 0000000000000000000000000000000000000000..88f02bf25e4d1f31535fdf363ecb6db284dd5a3d --- /dev/null +++ b/0fb203e0-12f4-4b65-a0ab-00e30343b571.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:73540416f6a6cfa17b13b03c22c18f5680679d0b4726355f6e0da3fd04550773 +size 107919 diff --git a/11d14265-f8db-4df2-92a3-0b135b252fb8.png b/11d14265-f8db-4df2-92a3-0b135b252fb8.png new file mode 100644 index 0000000000000000000000000000000000000000..47df487ab6d5d79e556d5dba51b8d7e4101f4611 --- /dev/null +++ b/11d14265-f8db-4df2-92a3-0b135b252fb8.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6992fd8892034f1d6cbdd233fb9d14a2d1171a66785867d9a6c53b11b2fa969a +size 235482 diff --git a/16ab8b5c-2e95-49e2-96d3-b48cf8475e4e.png b/16ab8b5c-2e95-49e2-96d3-b48cf8475e4e.png new file mode 100644 index 0000000000000000000000000000000000000000..9c90caf601978b13c1343ee1b4a15901d98ee767 --- /dev/null +++ b/16ab8b5c-2e95-49e2-96d3-b48cf8475e4e.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c6b97969e879b66a712155855c0cc214983578f8c7b9fb9b79e193e76b97418b +size 4450 diff --git a/1bccfa49-531b-4145-a052-872c58e6bfcb.png b/1bccfa49-531b-4145-a052-872c58e6bfcb.png new file mode 100644 index 0000000000000000000000000000000000000000..708b15e2aa13745c80843d7224f755101323a691 --- /dev/null +++ b/1bccfa49-531b-4145-a052-872c58e6bfcb.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f6851f86cfe54e161caee5851bc78c140002901488204c5f2f5b8e9d116d29e1 +size 202938 diff --git a/1ca602df-1880-4ad5-a2ec-083685c8ade4.png b/1ca602df-1880-4ad5-a2ec-083685c8ade4.png new file mode 100644 index 0000000000000000000000000000000000000000..4f6610db962e7feb8641e0ecf705989bc54398ee --- /dev/null +++ b/1ca602df-1880-4ad5-a2ec-083685c8ade4.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3092e6605e1d9438b5c6973bb9e2e67b50575ae6a2fce9533d5457f6aac5184e +size 25651 diff --git a/2cfa79b5-dc75-4c18-a572-3796b2868c92.png b/2cfa79b5-dc75-4c18-a572-3796b2868c92.png new file mode 100644 index 0000000000000000000000000000000000000000..668eecd20b30824a8e29e824f5a291ec62774000 --- /dev/null +++ b/2cfa79b5-dc75-4c18-a572-3796b2868c92.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2bf4a31482670ad0d6561589588318b9ec8deed54fadb4c85863d74e2447e345 +size 219970 diff --git a/2d5fd8b3-11a9-40fc-aaf0-3d347681e2ba.png b/2d5fd8b3-11a9-40fc-aaf0-3d347681e2ba.png new file mode 100644 index 0000000000000000000000000000000000000000..8148e1ec784cc2725fdd2752c4890f60b99fc594 --- /dev/null +++ b/2d5fd8b3-11a9-40fc-aaf0-3d347681e2ba.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:063ad2dc2e6502b412dd53598593b8db05c2f59143577fb89828f67aa94204a0 +size 408732 diff --git a/31a43b03-8fc1-42a0-a491-f7326496419b.png b/31a43b03-8fc1-42a0-a491-f7326496419b.png new file mode 100644 index 0000000000000000000000000000000000000000..45591c3ce49cf9536b738f6396e7a71552192bdb --- /dev/null +++ b/31a43b03-8fc1-42a0-a491-f7326496419b.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b03c1dd739cb5221563ec54781abeb57a0392253142676c42d9a1953704a5105 +size 4454 diff --git a/331c160e-5cc5-44ff-90e0-4c80fa97e9ef.png b/331c160e-5cc5-44ff-90e0-4c80fa97e9ef.png new file mode 100644 index 0000000000000000000000000000000000000000..45591c3ce49cf9536b738f6396e7a71552192bdb --- /dev/null +++ b/331c160e-5cc5-44ff-90e0-4c80fa97e9ef.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b03c1dd739cb5221563ec54781abeb57a0392253142676c42d9a1953704a5105 +size 4454 diff --git a/37a0c09a-b91d-4a12-bc78-bca3806873ab.png b/37a0c09a-b91d-4a12-bc78-bca3806873ab.png new file mode 100644 index 0000000000000000000000000000000000000000..27f0b8c9246a6f597d3f35fd9f5ec249b486b376 --- /dev/null +++ b/37a0c09a-b91d-4a12-bc78-bca3806873ab.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2aa83531893e93d100027117c00568c375084b265f024e07a90b86bc9e4f8979 +size 111164 diff --git a/403baf1a-3949-42b5-a5e0-64ca9756c4aa.png b/403baf1a-3949-42b5-a5e0-64ca9756c4aa.png new file mode 100644 index 0000000000000000000000000000000000000000..f14a9908af17778b1bf304e7e94832e4da6634a3 --- /dev/null +++ b/403baf1a-3949-42b5-a5e0-64ca9756c4aa.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:38495bc0c69b720ec31b900f2a1398669ffa9788f782d2c90c4480243fc29185 +size 118971 diff --git a/42b8698a-ab93-4c6b-a4ec-504a0282f8d6.png b/42b8698a-ab93-4c6b-a4ec-504a0282f8d6.png new file mode 100644 index 0000000000000000000000000000000000000000..43d5faca4bdef5d7e54dd8be24e9124f63152d67 --- /dev/null +++ b/42b8698a-ab93-4c6b-a4ec-504a0282f8d6.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4482b63c60f145b960cb147d0ae27bd7203e1fe08a14e15ca1ef1210e0d48eb2 +size 197818 diff --git a/432ed296-6d5b-486a-aa64-6d3c07d5adc9.png b/432ed296-6d5b-486a-aa64-6d3c07d5adc9.png new file mode 100644 index 0000000000000000000000000000000000000000..a20ffab6234680ec0242ef024988cdc15b18edbd --- /dev/null +++ b/432ed296-6d5b-486a-aa64-6d3c07d5adc9.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ac14191dd8a3b2745b46d43e483f0513af3374853ba1a23d1202094569ed725c +size 274793 diff --git a/4428c009-261a-4f64-bc67-e1aac2be9649.png b/4428c009-261a-4f64-bc67-e1aac2be9649.png new file mode 100644 index 0000000000000000000000000000000000000000..4bc52d1053a30ca126a9ec1670ffd20e7d509c23 --- /dev/null +++ b/4428c009-261a-4f64-bc67-e1aac2be9649.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a988746ca392f2f4306310838b4d309bf401056d7e6fc7a965fd48a76f001063 +size 4529 diff --git a/53b393d7-1162-4330-a97e-40645d7a2749.png b/53b393d7-1162-4330-a97e-40645d7a2749.png new file mode 100644 index 0000000000000000000000000000000000000000..71713a1060c4e250ff533197db3ff7e5403c8cc4 --- /dev/null +++ b/53b393d7-1162-4330-a97e-40645d7a2749.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:47fe613bbee436109248c6905b10a375f445bd28159a12365414f3b218faa923 +size 47398 diff --git a/58bbdb1c-f804-4696-a7f8-0b2adbd169c8.png b/58bbdb1c-f804-4696-a7f8-0b2adbd169c8.png new file mode 100644 index 0000000000000000000000000000000000000000..5ab6a491f605a47355e4a6128d156b4717346535 --- /dev/null +++ b/58bbdb1c-f804-4696-a7f8-0b2adbd169c8.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ba8fb9fb05ff501b457e0da31855bdc739788b69be8774aa3e823d0a56d96b13 +size 255939 diff --git a/5e45637d-030a-4287-96fb-3a88604bdfd8.png b/5e45637d-030a-4287-96fb-3a88604bdfd8.png new file mode 100644 index 0000000000000000000000000000000000000000..9c90caf601978b13c1343ee1b4a15901d98ee767 --- /dev/null +++ b/5e45637d-030a-4287-96fb-3a88604bdfd8.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c6b97969e879b66a712155855c0cc214983578f8c7b9fb9b79e193e76b97418b +size 4450 diff --git a/64237ffe-8a44-4b40-94ef-d63ff3ea84ec.png b/64237ffe-8a44-4b40-94ef-d63ff3ea84ec.png new file mode 100644 index 0000000000000000000000000000000000000000..f87c2515b4b6a390198b7b8cd8b761d4a11b6c67 --- /dev/null +++ b/64237ffe-8a44-4b40-94ef-d63ff3ea84ec.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2cd735392a346a6402f8e099090e20a0d343d3dab2d29952cdb57c2fb05b49e9 +size 100226 diff --git a/66c75360-ef23-4c2f-8764-1fbaaf6219f9.png b/66c75360-ef23-4c2f-8764-1fbaaf6219f9.png new file mode 100644 index 0000000000000000000000000000000000000000..031f2937f81e3acadbc164ca36e71dc771dc0ef5 --- /dev/null +++ b/66c75360-ef23-4c2f-8764-1fbaaf6219f9.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ec71e7201cc71b3fc547db1fefa903653c707a7e7fd0ccf86c74880a3829b1af +size 29244 diff --git a/6beb061d-1789-4835-b772-b8e5e37b1250.png b/6beb061d-1789-4835-b772-b8e5e37b1250.png new file mode 100644 index 0000000000000000000000000000000000000000..c8c66cb62bcc55a02baf6a0fef1a6ddb557d0253 --- /dev/null +++ b/6beb061d-1789-4835-b772-b8e5e37b1250.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:678cbc6915d7049e2393ad6a6b248e592e3b050ba5fc733e11a5a8ba4b043697 +size 132975 diff --git a/73ae12dc-dba6-4900-99a6-894df1d622b3.png b/73ae12dc-dba6-4900-99a6-894df1d622b3.png new file mode 100644 index 0000000000000000000000000000000000000000..36b78da3c1d536003443ef557167cb6fe92779bd --- /dev/null +++ b/73ae12dc-dba6-4900-99a6-894df1d622b3.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f0b79dc33f1b759125d264c2a7bd60e35e28402cf1ee2954fd685d0d1ea2e9ce +size 205851 diff --git a/759e24c8-d76f-4a9c-8e47-afb7c1fac680.png b/759e24c8-d76f-4a9c-8e47-afb7c1fac680.png new file mode 100644 index 0000000000000000000000000000000000000000..6edbfdb46e535ad9eda307fb5fec7a6e65b5bae1 --- /dev/null +++ b/759e24c8-d76f-4a9c-8e47-afb7c1fac680.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8977bc01111120b398a313319b83fffed65fd90ea078139a142a3fb6e5b298df +size 274470 diff --git a/7639a8c5-7861-4dc8-8105-a526ad75aeb1.png b/7639a8c5-7861-4dc8-8105-a526ad75aeb1.png new file mode 100644 index 0000000000000000000000000000000000000000..411e53c583a95af19374bc81121dea223a3b71f4 --- /dev/null +++ b/7639a8c5-7861-4dc8-8105-a526ad75aeb1.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3178f7da5cb9d5a2348bd097ef7ce771c895aee8bb1e8c490bee1b9319278bb3 +size 353367 diff --git a/8792a1b7-6b65-45ad-a709-52859f45367f.png b/8792a1b7-6b65-45ad-a709-52859f45367f.png new file mode 100644 index 0000000000000000000000000000000000000000..af71c5a76ae576b62612ade9aca478ad02d1c13d --- /dev/null +++ b/8792a1b7-6b65-45ad-a709-52859f45367f.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0375071de561532bad708d6cd1bfe98a2f2aefeae38b42ab54bc9de2a9a44862 +size 109439 diff --git a/9053bf7d-29b3-46db-8cc2-49ab299c0866.png b/9053bf7d-29b3-46db-8cc2-49ab299c0866.png new file mode 100644 index 0000000000000000000000000000000000000000..905d03533d95e65757e32a4266f5bb60c3bb0022 --- /dev/null +++ b/9053bf7d-29b3-46db-8cc2-49ab299c0866.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cd5510b12f46981c7c5786d7cc6abade2761ef30ab20beddc5ad7caa3eecd163 +size 68953 diff --git a/9313cd4c-845d-4ebf-b2fd-4e1a93b49167.png b/9313cd4c-845d-4ebf-b2fd-4e1a93b49167.png new file mode 100644 index 0000000000000000000000000000000000000000..8444c7dd98c73b3ead1bba90e913e027104774e3 --- /dev/null +++ b/9313cd4c-845d-4ebf-b2fd-4e1a93b49167.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7363d280c67e47099199ca6663e3c2649945f7f30c18c4a180576b4911d07351 +size 4336 diff --git a/94d072f6-a1a7-4fc8-a224-0a5b055973b7.png b/94d072f6-a1a7-4fc8-a224-0a5b055973b7.png new file mode 100644 index 0000000000000000000000000000000000000000..d310263008175ecb021795a63d7537a42ec74f85 --- /dev/null +++ b/94d072f6-a1a7-4fc8-a224-0a5b055973b7.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5d5af98939ffa4a8ad20cf8c1a91a55f7b3a81eaff309e254af0be0ea83331f9 +size 265012 diff --git a/957feaa7-4f55-44b7-a884-8fd0f56c2980.png b/957feaa7-4f55-44b7-a884-8fd0f56c2980.png new file mode 100644 index 0000000000000000000000000000000000000000..d5921f0c2abe6ff77adb1ccdfed085778b66f63a --- /dev/null +++ b/957feaa7-4f55-44b7-a884-8fd0f56c2980.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6fda1c4cd1d12e5d906e240c48d42255d3262d72710694209aa8301f5dddc49d +size 171677 diff --git a/96ae1b24-4899-44ed-afca-dd94b30137de.png b/96ae1b24-4899-44ed-afca-dd94b30137de.png new file mode 100644 index 0000000000000000000000000000000000000000..78c9aab40b18c2c22df28a7028e146b2dc9a0d66 --- /dev/null +++ b/96ae1b24-4899-44ed-afca-dd94b30137de.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cee5e832bd4968f7bafa9591cf8e36c4171df803b0402e764f4d4c3f13136fb1 +size 390731 diff --git a/a398820e-7a8e-49dd-ac9c-9b289c51d164.png b/a398820e-7a8e-49dd-ac9c-9b289c51d164.png new file mode 100644 index 0000000000000000000000000000000000000000..28926247a9156f2fee3cc8f547beb06c4b328777 --- /dev/null +++ b/a398820e-7a8e-49dd-ac9c-9b289c51d164.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1afcd527b7cfca9b0ebcfb379ddb6c7109700a989f3828418a0471206f7242a1 +size 147734 diff --git a/a787dae9-ad2e-4dc2-a3d1-ec21af1a75d3.png b/a787dae9-ad2e-4dc2-a3d1-ec21af1a75d3.png new file mode 100644 index 0000000000000000000000000000000000000000..7c60cc2312a0033b406b6767513e14fb2785f729 --- /dev/null +++ b/a787dae9-ad2e-4dc2-a3d1-ec21af1a75d3.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0461ab25490b409d28fe500655adeb2c9d780fd9a29c695308cd0946423f74c2 +size 157069 diff --git a/b120e7b7-5518-4528-be27-f06329ca2339.png b/b120e7b7-5518-4528-be27-f06329ca2339.png new file mode 100644 index 0000000000000000000000000000000000000000..04bce1f05caceb741c72a547ca4101a07af62440 --- /dev/null +++ b/b120e7b7-5518-4528-be27-f06329ca2339.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8eacb40d22099c1827308c1e2e6a74a76b104eea18de8433911d9b009d502da2 +size 309973 diff --git a/b3ab499e-6258-4eda-8bf5-5bb125213260.png b/b3ab499e-6258-4eda-8bf5-5bb125213260.png new file mode 100644 index 0000000000000000000000000000000000000000..85b21f54491c221bea31874c7cb9f42c09d24d6f --- /dev/null +++ b/b3ab499e-6258-4eda-8bf5-5bb125213260.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:814eacea833c1bb4c30d362b23f49b59f3ad8f7c2586b77607536962ae82e3c9 +size 270500 diff --git a/bede42ba-614c-435c-bbd1-5c93348a3e02.png b/bede42ba-614c-435c-bbd1-5c93348a3e02.png new file mode 100644 index 0000000000000000000000000000000000000000..7f113d739b4a12d7a6f844fb2b3ff794a972bc7c --- /dev/null +++ b/bede42ba-614c-435c-bbd1-5c93348a3e02.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:809dd448f82bbcd3e3dcfeb64ef97c3fe1c8abf51308f6620e0739789f80f52d +size 11564 diff --git a/c16a55cf-d120-48a2-9300-a92a149dd540.png b/c16a55cf-d120-48a2-9300-a92a149dd540.png new file mode 100644 index 0000000000000000000000000000000000000000..8444c7dd98c73b3ead1bba90e913e027104774e3 --- /dev/null +++ b/c16a55cf-d120-48a2-9300-a92a149dd540.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7363d280c67e47099199ca6663e3c2649945f7f30c18c4a180576b4911d07351 +size 4336 diff --git a/cc27c145-728f-4d83-804f-e0ad463c5274.png b/cc27c145-728f-4d83-804f-e0ad463c5274.png new file mode 100644 index 0000000000000000000000000000000000000000..4f3ca8202fcbebf07d42a4f74eb411c6b8c0159f --- /dev/null +++ b/cc27c145-728f-4d83-804f-e0ad463c5274.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7d0c49e77d583a3796c0d63527e43ae0ebeb4d9a0f77ee8ae99a627a23396d7c +size 166779 diff --git a/d01f92af-7eb7-45e6-991d-4c871da8332f.png b/d01f92af-7eb7-45e6-991d-4c871da8332f.png new file mode 100644 index 0000000000000000000000000000000000000000..21068eb833f029b22263df98352a7d9425c34c5a --- /dev/null +++ b/d01f92af-7eb7-45e6-991d-4c871da8332f.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4abf6fc8525c883abbb6efc5302f2ce5af15280e26a369a59623faec97c02825 +size 113514 diff --git a/d10b6aff-4975-4595-98cb-15f756f71e42.png b/d10b6aff-4975-4595-98cb-15f756f71e42.png new file mode 100644 index 0000000000000000000000000000000000000000..97015b60e5b287792b547cdb00a4393acc1ca44d --- /dev/null +++ b/d10b6aff-4975-4595-98cb-15f756f71e42.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:51694a2a4f7179775b80140c4aad8897e9b8916b1bda92e6a9082392faf15be2 +size 83299 diff --git a/d79e436b-2772-49a3-b0a9-98f1ede7d081.png b/d79e436b-2772-49a3-b0a9-98f1ede7d081.png new file mode 100644 index 0000000000000000000000000000000000000000..9c90caf601978b13c1343ee1b4a15901d98ee767 --- /dev/null +++ b/d79e436b-2772-49a3-b0a9-98f1ede7d081.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c6b97969e879b66a712155855c0cc214983578f8c7b9fb9b79e193e76b97418b +size 4450 diff --git a/da53618b-9617-4f01-8c0b-be8b479a7117.png b/da53618b-9617-4f01-8c0b-be8b479a7117.png new file mode 100644 index 0000000000000000000000000000000000000000..9ae65bc6dea09baaa3a3a1a54de32941f98d7551 --- /dev/null +++ b/da53618b-9617-4f01-8c0b-be8b479a7117.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4df27ee816871166642d5e86cab06af08d394dfec8e64e8c6348394d4f7d6721 +size 263484 diff --git a/da76d678-28e8-4cd8-96e5-7ca676227513.png b/da76d678-28e8-4cd8-96e5-7ca676227513.png new file mode 100644 index 0000000000000000000000000000000000000000..104292d72b10532fe1d8dcd92f905bacf36f6a88 --- /dev/null +++ b/da76d678-28e8-4cd8-96e5-7ca676227513.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9213e04f3112ffb1c4d64f6545af7b41ee50e0184886a9c84bb74c0cc5b49227 +size 224861 diff --git a/dc8631f0-7dac-4696-8906-235568bc817a.png b/dc8631f0-7dac-4696-8906-235568bc817a.png new file mode 100644 index 0000000000000000000000000000000000000000..3d11f13a44e3aed18bc8629a6aadf032f4a60dc6 --- /dev/null +++ b/dc8631f0-7dac-4696-8906-235568bc817a.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6845651e1d6dd869c08bf8ab9a3938d6443afe418e71938cabc75dccf13413b2 +size 35614 diff --git a/e07fb7dd-be99-4b31-898b-1cf6f4b33b88.png b/e07fb7dd-be99-4b31-898b-1cf6f4b33b88.png new file mode 100644 index 0000000000000000000000000000000000000000..fee54c41c237d38aa65672ea9a5e3115f3ef5f49 --- /dev/null +++ b/e07fb7dd-be99-4b31-898b-1cf6f4b33b88.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1fae5d0fcf39b9e6ded1b7f45982a73110c0bdcaf7e04352b1c63c9c9db8d2fd +size 268907 diff --git a/e9df7054-dcbc-4545-a4c5-fe8dd62d06a6.png b/e9df7054-dcbc-4545-a4c5-fe8dd62d06a6.png new file mode 100644 index 0000000000000000000000000000000000000000..5d059fef0a2d1cedee177b57eb666db4c730c971 --- /dev/null +++ b/e9df7054-dcbc-4545-a4c5-fe8dd62d06a6.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aac3fd4ee95aed6df1d0ccfd436a14d34eb8a21f1a3c965b12b9f97d034f7ef1 +size 363405 diff --git a/ec3adb7b-d8ca-4560-bc69-32cb92a28632.png b/ec3adb7b-d8ca-4560-bc69-32cb92a28632.png new file mode 100644 index 0000000000000000000000000000000000000000..e1223c8ad5efadbe1200dcacba4ea807e2093f67 --- /dev/null +++ b/ec3adb7b-d8ca-4560-bc69-32cb92a28632.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9ec0a351d096b69ccccbb602298a33f4cfe1b0250fb6d47ae52ff98684963410 +size 156518 diff --git a/f7c90653-803a-41d7-8e85-b51638f65a70.png b/f7c90653-803a-41d7-8e85-b51638f65a70.png new file mode 100644 index 0000000000000000000000000000000000000000..d53da94d5cdca9f88fca06fcc972fa874b653935 --- /dev/null +++ b/f7c90653-803a-41d7-8e85-b51638f65a70.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:323cadd94bc09bacb25e6e048c5b38615513b9ba6c1ac90932da4fc28e3c50bd +size 13578 diff --git a/ff05aafb-c0d2-45e5-a0a2-0f892b7c7fb4.png b/ff05aafb-c0d2-45e5-a0a2-0f892b7c7fb4.png new file mode 100644 index 0000000000000000000000000000000000000000..7eb2ae006c5117456e0db05773cf0ee93c589f7e --- /dev/null +++ b/ff05aafb-c0d2-45e5-a0a2-0f892b7c7fb4.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9f29543f84cd25ac7a8bb53a93f88bdb332beb69b5e3af5c709fcf58125c8de6 +size 344289 diff --git a/ff5f77db-b2d9-4505-9194-59ed418c0fd2.png b/ff5f77db-b2d9-4505-9194-59ed418c0fd2.png new file mode 100644 index 0000000000000000000000000000000000000000..732f496ec1002937414c1bebfecce9774ffb84e7 --- /dev/null +++ b/ff5f77db-b2d9-4505-9194-59ed418c0fd2.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:adcebd583f0a3160700f21188ac6b08b70abc97528adfc84b8b3bcd571a80d0f +size 91025 diff --git a/metadata.jsonl b/metadata.jsonl index ef83d9d23b9d059a3dbf3829b98278c68fced45a..cebf9dc2b76a366bc7bbee29a50334065a371557 100644 --- a/metadata.jsonl +++ b/metadata.jsonl @@ -53,3 +53,53 @@ {"file_name": "cb9da896-520c-4c7d-93a6-0cd604cf98f4.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from collections import defaultdict\r\nfrom typing import Any\r\n\r\nfrom googleapiclient.http import MediaFileUpload\r\n\r\nfrom ...models import (\r\n BaseContentDetails,\r\n BaseSnippet,\r\n Language,\r\n LanguageSnippet,\r\n Region,\r\n RegionSnippet,\r\n Video,\r\n VideoAbuseReportReason,\r\n VideoAbuseReportReasonSnippet,\r\n VideoCategory,\r\n VideoCategorySnippet,\r\n)\r\nfrom ...schemas import (\r\n UploadVideo,\r\n VideoFilter,\r\n VideoOptionalParameters,\r\n VideoPart,\r\n VideoReportReasonSchema,\r\n YouTubeListResponse,\r\n YouTubeRatingResponse,\r\n YouTubeRequest,\r\n)\r\nfrom ..resource import YouTubeResource\r\n\r\n\r\nclass YouTubeVideo(YouTubeResource):\r\n def __init__(self, youtube_client: Any) -> None:\r\n super().__init__(youtube_client)\r\n\r\n def parse_snippet(self, snippet_data: dict[str, Any]) -> dict[str, Any]:\r\n base_snippet: BaseSnippet = self.parse_base_snippet(snippet_data)\r\n parsed_snippet: dict[str, Any] = base_snippet.model_dump()\r\n parsed_snippet['channel_id'] = snippet_data['channelId']\r\n parsed_snippet['channel_title'] = snippet_data['channelTitle']"}]} {"file_name": "dfea396a-2bd2-4a9a-bc72-5484800394fe.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from .video import YouTubeVideo\r\n"}]} {"file_name": "aacd3a6d-68f8-4041-9b75-a06962a8acb8.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from typing import Any\r\n\r\nfrom ...models import (\r\n Channel,\r\n ChannelContentDetails,\r\n ChannelSnippet,\r\n ChannelStatistics,\r\n ChannelStatus,\r\n)\r\nfrom ...schemas import (\r\n ChannelFilter,\r\n ChannelOptionalParameters,\r\n ChannelPart,\r\n YouTubeListResponse,\r\n YouTubeRequest,\r\n)\r\nfrom ..resource import YouTubeResource\r\n\r\n\r\nclass YouTubeChannel(YouTubeResource):\r\n def __init__(self, youtube_client: Any) -> None:\r\n super().__init__(youtube_client)\r\n\r\n def parse_snippet(self, snippet_data: dict[str, Any]) -> ChannelSnippet:\r\n snippet: dict = dict(**self.parse_base_snippet(snippet_data).model_dump())\r\n snippet['custom_url'] = snippet_data['customUrl']\r\n snippet['country'] = snippet_data.get('country', '')\r\n snippet['localized'] = self.parse_localizations(snippet_data['localized'])\r\n return ChannelSnippet(**snippet)\r\n\r\n def parse_content_details(\r\n self, content_details_data: dict\r\n ) -> ChannelContentDetails:\r\n content_details: dict = dict(\r\n **self.parse_base_content_details(content_details_data).model_dump()\r\n )\r\n content_details['related_playlists'] = content_details_data['relatedPlaylists']\r\n return ChannelContentDetails(**content_details)\r\n\r\n def parse_statistics(self, statistics_data: dict) -> ChannelStatistics:"}]} +{"file_name": "0c140ba8-2a0b-4c87-aa34-604ba4418e33.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from setuptools import find_packages, setup\r\nfrom pip._vendor import tomli\r\n\r\n# For consistent encoding\r\nfrom codecs import open\r\nfrom os import path\r\n\r\n# The directory containing this file\r\nHERE = path.abspath(path.dirname(__file__))\r\n\r\n# Get the long description from the README file\r\nwith open(path.join(HERE, 'README.md'), encoding='utf-8') as f:\r\n LONG_DESCRIPTION = f.read()\r\n\r\nwith open('pyproject.toml', 'r') as f:\r\n VERSION = tomli.load(f)['tool']['commitizen']['version']\r\n\r\nDESCRIPTION = 'A python library for working with Google Drive.'\r\n\r\nkey_words = [\r\n 'drive', 'google-drive', 'google-drive-api', 'upload files to Google Drive',\r\n]\r\n\r\ninstall_requires = [\r\n 'oryks-google-oauth',\r\n 'pydantic',\r\n 'pydantic-settings'\r\n]\r\n\r\nsetup(\r\n name='oryks-google-drive',\r\n packages=find_packages(\r\n include=[\r\n 'google_drive',\r\n 'google_drive.exceptions',\r\n 'google_drive.models',\r\n 'google_drive.schemas',\r\n 'google_drive.resources'\r\n ]\r\n ),"}]} +{"file_name": "dc8631f0-7dac-4696-8906-235568bc817a.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from google_drive import GoogleDrive\r\n\r\n\r\nclient_secrets_file = 'drive.json'\r\ndrive = GoogleDrive(client_secret_file=client_secrets_file)\r\ndrive.authenticate()\r\n"}]} +{"file_name": "403baf1a-3949-42b5-a5e0-64ca9756c4aa.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from dotenv import load_dotenv\r\nload_dotenv()\r\nfrom assistant.agents import default_agent\r\nimport chainlit as cl\r\n\r\n\r\n@cl.on_chat_start\r\nasync def start():\r\n cl.user_session.set('agent', default_agent)\r\n\r\n\r\n@cl.on_message\r\nasync def main(message: cl.Message):\r\n agent = cl.user_session.get('agent')\r\n msg = cl.Message(content='')\r\n await msg.send()\r\n await cl.sleep(1)\r\n msg.content = agent.invoke({'input': message.content})['output']\r\n await msg.update()\r\n"}]} +{"file_name": "da53618b-9617-4f01-8c0b-be8b479a7117.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from setuptools import find_packages, setup\r\nfrom pip._vendor import tomli\r\n\r\n# For consistent encoding\r\nfrom codecs import open\r\nfrom os import path\r\n\r\n# The directory containing this file\r\nHERE = path.abspath(path.dirname(__file__))\r\n\r\n# Get the long description from the README file\r\nwith open(path.join(HERE, 'README.md'), encoding='utf-8') as f:\r\n LONG_DESCRIPTION = f.read()\r\n\r\nwith open('pyproject.toml', 'r') as f:\r\n VERSION = tomli.load(f)['tool']['commitizen']['version']\r\n\r\nDESCRIPTION = 'A chatbot that enables the user interact with youtube over chat.'\r\n\r\nkey_words = [\r\n 'youtube', 'youtube-api', 'youtube comments', 'youtube videos', 'chat with youtube',\r\n 'youtube channels', 'youtube comment thread', 'create youtube playlist'\r\n]\r\n\r\ninstall_requires = [\r\n 'oryks-youtube',\r\n 'pydantic',\r\n 'pydantic-settings'\r\n]\r\n\r\nsetup(\r\n name='youtube-assistant',\r\n packages=find_packages(\r\n include=[\r\n 'assistant',\r\n ]\r\n ),\r\n version=VERSION,\r\n description=DESCRIPTION,\r\n long_description_content_type='text/markdown',"}]} +{"file_name": "f7c90653-803a-41d7-8e85-b51638f65a70.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from .google_drive import GoogleDrive\r\n"}]} +{"file_name": "2cfa79b5-dc75-4c18-a572-3796b2868c92.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from typing import Any, Optional\r\n\r\nfrom oryks_google_oauth import GoogleDriveScopes, GoogleOAuth\r\nfrom pydantic import BaseModel\r\n\r\n\r\nclass GoogleDrive(BaseModel):\r\n \"\"\"Provides methods for interacting with the Drive API.\r\n\r\n This class acts as an interface to the Drive API, providing methods for interacting with\r\n the Drive API.\r\n\r\n Attributes\r\n ----------\r\n client_secret_file: str\r\n The path to the json file containing your authentication information.\r\n \"\"\"\r\n\r\n client_secret_file: Optional[str] = None\r\n authenticated: Optional[bool] = False\r\n drive_client: Optional[Any] = None\r\n\r\n def authenticate(self, client_secret_file: Optional[str] = None) -> None:\r\n \"\"\"Authenticate the requests made to drive.\r\n\r\n Used to generate the credentials that are used when authenticating requests to drive.\r\n\r\n Parameters\r\n ----------\r\n client_secret_file: str\r\n The path to clients secret json file from Google\r\n\r\n Raises\r\n ------\r\n ValueError:\r\n When the client secrets file is not provided\r\n FileNotFoundError:\r\n When the secrets file path is not found\r\n \"\"\"\r\n if client_secret_file:"}]} +{"file_name": "58bbdb1c-f804-4696-a7f8-0b2adbd169c8.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "import ast\r\nfrom ast import AST, FunctionDef, NodeTransformer\r\n\r\nfrom .config import Config\r\nfrom .helpers import generate_doc_string, make_docstring_node\r\nfrom .model_parsers import parse_function_docstr\r\n\r\n\r\nclass FunctionTransformer(NodeTransformer):\r\n def __init__(self, config: Config, function_src: str) -> None:\r\n super().__init__()\r\n self._config: Config = config\r\n self._function_src = function_src\r\n\r\n def visit_FunctionDef(self, node: FunctionDef) -> None:\r\n ast_tree: AST = ast.parse(self._function_src)\r\n function_node: AST = ast_tree.body[0]\r\n docstring: str = ast.get_docstring(node=node)\r\n if function_node.name == node.name:\r\n if not docstring:\r\n src_code: str = ast.unparse(node)\r\n func_docstr: str = generate_doc_string(\r\n src_code=src_code, config=self._config\r\n )\r\n doc_str: str = parse_function_docstr(func_docstr.strip())\r\n if doc_str:\r\n dcstr_node: AST = make_docstring_node(doc_str)\r\n node.body.insert(0, dcstr_node)\r\n elif self._config.overwrite_function_docstring:\r\n src_code: str = ast.unparse(node)\r\n func_docstr: str = generate_doc_string(\r\n src_code=src_code, config=self._config\r\n )\r\n doc_str: str = parse_function_docstr(func_docstr.strip())\r\n if doc_str:\r\n dcstr_node: AST = make_docstring_node(doc_str)\r\n node.body[0] = dcstr_node\r\n return node\r\n"}]} +{"file_name": "37a0c09a-b91d-4a12-bc78-bca3806873ab.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from argparse import Namespace\r\n\r\nfrom .config import Config\r\nfrom .docstring_generator import generate_project_docstrings\r\nfrom .extensions import function_code_queue, source_code_queue\r\nfrom .ui import create_application_config, parse_arguments\r\n\r\n\r\ndef main():\r\n args: Namespace = parse_arguments()\r\n config: Config = create_application_config(args)\r\n generate_project_docstrings(\r\n config=config,\r\n source_code_queue=source_code_queue,\r\n function_code_queue=function_code_queue,\r\n )\r\n\r\n\r\nif __name__ == \"__main__\":\r\n main()\r\n"}]} +{"file_name": "5e45637d-030a-4287-96fb-3a88604bdfd8.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": ""}]} +{"file_name": "c16a55cf-d120-48a2-9300-a92a149dd540.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": ""}]} +{"file_name": "05fed856-d4f4-4422-8cc0-f12d4d163b01.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": ""}]} +{"file_name": "4428c009-261a-4f64-bc67-e1aac2be9649.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": ""}]} +{"file_name": "a787dae9-ad2e-4dc2-a3d1-ec21af1a75d3.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "import operator\r\n\r\n\r\ndef add(a: int | float, b: int | float) -> int | float:\r\n \"\"\"Subtracts two numbers\r\n\r\n Parameters\r\n ----------\r\n a : int or float\r\n The first number to subtract.\r\n b : int or float\r\n The second number to subtract.\r\n\r\n Returns\r\n -------\r\n int or float\r\n The result of subtracting b from a.\"\"\"\r\n return operator.add(a, b)\r\n\r\n\r\ndef subtract(a: int | float, b: int | float) -> int | float:\r\n \"\"\"Subtracts two numbers\r\n\r\n Parameters\r\n ----------\r\n a : int or float\r\n The first number to subtract.\r\n b : int or float\r\n The second number to subtract.\r\n\r\n Returns\r\n -------\r\n int or float\r\n The result of subtracting b from a.\"\"\"\r\n return operator.sub(a, b)\r\n\r\n\r\ndef divide(a: int | float, b: int | float) -> float:\r\n \"\"\"Subtracts two numbers\r\n"}]} +{"file_name": "d79e436b-2772-49a3-b0a9-98f1ede7d081.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n"}]} +{"file_name": "8792a1b7-6b65-45ad-a709-52859f45367f.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from datetime import datetime\r\nfrom typing import Optional\r\n\r\nfrom pydantic import BaseModel, Field\r\n\r\n\r\nclass SearchSchema(BaseModel):\r\n id: Optional[str] = None\r\n type: Optional[str] = None\r\n published_at: Optional[datetime] = None\r\n channel_id: Optional[str] = None\r\n title: Optional[str] = None\r\n description: Optional[str] = None\r\n channel_title: Optional[str] = None\r\n live_broadcast_content: Optional[str] = None\r\n publish_time: Optional[str] = None\r\n"}]} +{"file_name": "9313cd4c-845d-4ebf-b2fd-4e1a93b49167.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n"}]} +{"file_name": "bede42ba-614c-435c-bbd1-5c93348a3e02.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from .search import SearchSchema\r\n"}]} +{"file_name": "432ed296-6d5b-486a-aa64-6d3c07d5adc9.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from collections import defaultdict\r\nfrom typing import Any\r\n\r\nfrom googleapiclient.http import MediaFileUpload\r\n\r\nfrom ...models import (\r\n BaseContentDetails,\r\n BaseSnippet,\r\n Language,\r\n LanguageSnippet,\r\n Region,\r\n RegionSnippet,\r\n Video,\r\n VideoAbuseReportReason,\r\n VideoAbuseReportReasonSnippet,\r\n VideoCategory,\r\n VideoCategorySnippet,\r\n)\r\nfrom ...schemas import (\r\n UploadVideo,\r\n VideoFilter,\r\n VideoOptionalParameters,\r\n VideoPart,\r\n VideoReportReasonSchema,\r\n YouTubeListResponse,\r\n YouTubeRatingResponse,\r\n YouTubeRequest,\r\n)\r\nfrom ..resource import YouTubeResource\r\n\r\n\r\nclass YouTubeVideo(YouTubeResource):\r\n def __init__(self, youtube_client: Any) -> None:\r\n super().__init__(youtube_client)\r\n\r\n def parse_snippet(self, snippet_data: dict[str, Any]) -> dict[str, Any]:\r\n base_snippet: BaseSnippet = self.parse_base_snippet(snippet_data)\r\n parsed_snippet: dict[str, Any] = base_snippet.model_dump()\r\n parsed_snippet['channel_id'] = snippet_data['channelId']\r\n parsed_snippet['channel_title'] = snippet_data['channelTitle']"}]} +{"file_name": "e9df7054-dcbc-4545-a4c5-fe8dd62d06a6.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from dotenv import load_dotenv\r\nload_dotenv()\r\nimport chainlit as cl\r\nfrom farm_agent.agents import agent\r\nfrom farm_agent.utils import load_model, evaluate_image\r\nfrom PIL import Image\r\nimport io\r\n\r\n\r\nuser_location: str = None\r\nuser_name: str = None\r\nwelcome_text: str = \"\"\"\r\nHello there. This is an application that helps farmers monitor the health level of their crops. \r\nStart by giving me your name and location, then upload an image of your crops. I will analyze it to \r\ndetermine the diasease or pest that affects it and then tell you how to deal with the pest or \r\ndisease and where to purchase pesticides or fungicides.\r\n\"\"\"\r\n\r\n@cl.on_chat_start\r\nasync def start():\r\n cl.user_session.set(\"agent\", agent)\r\n await cl.Message(content=welcome_text).send()\r\n user_name = await cl.AskUserMessage(content=\"What is your name?\", timeout=120).send()\r\n user_location = await cl.AskUserMessage(content=\"Where are you from?\", timeout=120).send()\r\n res = await cl.AskActionMessage(\r\n content=\"Would you like to determine if your crops are infected by a disease or by pests?\",\r\n actions=[\r\n cl.Action(name=\"Check for diseases\", value=\"diseases\", label=\"\u2705 Check for diseases\"),\r\n cl.Action(name=\"Check for Pests\", value=\"pests\", label=\"\u274c Check for Pests\")\r\n ]\r\n ).send()\r\n if res and res.get(\"value\") == \"diseases\":\r\n files = None\r\n # Wait for the user to upload a file\r\n while files == None:\r\n files = await cl.AskFileMessage(\r\n content=f\"{user_name['content']}, start by uploading an image of your crop.\", \r\n accept=[\"image/jpeg\", \"image/png\", \"image/jpg\"]\r\n ).send()\r\n # Decode the file"}]} +{"file_name": "64237ffe-8a44-4b40-94ef-d63ff3ea84ec.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from dotenv import load_dotenv\r\nload_dotenv()\r\nimport chainlit as cl\r\n\r\nfrom calendar_assistant.usecases.agent import agent_executor\r\n\r\n\r\n@cl.on_message\r\nasync def main(message: cl.Message):\r\n msg = cl.Message(content=\"\")\r\n await msg.send()\r\n await cl.sleep(1)\r\n msg.content = agent_executor.invoke({\"input\": message.content})['output']\r\n await msg.update()"}]} +{"file_name": "96ae1b24-4899-44ed-afca-dd94b30137de.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from dotenv import load_dotenv\r\nload_dotenv()\r\nimport chainlit as cl\r\nfrom farm_agent.agents import agent\r\nfrom farm_agent.utils import load_model, evaluate_image\r\nfrom PIL import Image\r\nimport io\r\n\r\n\r\nuser_location: str = None\r\nuser_name: str = None\r\nwelcome_text: str = \"\"\"\r\nHello there. This is an application that helps farmers monitor the health level of their crops. \r\nStart by giving me your name and location, then upload an image of your crops. I will analyze it to \r\ndetermine the diasease or pest that affects it and then tell you how to deal with the pest or \r\ndisease and where to purchase pesticides or fungicides.\r\n\"\"\"\r\n\r\n@cl.on_chat_start\r\nasync def start():\r\n cl.user_session.set(\"agent\", agent)\r\n await cl.Message(content=welcome_text).send()\r\n user_name = await cl.AskUserMessage(content=\"What is your name?\", timeout=120).send()\r\n user_location = await cl.AskUserMessage(content=\"Where are you from?\", timeout=120).send()\r\n res = await cl.AskActionMessage(\r\n content=\"Would you like to determine if your crops are infected by a disease or by pests?\",\r\n actions=[\r\n cl.Action(name=\"Check for diseases\", value=\"diseases\", label=\"\u2705 Check for diseases\"),\r\n cl.Action(name=\"Check for Pests\", value=\"pests\", label=\"\u274c Check for Pests\")\r\n ]\r\n ).send()\r\n if res and res.get(\"value\") == \"diseases\":\r\n files = None\r\n # Wait for the user to upload a file\r\n while files == None:\r\n files = await cl.AskFileMessage(\r\n content=f\"{user_name['content']}, start by uploading an image of your crop.\", \r\n accept=[\"image/jpeg\", \"image/png\", \"image/jpg\"]\r\n ).send()\r\n # Decode the file"}]} +{"file_name": "cc27c145-728f-4d83-804f-e0ad463c5274.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "import chainlit as cl\r\nfrom assistant.utils.assistant_utils import welcome_user\r\nfrom assistant.agent import get_agent_executor\r\n\r\n\r\n@cl.on_chat_start\r\nasync def start():\r\n res = await cl.AskUserMessage(content=\"What is your name?\", timeout=30).send()\r\n if res:\r\n msg = cl.Message(content=\"\")\r\n await msg.send()\r\n msg.content = welcome_user(user_name=res['content'])\r\n await msg.update()\r\n \r\n\r\n@cl.on_message\r\nasync def main(message: cl.Message):\r\n msg = cl.Message(content=\"\")\r\n await msg.send()\r\n query: str = message.content\r\n agent_executor = get_agent_executor(query)\r\n msg.content = agent_executor.invoke({\"input\": query})['output']\r\n await msg.update()"}]} +{"file_name": "e07fb7dd-be99-4b31-898b-1cf6f4b33b88.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "import torch\r\nimport os\r\nfrom torch import nn\r\nfrom torchvision import transforms\r\nimport numpy as np\r\nimport os\r\nfrom PIL import Image\r\nimport torch\r\nimport os\r\nfrom torch import nn\r\nimport torch.nn.functional as F\r\nimport random\r\n\r\n\r\nclass MaizeNet(nn.Module):\r\n def __init__(self, K) -> None:\r\n super(MaizeNet, self).__init__()\r\n\r\n self.conv_layers = nn.Sequential(\r\n # convolution 1\r\n nn.Conv2d(in_channels=3, out_channels=32, kernel_size=3, padding=1),\r\n nn.ReLU(),\r\n nn.BatchNorm2d(32),\r\n nn.Conv2d(in_channels=32, out_channels=32, kernel_size=3, padding=1),\r\n nn.ReLU(),\r\n nn.BatchNorm2d(32),\r\n nn.MaxPool2d(2),\r\n # Convolution 2\r\n nn.Conv2d(in_channels=32, out_channels=64, kernel_size=3, padding=1),\r\n nn.ReLU(),\r\n nn.BatchNorm2d(64),\r\n nn.Conv2d(in_channels=64, out_channels=64, kernel_size=3, padding=1),\r\n nn.ReLU(),\r\n nn.BatchNorm2d(64),\r\n nn.MaxPool2d(2),\r\n # Convolution 3\r\n nn.Conv2d(in_channels=64, out_channels=128, kernel_size=3, padding=1),\r\n nn.ReLU(),\r\n nn.BatchNorm2d(128),\r\n nn.Conv2d(in_channels=128, out_channels=128, kernel_size=3, padding=1),"}]} +{"file_name": "16ab8b5c-2e95-49e2-96d3-b48cf8475e4e.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": ""}]} +{"file_name": "53b393d7-1162-4330-a97e-40645d7a2749.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from google_calendar import GoogleCalendar\r\nimport os\r\n\r\nclient_secret: str = os.environ['CLIENT_SECRET_FILE']\r\ngoogle_calendar: GoogleCalendar = GoogleCalendar(secret_file=client_secret)\r\ngoogle_calendar.authenticate()"}]} +{"file_name": "759e24c8-d76f-4a9c-8e47-afb7c1fac680.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "import torch\r\nimport os\r\nfrom torch import nn\r\nfrom torchvision import transforms\r\nimport numpy as np\r\nimport os\r\nfrom PIL import Image\r\nimport torch\r\nimport os\r\nfrom torch import nn\r\nimport torch.nn.functional as F\r\nimport random\r\n\r\n\r\nclass MaizeNet(nn.Module):\r\n def __init__(self, K) -> None:\r\n super(MaizeNet, self).__init__()\r\n\r\n self.conv_layers = nn.Sequential(\r\n # convolution 1\r\n nn.Conv2d(in_channels=3, out_channels=32, kernel_size=3, padding=1),\r\n nn.ReLU(),\r\n nn.BatchNorm2d(32),\r\n nn.Conv2d(in_channels=32, out_channels=32, kernel_size=3, padding=1),\r\n nn.ReLU(),\r\n nn.BatchNorm2d(32),\r\n nn.MaxPool2d(2),\r\n # Convolution 2\r\n nn.Conv2d(in_channels=32, out_channels=64, kernel_size=3, padding=1),\r\n nn.ReLU(),\r\n nn.BatchNorm2d(64),\r\n nn.Conv2d(in_channels=64, out_channels=64, kernel_size=3, padding=1),\r\n nn.ReLU(),\r\n nn.BatchNorm2d(64),\r\n nn.MaxPool2d(2),\r\n # Convolution 3\r\n nn.Conv2d(in_channels=64, out_channels=128, kernel_size=3, padding=1),\r\n nn.ReLU(),\r\n nn.BatchNorm2d(128),\r\n nn.Conv2d(in_channels=128, out_channels=128, kernel_size=3, padding=1),"}]} +{"file_name": "0fb203e0-12f4-4b65-a0ab-00e30343b571.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from flask.cli import FlaskGroup\r\nfrom api.helpers.data import create_data\r\nfrom api import create_app, db\r\n\r\napp = create_app()\r\ncli = FlaskGroup(create_app=create_app)\r\n\r\n\r\n@cli.command(\"create_db\")\r\ndef create_db():\r\n \"\"\"Create the database and all the tables.\"\"\"\r\n db.drop_all()\r\n db.create_all()\r\n db.session.commit()\r\n \r\n@cli.command(\"seed_db\")\r\ndef seed_db():\r\n \"\"\"Create the initial data.\"\"\"\r\n create_data()\r\n\r\n\r\nif __name__ == \"__main__\":\r\n cli()\r\n"}]} +{"file_name": "1ca602df-1880-4ad5-a2ec-083685c8ade4.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from api import create_app\r\nfrom api.extensions.extensions import celery\r\n\r\napp = create_app()"}]} +{"file_name": "b120e7b7-5518-4528-be27-f06329ca2339.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from database.crud import add_channel\r\nfrom redis import Redis\r\nfrom json import loads\r\nfrom database.database import get_db, create_all\r\nfrom database.models.channel import Channel\r\nfrom datetime import datetime\r\nimport requests\r\nimport sys\r\nimport os\r\nfrom dotenv import load_dotenv\r\nfrom helpers import (\r\n create_es_client, index_resource, get_channel_playlists, get_playlist_videos,\r\n get_video_comments, get_video_comments_task_result, create_comments_data\r\n)\r\nfrom elasticsearch import Elasticsearch\r\n\r\nload_dotenv()\r\n\r\nurl_base = os.environ.get('URL_BASE', 'http://localhost:5000/api/v1/')\r\nredis_host = os.environ.get('REDIS_HOST', 'localhost')\r\nredis = Redis(host=redis_host)\r\n\r\nes_host = os.environ['ES_HOST']\r\nes_port = os.environ['ES_PORT']\r\n\r\nes_client: Elasticsearch = create_es_client(es_host, es_port)\r\nchannels_index = os.environ['CHANNELS_INDEX']\r\nplaylists_index = os.environ['PLAYLISTS_INDEX']\r\nvideos_index = os.environ['VIDEOS_INDEX']\r\n\r\ndef add_channel_to_db():\r\n sub = redis.pubsub()\r\n sub.subscribe('channels')\r\n for data in sub.listen():\r\n if isinstance(data['data'], bytes):\r\n channel_data = loads(data['data'])\r\n channel_data['published_at'] = datetime.utcnow()\r\n channel = Channel(**channel_data)\r\n print(channel)\r\n channel = add_channel(session=get_db, channel=channel)"}]} +{"file_name": "7639a8c5-7861-4dc8-8105-a526ad75aeb1.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "import os\r\nfrom elasticsearch import Elasticsearch\r\nfrom datetime import datetime\r\nimport requests\r\nimport time\r\n\r\n\r\ndef create_es_client(es_host: str, es_port: int):\r\n \"\"\"Create the elasticsearch client.\"\"\"\r\n es_client = Elasticsearch(hosts=[f'http://{es_host}:{es_port}'])\r\n return es_client\r\n\r\n\r\ndef index_resource(resource: dict[str, str|int|datetime], index: str, es_client: Elasticsearch, id: str):\r\n response = es_client.index(index=index, body=resource, id=id)\r\n print(response)\r\n \r\ndef get_channel_playlists(channel_id: str) -> None:\r\n resp = requests.post(url='http://web:8000/channel/playlists', params={'channel_id': channel_id})\r\n print(resp.status_code)\r\n print(resp.json())\r\n \r\ndef get_playlist_videos(playlist_id: str) -> None:\r\n resp = requests.post(url='http://web:8000/playlist/videos', params={'playlist_id': playlist_id})\r\n print(resp.status_code)\r\n print(resp.json())\r\n \r\ndef get_video_comments(video_id: str) -> None:\r\n resp = requests.post(url='http://web:8000/video/comments', params={'video_id': video_id})\r\n print(resp.status_code)\r\n print(resp.json())\r\n return resp.json()\r\n\r\ndef get_video_comments_task_result(task_id: str) -> dict:\r\n resp = requests.get(url='http://web:8000/video/task_status', params={'task_id': task_id})\r\n count: int = 0\r\n while resp.json()['task_status'] != 'SUCCESS' and count < 10:\r\n time.sleep(1)\r\n resp = requests.get(url='http://web:8000/video/task_status', params={'task_id': task_id})\r\n count += 1"}]} +{"file_name": "73ae12dc-dba6-4900-99a6-894df1d622b3.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "\"\"\"The main application package.\"\"\"\r\nimport sys\r\n\r\nfrom dotenv import load_dotenv\r\nfrom flask import Flask\r\n\r\nfrom .auth.models.user import User\r\nfrom .exceptions.exceptions import DatabaseNotConnectedException\r\nfrom .extensions.extensions import db, login_manager\r\nfrom .helpers.helpers import (\r\n check_configuration,\r\n register_blueprints,\r\n register_extensions,\r\n set_configuration,\r\n)\r\nfrom .utils.http_status_codes import HTTP_200_OK\r\n\r\nload_dotenv()\r\n\r\n\r\ndef create_app() -> Flask:\r\n \"\"\"Create the Flask App instance.\"\"\"\r\n app = Flask(__name__)\r\n\r\n set_configuration(app)\r\n\r\n # try:\r\n # check_configuration()\r\n # except DatabaseNotConnectedException as e:\r\n # print(str(e))\r\n # sys.exit(1)\r\n\r\n register_extensions(app)\r\n register_blueprints(app=app)\r\n\r\n @login_manager.user_loader\r\n def load_user(user_id):\r\n return User.query.get(int(user_id))\r\n\r\n @app.route(\"/health\")"}]} +{"file_name": "31a43b03-8fc1-42a0-a491-f7326496419b.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "\r\n\r\n"}]} +{"file_name": "9053bf7d-29b3-46db-8cc2-49ab299c0866.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from fastapi import FastAPI\r\nfrom .routers.register_routers import register_routers\r\n\r\ndef create_app():\r\n app = FastAPI()\r\n register_routers(app)\r\n \r\n @app.get('/', tags=['Home'])\r\n async def get():\r\n return {'message': 'hello world!'}\r\n \r\n return app"}]} +{"file_name": "ff5f77db-b2d9-4505-9194-59ed418c0fd2.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from sqlalchemy.orm import Session\r\nfrom .models.channel import Channel\r\nfrom sqlalchemy.exc import IntegrityError\r\n\r\ndef add_channel(session: Session, channel: Channel):\r\n with session() as db:\r\n try:\r\n db.add(channel)\r\n db.commit()\r\n db.refresh(channel)\r\n except IntegrityError:\r\n return None\r\n else:\r\n return channel"}]} +{"file_name": "6beb061d-1789-4835-b772-b8e5e37b1250.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from sqlalchemy import create_engine\r\nfrom sqlalchemy.orm import MappedAsDataclass, sessionmaker, DeclarativeBase\r\nfrom contextlib import contextmanager\r\n\r\nclass Base(MappedAsDataclass, DeclarativeBase):\r\n pass\r\n\r\nSQL_ALCHEMY_DATABASE_URI = 'sqlite:///./example.db'\r\nengine = create_engine(SQL_ALCHEMY_DATABASE_URI)\r\n\r\nSession = sessionmaker(bind=engine)\r\n\r\n@contextmanager\r\ndef get_db():\r\n db = Session()\r\n try:\r\n yield db\r\n finally:\r\n db.close()\r\n \r\ndef create_all():\r\n Base.metadata.create_all(bind=engine)\r\n"}]} +{"file_name": "d01f92af-7eb7-45e6-991d-4c871da8332f.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "\"\"\"This module declares the extensions used by the application.\"\"\"\r\nfrom flask_bcrypt import Bcrypt\r\nfrom flask_cors import CORS\r\nfrom flask_login import LoginManager\r\nfrom flask_mail import Mail\r\nfrom flask_marshmallow import Marshmallow\r\nfrom flask_migrate import Migrate\r\nfrom flask_sqlalchemy import SQLAlchemy\r\n\r\ncors = CORS()\r\ndb = SQLAlchemy()\r\nmigrate = Migrate()\r\nma = Marshmallow()\r\nbcrypt = Bcrypt()\r\nlogin_manager = LoginManager()\r\nmail = Mail()\r\n"}]} +{"file_name": "331c160e-5cc5-44ff-90e0-4c80fa97e9ef.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n"}]} +{"file_name": "ff05aafb-c0d2-45e5-a0a2-0f892b7c7fb4.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from ..auth.models.user import User\r\nfrom ..post.models.post_model import Post\r\nfrom ..post.models.like_model import Like\r\nfrom ..post.models.comment_model import Comment\r\nfrom faker import Faker\r\nfrom datetime import datetime, timedelta\r\nfake = Faker()\r\nimport random\r\nfrom ..extensions.extensions import db, bcrypt\r\n\r\ndef generate_users(count: int = 10) -> list[User]:\r\n \"\"\"Generate ten random users.\"\"\"\r\n profile_pictures = (f'profile-{i}.jpg' for i in range(count))\r\n names = (fake.name() for _ in range(count))\r\n emails = (fake.email() for i in range(count))\r\n password = hashed_password = bcrypt.generate_password_hash(\"password\").decode(\r\n \"utf-8\"\r\n )\r\n return [\r\n User(\r\n username=name,\r\n email=email,\r\n image_file=profile_pic,\r\n password=password,\r\n account_activated=True\r\n ) \r\n for profile_pic, name, email in zip(profile_pictures, names, emails)\r\n ]\r\n\r\ndef generate_posts(authors: list[User], count: int = 100) -> list[Post]:\r\n \"\"\"Generate posts.\"\"\"\r\n cities = [fake.city() for _ in range(10)]\r\n posts_text = [fake.text() for _ in range(count)]\r\n post_images = [f'feed-{i}.jpg' for i in range(8)]\r\n dates_published = (datetime.now() + timedelta(minutes=random.randint(1,60)) for _ in range(count))\r\n return [\r\n Post(\r\n author=random.choice(authors),\r\n location=random.choice(cities),\r\n text=text,"}]} +{"file_name": "da76d678-28e8-4cd8-96e5-7ca676227513.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "\"\"\"This module delares helper methods for the whole app.\r\n\r\nDeclares the following config:\r\n\r\nset_configuration:\r\n For setting the apps configuration.\r\nregister_blueprints:\r\n For registering the application blueprints.\r\nregister_extensions:\r\n For registering the application extensions.\r\n\"\"\"\r\nimport os\r\n\r\nfrom dotenv import load_dotenv\r\nfrom flask import Flask\r\n\r\nfrom ..auth.views import auth\r\nfrom ..config.config import Config\r\nfrom ..exceptions.exceptions import DatabaseNotConnectedException\r\nfrom ..extensions.extensions import bcrypt, cors, db, login_manager, ma, mail, migrate\r\nfrom ..home.views import home\r\nfrom ..post.views import post\r\nfrom ..utils.utils import check_if_database_exists, create_db_conn_string\r\n\r\nload_dotenv()\r\n\r\n\r\ndef set_configuration(app):\r\n \"\"\"Set the application configuration.\r\n\r\n The application configuration will depend on the\r\n environment i.e Test, Development, Staging or Production.\r\n\r\n Parameters\r\n ----------\r\n app: flask.Flask\r\n A flask app instance\r\n\r\n Returns\r\n -------"}]} +{"file_name": "1bccfa49-531b-4145-a052-872c58e6bfcb.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "\"\"\"This module contains routes for the app.\"\"\"\r\nfrom flask import Blueprint, render_template, jsonify, url_for, request\r\nfrom flask_login import current_user, login_required\r\nfrom ..post.models.post_model import Post\r\nfrom datetime import datetime\r\nfrom .controller.home import handle_befriend\r\n\r\nfrom ..utils.http_status_codes import HTTP_200_OK\r\nfrom .controller.home import handle_load_posts\r\n\r\nhome = Blueprint(\"home\", __name__)\r\n\r\n\r\n@home.route(\"/\")\r\n@home.route(\"/home\")\r\n@home.route(\"/index\")\r\n@login_required\r\ndef home_page():\r\n \"\"\"Render the home page.\"\"\"\r\n return handle_load_posts()\r\n\r\n@home.route(\"/befriend\")\r\ndef befriend():\r\n \"\"\"Render the home page.\"\"\"\r\n return handle_befriend(request.args)\r\n\r\n@home.route(\"/unfriend\")\r\ndef unfriend():\r\n \"\"\"Render the home page.\"\"\"\r\n return jsonify({'success': 'unfriend'}), HTTP_200_OK"}]} +{"file_name": "d10b6aff-4975-4595-98cb-15f756f71e42.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from dataclasses import dataclass\r\nfrom ...extensions.extensions import db\r\nfrom datetime import datetime\r\n\r\n\r\n# @dataclass\r\n# class Friend(db.Model):\r\n# __tablename__ = 'friends'\r\n# id: int = db.Column(db.Integer, primary_key=True)\r\n# user_id: int = db.Column(db.Integer, db.ForeignKey(\"users.id\"))\r\n# friend_id: int = db.Column(db.Integer, db.ForeignKey(\"users.id\"))\r\n# date: datetime = db.Column(db.DateTime, default=datetime.utcnow)\r\n\r\n# user = db.relationship(\"User\", backref=\"friends\")\r\n# friend = db.relationship(\"User\", backref=\"friends\")"}]} +{"file_name": "2d5fd8b3-11a9-40fc-aaf0-3d347681e2ba.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from ...post.models.post_model import Post\r\nfrom ...post.models.like_model import Like\r\nfrom ...post.models.comment_model import Comment\r\nfrom flask import url_for, render_template, jsonify\r\nfrom datetime import datetime\r\nfrom ...utils.http_status_codes import HTTP_200_OK, HTTP_201_CREATED\r\nimport random\r\nfrom flask_login import current_user\r\n# from ..models.friend_model import Friend\r\nfrom ...extensions.extensions import db\r\nfrom ...post.models.bookmark_model import Bookmark\r\n\r\n\r\ndef handle_load_posts() -> tuple[str, int]:\r\n \"\"\"Load the initial posts.\"\"\"\r\n user = {\r\n 'user_name': current_user.username,\r\n 'image': url_for('static', filename=f'img/{current_user.image_file}'),\r\n 'user_id': current_user.id,\r\n 'email': current_user.email,\r\n 'handle': f'@{\"\".join(current_user.username.split())}'\r\n }\r\n posts_raw = Post.query.limit(5)\r\n posts = [\r\n {\r\n 'id': post.id,\r\n 'user_id': post.author_id,\r\n 'author_image': url_for('static', filename=f'img/{post.author.image_file}'),\r\n 'author_name': post.author.username,\r\n 'location': post.location,\r\n 'publish_time': int((post.date_published - datetime.now()).total_seconds() / 60),\r\n 'text': post.text,\r\n 'photo': url_for('static', filename=f'img/{post.image}'),\r\n 'likes_count': Like.query.filter_by(post_id=post.id).count(),\r\n 'influencer': random.choice(Like.query.all()).user.username,\r\n 'liked_by': [\r\n url_for('static', filename=f'img/{like.user.image_file}') for like in Like.query.filter_by(post_id=post.id).limit(3)\r\n ],\r\n 'comments_count': Comment.query.filter_by(post_id=post.id).count(),\r\n 'comment': {"}]} +{"file_name": "94d072f6-a1a7-4fc8-a224-0a5b055973b7.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "\"\"\"This module has the User model that represnts a single user.\r\n\r\nThe classes declared:\r\n\r\nUser:\r\n A class representing a single user.\r\n\"\"\"\r\nfrom dataclasses import dataclass\r\nfrom datetime import datetime\r\n\r\nfrom flask import current_app\r\nfrom flask_login import UserMixin\r\nfrom itsdangerous import URLSafeTimedSerializer\r\n\r\nfrom ...extensions.extensions import db, ma\r\n\r\n\r\n@dataclass\r\nclass User(db.Model, UserMixin):\r\n \"\"\"A class representing a single user.\"\"\"\r\n\r\n __tablename__ = \"users\"\r\n id = db.Column(db.Integer, primary_key=True)\r\n username = db.Column(db.String(20), unique=True, nullable=False)\r\n email = db.Column(db.String(120), unique=True, nullable=False)\r\n image_file = db.Column(db.String(20), nullable=False, default=\"default.jpeg\")\r\n password = db.Column(db.String(60), nullable=False)\r\n account_activated = db.Column(db.Boolean, default=False)\r\n\r\n @staticmethod\r\n def user_with_name_exists(user_name: str) -> bool:\r\n \"\"\"Check if user with the name exists.\r\n\r\n Parameters\r\n ----------\r\n user_name: str\r\n The username to check for existance.\r\n\r\n Returns\r\n -------"}]} +{"file_name": "b3ab499e-6258-4eda-8bf5-5bb125213260.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "\"\"\"This module hadles user registration, authentication and authorization.\r\n\r\nHas the following methods:\r\nhandle_create_user:\r\ncreate_user:\r\n\"\"\"\r\nfrom flask import flash, redirect, render_template, request, url_for, session\r\nfrom flask_login import login_user\r\n\r\nfrom ...extensions.extensions import bcrypt, db\r\nfrom ..models.user import User\r\nfrom .exceptions import (\r\n EmailAddressExistsException,\r\n EmailDoesNotExistsException,\r\n InvalidEmailAddressFormatException,\r\n InvalidPasswordFormatException,\r\n InvalidToken,\r\n NameExistsException,\r\n NameTooLongException,\r\n NameTooShortException,\r\n PasswordMissmatchException,\r\n PasswordTooShortException,\r\n)\r\nfrom .helpers import (\r\n is_email_address_format_valid,\r\n is_password_valid,\r\n send_confirm_account_email,\r\n send_reset_password_email,\r\n)\r\nfrom werkzeug.datastructures import FileStorage\r\nfrom flask import current_app, jsonify\r\nimport os\r\nimport secrets\r\nfrom ...utils.http_status_codes import HTTP_200_OK\r\n\r\n\r\nALLOWED_EXTENSIONS = {'txt', 'pdf', 'png', 'jpg', 'jpeg', 'gif'}\r\n\r\ndef allowed_file(filename: str) -> bool:\r\n return '.' in filename and filename.rsplit('.', 1)[1].lower() in ALLOWED_EXTENSIONS"}]} +{"file_name": "42b8698a-ab93-4c6b-a4ec-504a0282f8d6.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from pydantic import BaseModel\r\nfrom datetime import datetime\r\nfrom typing import Optional\r\n\r\n\r\nclass AuthorBase(BaseModel):\r\n author_profile_image_url: str\r\n author_channel_url: str\r\n author_channel_id: str\r\n author_display_name: str\r\n \r\nclass AuthorCreate(AuthorBase):\r\n pass\r\n\r\nclass Author(AuthorBase):\r\n author_id: int\r\n \r\nclass CommentBase(BaseModel):\r\n comment_id: str\r\n video_id: str\r\n parent_id: Optional[str]\r\n comment_text: str\r\n like_count: int\r\n published_at: datetime\r\n updated_at: datetime\r\n \r\nclass CommentCreate(CommentBase):\r\n author: AuthorCreate\r\n \r\nclass Comment(CommentBase):\r\n author_id: int\r\n\r\nclass CommentsCreate(BaseModel):\r\n comments: list[CommentCreate]\r\n\r\nclass Comments(BaseModel):\r\n comments: list[Comment]\r\n \r\nclass GetComment(BaseModel):\r\n comment_id: str"}]} +{"file_name": "ec3adb7b-d8ca-4560-bc69-32cb92a28632.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from pydantic import BaseModel\r\nfrom datetime import datetime\r\nfrom typing import Optional\r\n\r\n\r\nclass Video(BaseModel):\r\n video_id: str\r\n video_title: str\r\n channel_id: str\r\n published_at: datetime\r\n video_description: str\r\n video_thumbnail: str\r\n views_count: int\r\n likes_count: int\r\n comments_count: int\r\n video_duration: str\r\n \r\nclass Videos(BaseModel):\r\n videos: list[Video]\r\n \r\nclass GetVideo(BaseModel):\r\n video_id: str\r\n \r\nclass GetVideos(BaseModel):\r\n offset: Optional[int] = 0\r\n limit: Optional[int] = 10"}]} +{"file_name": "a398820e-7a8e-49dd-ac9c-9b289c51d164.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from pydantic import BaseModel\r\nfrom datetime import datetime\r\nfrom typing import Optional\r\n\r\n\r\nclass Channel(BaseModel):\r\n channel_id: str\r\n channel_title: str\r\n published_at: datetime\r\n custom_url: str\r\n channel_description: str\r\n channel_thumbnail: str\r\n views_count: int\r\n videos_count: int\r\n subscribers_count: int\r\n \r\nclass Channels(BaseModel):\r\n channels: list[Channel]\r\n \r\nclass GetChannel(BaseModel):\r\n channel_id: str\r\n \r\nclass GetChannels(BaseModel):\r\n offset: Optional[int] = 0\r\n limit: Optional[int] = 10"}]} +{"file_name": "957feaa7-4f55-44b7-a884-8fd0f56c2980.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from pydantic import BaseModel\r\nfrom typing import Optional\r\n\r\n\r\nclass UserBase(BaseModel):\r\n first_name: str\r\n last_name: str\r\n email_address: str\r\n\r\n \r\nclass UserCreate(UserBase):\r\n password: str\r\n role: str = 'user'\r\n activated: bool = False\r\n \r\nclass UserCreated(UserBase):\r\n id: int\r\n activation_token: str\r\n\r\nclass User(UserBase):\r\n id: int\r\n \r\n class Config:\r\n from_attributes = True\r\n \r\nclass GetUser(BaseModel):\r\n user_id: int\r\n \r\nclass GetUsers(BaseModel):\r\n offset: Optional[int] = 0\r\n limit: Optional[int] = 10\r\n \r\nclass ActivateUser(BaseModel):\r\n user_id: int\r\n activation_token: str\r\n \r\nclass LoginUser(BaseModel):\r\n email_address: str\r\n password: str\r\n "}]} +{"file_name": "66c75360-ef23-4c2f-8764-1fbaaf6219f9.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from .create_channel_index import create_channel_index\r\nfrom .create_playlist_index import create_playlist_index\r\nfrom .create_video_index import create_video_index"}]} +{"file_name": "11d14265-f8db-4df2-92a3-0b135b252fb8.png", "messages": [{"role": "SYSTEM", "content": "You are a helpful assistant that knows how to extract python code from images."}, {"role": "USER", "content": "Extract python code from the given image."}, {"role": "ASSISTANT", "content": "from elasticsearch import Elasticsearch\r\nfrom elastic_transport import ApiError\r\nfrom .....config.logger_config import app_logger\r\n\r\ndef create_channel_index(es_client: Elasticsearch, channels_index: str = 'channels') -> None:\r\n body = {\r\n 'mappings': {\r\n 'properties': {\r\n 'channel_id': {'type': 'keyword'},\r\n 'channel_title': {\r\n 'type': 'text',\r\n 'fields': {\r\n 'raw': {\r\n 'type': 'keyword'\r\n }\r\n }\r\n },\r\n 'published_at': {'type': 'date'},\r\n 'custom_url': {'type': 'keyword'},\r\n 'channel_description': {'type': 'text'},\r\n 'channel_thumbnail': {'type': 'keyword'},\r\n 'views_count': {'type': 'long'},\r\n 'videos_count': {'type': 'long'},\r\n 'subscribers_count': {'type': 'long'}\r\n }\r\n }\r\n }\r\n try:\r\n es_client.indices.delete(index=channels_index, ignore=[400, 404])\r\n es_client.indices.create(index=channels_index, body=body)\r\n except ApiError:\r\n app_logger.error(f\"Unable to create index '{channels_index}'.\")\r\n else:\r\n app_logger.info(f\"Index '{channels_index}' created succsefully.\")\r\n "}]}