npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@deep-foundation/chatgpt

v3.1.0

Published

The ChatGPT package for Deep allows seamless GPT-3.5/GPT-4 integration in your projects, providing AI-powered conversations.

Downloads

159

Readme

chatgpt

The ChatGPT package for Deep allows seamless GPT-3.5/GPT-4 integration in your projects, providing AI-powered conversations.

npm Gitpod Discord

Steps for Starting to Use ChatGPT from Deep

Video instruction: https://www.youtube.com/watch?v=63oAjA536AE

  1. Go to https://github.com/deep-foundation/dev and run Gitpod. image

  2. Wait for the Deep server to start in the terminal. Once it has started, you will see a message: image

  3. After the server starts, open the port tab and click on the link to open port 3007. image

  4. In the new tab, press f12 to open developer console: image

  • And paste following command here and press Enter: const adminId = await deep.id('deep', 'admin'); await deep.login({ linkId: adminId, }); image
  • After clicking the menu on the side, you will see a new interface: image
  1. Insert a query link by right-clicking and holding down the right mouse button. image image

  2. Open the editor by right-clicking and holding down the right mouse button on the query link: image

  • Insert this code: {id:{_gt:942}} and press Ctrl+S to save(if the id of your query connection is not 942, insert its current id instead of 942): image
  1. Click on the query link, and then click on the next button: image
  1. The next step would be to paste the link of the 'PackageQuery' image

  2. Then you need to go to its editor and write the name of the package to be installed, in our case it is: @flakeed/chatgpt and press Ctrs+S: image

  3. After that we can install the package using install link from npm-packager, creating from user to our PackageQuery with package name image image

  4. Click on "promises" to see results of async reactions image

  • ChatGPT package and it dependency Messaging are installed image
  1. Insert the "Join" link from the chatgpt package to the user: image image

  2. Now you can create links to start a chat and chat with ChatGPT:

  • First, you need to create an API key for the ChatGPT API by visiting this link: https://platform.openai.com/account/api-keys: image Then, copy the API key: image

  • Create an OpenAiApiKey link and paste the token from previous step into the editor. Save it by pressing Ctrl+S: image
    image

  • Create a UsesOpenAiApiKey link to make OpenAiApiKey the current token from user to OpenAiApiKey(if you have one link "OpenAiApiKey" then you can skip this step, it is used automatically): image image

  • Using the UsesModel link(if you are satisfied with the default gpt-3.5-turbo model you can skip this step): image And select the model that is on the screen: image Creating from the user to the model, or create another model and specify the desired model in the editor, after which you need to create a UsesModel link from the desired Conversation to the model: image

  • Create a Converstion link: image

  • Create a Message link and enter your question for ChatGPT. Save it by pressing Ctrl+S: image image

  • Create a Reply link from the Message link to the Conversation link: image image After that you can see the response from ChatGPT image

  1. To continue chatting with ChatGPT, create a Message link again and in its editor ask your question and press Ctrl+S, then create a Reply Link from the user's message you just created to the ChatGPT response from the previous request: image image After that we get another response from the bot: image

That's all! You can now continue using ChatGPT by following step 14 as needed.