Novice use of AI giving URL information on dataview and dataviewjs

First, search the help docs and this forum. Maybe your question has been answered! The debugging steps can help, too. Still stuck? Delete this line and proceed.

What I’m trying to do

Ask Chatgpt 4.0 plus to make dataview queries on my daily note using templater and periodic notes

ChatGTP is terrible because I have not been giving it sources of dataview information

Things I have tried

I am telling ChatGTP what I need and wasting my time. I am learning a lot, but so far not reaching my goals with ChatGTP

I see @johnmavrick has listed some dataview information which I think I should be giving to ChatGTP.
Dataview Assistant Prompt.md (3.7 KB)
Dataview Data Commands.md (2.8 KB)
Dataview Expressions.md (1.6 KB)
Dataview Functions.md (21.9 KB)

I am using a templater and periodic notes to build dynamic dates on a daily notes. So, dataviewjs is also used. I was trying to ask ChatGTP to use all dataviewjs, but that was not productive at all. So, I am building dataview queries to aggragate my daily notes for a weekly review. But I want to total some numbers on a table using the advanced Table plugin. Should I be giving ChatGTP other dataviewjs sites as well?

I am paying for ChatGTP plus. I learn several languages etc, so this extra cost is ok for me. But should I be using something like Canva for this coding?

I recommend learning DataView instead, and/or asking for help from humans familiar with it.

I have tried the human route for years. People in the community have tried very hard to answer my poor questions and I am grateful. But I am bad at asking questions. I don’t know what is possible, and I don’t know the vocabulary. I am too old. I should have never invested so much time and energy into Obsidian. Obsidian is great for professionals like you. I am not going to give up on Obsidian yet. Maybe after trying AI, and having more trouble, I will get braver and return to humans. For the moment, at least, I do not feel that I am wasting AI’s time. If I am ignorant, I am privately ignorant. The problems of AI are also private. At the moment, I am not hopeful about direct help from humans. Only my daily notes and weekly reviews are a problem. Otherwise, zettelkasten is developing, thanks to Tony Ramella. Maybe I am asking for too much from the daily note. He advises keeping it simple.

Generally, this forum is not to propagate any AI use when it comes to plugins like DataView, especially DataViewJs, which can alter the contents of the vault, even.
Indeed, the twists and turns of human logic cannot even be surpassed.

But I understand the problem and I can recommend another route you can go down on.

Install one or two editors on your PC. I’m giving you two because I have in mind the general public looking on at this conversation.

VS Code Editor.
When you install it, it says it will give you 2000 AI completions free per month. I logged on with my GitHub. Not sure if you need a GitHub account (free to create) to enjoy the GitHub Copilot chat robots in VS Code.
You can load you vault in it, even use git through it to sync your changes.
You can go back and forth stating your requirements and the shortcomings of your code and have the code changed on you as you ‘Apply’ changes. You can feed these md files as context beforehand.

Cursor AI Editor.
Slightly less free minutes and 2 weeks Pro trial with its AI.

If you set up VS Code editor with your settings, when installing Cursor as the second option, it will ask you if you want to migrate settings from VS Code Editor. So it’s worthwhile to do what setup, with themes, modules like Foam, etc. one wants and make the clone of VS Code with Cursor.

Cursor seems (at first glance, I haven’t been looking into it so much yet) more advanced and the Claude 3.5 Sonnet model functioning better in this app than in VSCode (where ChatGPT4 is the default model but you can switch to Clause there was well).

So have some code ready from your online chat robot or add a sample from this forum, that is almost like what you want to achiveve, add that code to a page (even your very on markdown file where you want to query for something) in VSCode or Cursor, make sure you have that page referenced as the context, add your 4 md files as further context, and ask away, trying out the code and prompting away with the errors until you are done.

I daresay this Cursor app seems very interesting and no wonder I see many Obsidian users with functionality such as Cursor’s built into core Obsidian (which is not going to happen, of course, if only through plugins).

I am not really stressing the free options here, more like the ease how how everything is done.

What I stress is not use the chat functionality but the editor/composer functionality. Upper right hand corner in Cursor:
image

(Yesterday I was having Zotero js script snippets written for the Actions&Tags plugin. This Cursor app with Claude is no-nonsense, very clever, recommended.)