01-18-2023, 12:44 PM
ChatGPT seems to generate correct QM response!
|
The results I obtained are different, but they are Basically correct. For some simple problems, the results are very good
The referenced URL cannot be opened, the domain name has been switched, which may affect the results? To delete a file in Quick Macros, you can use the DeleteFile function. Here's an example code: str filename = "example.txt"; function to delete the file named "example.txt". If the function returns a value of 0, the deletion has failed, and the program prints a failure message. Otherwise, if the function succeeds, the program prints a success message. Reference: [1]
05-24-2023, 01:04 AM
Chatgpt seems to be talking nonsense
Ask: Do you know LibreAutomation Answer: Yes, I am familiar with LibreAutomate. It is an open-source automation and task automation app for Android devices.
It's interesting. I have also tried asking ChatGPT to write QuickScore/LA code to implement several rather complicated tasks on my computer. ChatGPT does a fantastic job with the questions I ask, and the generated code is very clear, with comments for each step. What I do is I provide ChatGPT with more details about QuickMacro. I paste a piece of example code written by Gintaras into ChatGPT and inform ChatGPT that the code snippet is written in a programming language called qm. I let ChatGPT learn the pattern/grammar rule. If needed, I will provide more example codes. Then I ask ChatGPT what I want to do and also instruct ChatGPT not to make changes to the programming language grammar rules. The outcome is really good.
PS: This code snippet is not written by Gintaras. It’s a test.
06-29-2024, 03:17 PM
The information in this post is very helpful for ChatGPT to understand the QM programming language. If there are any training methods to help ChatGPT gain a deeper understanding of QM, it would be great.
https://www.libreautomate.com/forum/show...5#pid22555
06-29-2024, 03:36 PM
Some time ago I tried to find a way to "train" ChatGPT to understand a programming library. Unsuccessfully.
07-30-2024, 05:37 AM
Thank you for your time and effort spent on this. Functional programming in the QM language is very convenient for solving some everyday small problems.
Llama 3.1 has released an open-source version, which seems more powerful according to performance benchmarks. Is it feasible to use it to train QM?
In QM, calling Win32 API is quite convenient, but it requires some type conversions, which can be difficult for beginners. Now, with ChatGPT, there is still a need for some QM-specific prompts to help ChatGPT understand. Could anyone provide some relevant prompts?
For example, I would like to know how to use the `GetFileVersionInfoSize` and `GetFileVersionInfo` functions in QM, with sample code. The following post is what I found through a search on the forum. It contains sample code for GetFileVersionInfoSize and GetFileVersionInfo. However, there are still many functions that cannot be found on the forum, which is why I made the request above. https://www.libreautomate.com/forum/show...2#pid34032 If the unique syntax rules of QM could be provided to ChatGPT, and after it learns or is trained on them, a GPTS assistant could be created, it would be incredibly convenient. |
« Next Oldest | Next Newest »
|
Users browsing this thread: 3 Guest(s)