Still learning about these generative AI tools. My assessment is that it is a Hugh leap in Natural Language Processing. And for programming, might enable us to weave generated pieces into a coherent product faster. It will also allow program creation that might not otherwise happen. Here is a prompt that I gave Bing copilot – no thrills With the […]
Using copilot to create toml reader class
Bing Chat – use a class as a template prompt
Here is my now goto prompt for when I am working on a project – have a class that I need to mimic the interfaces. use the following class as a template. Call the new class “MainframeExcelText” The init take file and sheet and sets row and column location to 0. 1 function – write_text will take a row,col and […]
ChatGPT prompt for in depth language learning – Chinese/Mandarin
Here is sample of a prompt that gave results that impressed me. Prompt: can you define 漫长 in English and give possible meaning by likely occurrence in Chinese text. The term “漫长” (màncháng) in Chinese can be defined in English as “lengthy,” “protracted,” or “prolonged.” It describes something that is enduring or lasting for a long time. Here are some […]
How to display Chinese characters in Matplotlib with Windows/Jupyter
I asked ChatGPT to generate a sample list of Tang Dynasty Poets from the book of 300 poems. It gave me this – it had some duplicates and one Song Dynasty poet in it. import pandas as pd data = [ {“English Name”: “Li Bai”, “Chinese Name”: “李白”, “Dates”: “701-762”}, {“English Name”: “Du Fu”, “Chinese Name”: “杜甫”, “Dates”: “712-770”}, {“English […]
Using Bing Chat to generate json file for fixed data.
I asked Bing to create a JSON data for O’day sailboats This is a great use case to generate fixed data in way you want it for your app. Save lots of times searching and typing. create a json file for Oday’s sailboats, data to include – length overall, sailarea, make and model Bing did a search and fed […]
ChatGPT – creating a C++ file search with csv output
I first started with Python and that worked well. I then did a perl version. That went well. So, I thought – why not go for the jugular – write a c++ one. I call it file_audit – save a csv formatted file so I can review and sort by date to see what I need to save or delete. […]