mirror of
https://github.com/aljazceru/dev-gpt.git
synced 2025-12-19 22:54:21 +01:00
docs: update readme
This commit is contained in:
67
main.py
67
main.py
@@ -322,69 +322,4 @@ def main(
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
'''
|
||||
python main.py --description "Input is a url of a website as input and classifies it as either individual or business." --test "Takes https://jina.ai/ as input and returns 'business'. Takes https://hanxiao.io/ as input and returns 'individual'."
|
||||
'''
|
||||
# accomplished tasks:
|
||||
|
||||
# main(
|
||||
# description="Input is a url of a website as input and classifies it as either individual or business.",
|
||||
# test='Takes https://jina.ai/ as input and returns "business". Takes https://hanxiao.io/ as input and returns "individual". ',
|
||||
# )
|
||||
|
||||
# needs to prove:
|
||||
|
||||
# ######## Level 1 task #########
|
||||
# main(
|
||||
# description="The executor takes a pdf file as input, parses it and returns the text.",
|
||||
# input_modality='pdf',
|
||||
# output_modality='text',
|
||||
# test='Takes https://www2.deloitte.com/content/dam/Deloitte/de/Documents/about-deloitte/Deloitte-Unternehmensgeschichte.pdf and returns a string that is at least 100 characters long',
|
||||
# )
|
||||
|
||||
# main(
|
||||
# description="The executor takes a url of a website as input and returns the logo of the website as an image.",
|
||||
# test='Takes https://jina.ai/ as input and returns an svg image of the logo.',
|
||||
# )
|
||||
|
||||
|
||||
# # # ######## Level 1 task #########
|
||||
# main(
|
||||
# description="The executor takes a pdf file as input, parses it and returns the text.",
|
||||
# input_modality='pdf',
|
||||
# output_modality='text',
|
||||
# test='Takes https://www2.deloitte.com/content/dam/Deloitte/de/Documents/about-deloitte/Deloitte-Unternehmensgeschichte.pdf and returns a string that is at least 100 characters long',
|
||||
# )
|
||||
|
||||
# ######## Level 2 task #########
|
||||
# main(
|
||||
# description="OCR detector",
|
||||
# input_modality='image',
|
||||
# output_modality='text',
|
||||
# test='Takes https://miro.medium.com/v2/resize:fit:1024/0*4ty0Adbdg4dsVBo3.png as input and returns a string that contains "Hello, world"',
|
||||
# )
|
||||
|
||||
# ######## Level 3 task #########
|
||||
# main(
|
||||
# description="The executor takes an mp3 file as input and returns bpm and pitch in a json.",
|
||||
# test='Takes https://cdn.pixabay.com/download/audio/2023/02/28/audio_550d815fa5.mp3 as input and returns a json with bpm and pitch',
|
||||
# )
|
||||
|
||||
######### Level 4 task #########
|
||||
# main(
|
||||
# description="The executor takes 3D objects in obj format as input "
|
||||
# "and outputs a 2D image rendering of that object where the full object is shown. ",
|
||||
# input_modality='3d',
|
||||
# output_modality='image',
|
||||
# test='Test that 3d object from https://raw.githubusercontent.com/polygonjs/polygonjs-assets/master/models/wolf.obj '
|
||||
# 'is put in and out comes a 2d rendering of it',
|
||||
# )
|
||||
|
||||
# ######## Level 8 task #########
|
||||
# main(
|
||||
# description="The executor takes an image as input and returns a list of bounding boxes of all animals in the image.",
|
||||
# input_modality='blob',
|
||||
# output_modality='json',
|
||||
# test='Take the image from https://thumbs.dreamstime.com/b/dog-professor-red-bow-tie-glasses-white-background-isolated-dog-professor-glasses-197036807.jpg as input and assert that the list contains at least one bounding box. ',
|
||||
# )
|
||||
main()
|
||||
Reference in New Issue
Block a user