Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 1.7 KB

README.md

File metadata and controls

48 lines (32 loc) · 1.7 KB

About

This repo generates a JSON file with answers to questions on Sourcegraph's community forum that are solved. It uses Amp to generate the JSON file.

How does it work?

Amp uses memory.md so all you need to do is paste the url in the text box and command+return. This will automatically append a new JSON object to the bottom of the file.

Prompts

Amp

I want you to go to this page: https://community.sourcegraph.com/t/updating-cody-search-index-hangs-forever/2275

Grab the title: "Updating Cody search index… hangs forever"

then the answer: "I have been on this for two weeks. Now, I believe it is not directly related to Cody. I had Python Extension deactivated, and activating it fixed the problem."

Then create a json file with the following json schema:
* url
* title
* answer

Going forward I will give you a url, and you will append the next json object to the bottom of answers.json

This will produce a JSON file with the following schema

{
   "url": "https://community.sourcegraph.com/t/updating-cody-search-index-hangs-forever/2275",
   "title": "Updating Cody search index… hangs forever",
   "answer": "I have been on this for two weeks. Now, I believe it is not directly related to Cody. I had Python Extension deactivated, and activating it fixed the problem."
}

Clean up question & answer

The questions ("title") and "answer" are from a forum so the grammar and context might be off. rewrite these faqs and keep the json format.

Publish

  • Git commit
  • Git push
  • Git merge