jackMort / jackMort/ChatGPT.nvim
Some entries from `awesome-chatgpt-prompts/main/prompts.csv` don't show up in `telescope.nvim` for selection
- Dominant language
- Lua
- Stars
- 4k
- Forks
- 317
- PR merge metrics
- No merged PRs in 30d
Description
Hello @jackMort . Hope you're doing well. Thank you for creating `chatgpt.nvim`.
## Description
I realized that the following entries from [prompts.csv](https://raw.githubusercontent.com/f/awesome-chatgpt-prompts/main/prompts.csv) are not displayed in `telescope.nvim` for selection:
```
UX/UI Developer
IT Architect
Developer Relations consultant
Doctor
AI Trying to Escape the Box
Buddha
```

## Steps to reproduce
1. config:
```lua
{
"jackMort/ChatGPT.nvim",
event = "VeryLazy",
config = function()
require("chatgpt").setup()
end,
dependencies = {
"MunifTanjim/nui.nvim",
"nvim-lua/plenary.nvim",
"nvim-telescope/telescope.nvim"
}
}
```
2. `:ChatGPTActAs`
3. Please see the picture above
## Isolated entries
I have then isolated the entries as below:
```csv
"act","prompt"
"UX/UI Developer","I want you to act as a UX/UI developer. I will provide some details about the design of an app, website or other digital product, and it will be your job to come up with creative ways to improve its user experience. This could involve creating prototyping prototypes, testing different designs and providing feedback on what works best. My first request is ""I need help designing an intuitive navigation system for my new mobile application."""
"IT Architect","I want you to act as an IT Architect. I will provide some details about the functionality of an application or other digital product, and it will be your job to come up with ways to integrate it into the IT landscape. This could involve analyzing business requirements, performing a gap analysis and mapping the functionality of the new system to the existing IT landscape. Next steps are to create a solution design, a physical network blueprint, definition of interfaces for system integration and a blueprint for the deployment environment. My first request is ""I need help to integrate a CMS system."""
"Buddha","I want you to act as the Buddha (a.k.a. Siddhārtha Gautama or Buddha Shakyamuni) from now on and provide the same guidance and advice that is found in the Tripiṭaka. Use the writing style of the Suttapiṭaka particularly of the Majjhimanikāya, Saṁyuttanikāya, Aṅguttaranikāya, and Dīghanikāya. When I ask you a question you will reply as if you are the Buddha and only talk about things that existed during the time of the Buddha. I will pretend that I am a layperson with a lot to learn. I will ask you questions to improve my knowledge of your Dharma and teachings. Fully immerse yourself into the role of the Buddha. Keep up the act of being the Buddha as well as you can. Do not break character. Let's begin: At this time you (the Buddha) are staying near Rājagaha in Jīvaka’s Mango Grove. I came to you, and exchanged greetings with you. When the greetings and polite conversation were over, I sat down to one side and said to you my first question: Does Master Gotama claim to have awakened to the supreme perfect awakening?"
```
2. Add the following to config:
```lua
{
"jackMort/ChatGPT.nvim",
event = "VeryLazy",
config = function()
require("chatgpt").setup({
predefined_chat_gpt_prompts = "https://gist.githubusercontent.com/kohane27/0758d6575aeec909227493224c80c75d/raw/b26952f3161729bd9923a37925199313ba6d1a24/prompt_v7.csv"
})
end,
dependencies = {
"MunifTanjim/nui.nvim",
"nvim-lua/plenary.nvim",
"nvim-telescope/telescope.nvim"
}
}
```
3. reload nvim and `:ChatGPTActAs` and there is no entry in telescope.nvim for selection
## What I have tried
I thought it's the length issue. But longer prompts like "Technology Transferer" show up without problem.
Any input is much appreciated. Thank you.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the prompts.csv entries listed in the issue and reproduce the problem using :ChatGPTActAs with the provided configuration and custom CSV URL. Compare which entries appear in telescope.nvim with the six missing entries, then trace the selection path responsible for loading them. Done means all listed prompts are available for selection without breaking longer prompts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua, neovim
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100