0.0.5 • Published 8 months ago

@juananpe/snippet-hint-command v0.0.5

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
8 months ago

Hint Command Snippet

This snippet adds a hint command to mongosh that provides helpful suggestions or recommendations for MongoDB-related tasks. The query results are generated using Groq API.

Prerequisites

export GROQ_API_KEY=gsk_XXXXXXX

Usage

After installing the snippet, you can use the hint command in your MongoDB shell like this:

hint("very briefly, just the command, do not use markdown: in mongosh how to get the collections names of current db?");

This will output a possible solution to your query, such as db.getCollectionNames().

Installation

You can install this snippet using the snippet command in mongosh:

snippet install hint-command

License

This snippet is licensed under the Apache-2.0 license.

0.0.5

8 months ago

0.0.4

8 months ago

0.0.3

8 months ago

0.0.2

8 months ago

0.0.1

8 months ago