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

gladdis

v0.5.1

Published

Gladdis (Generative Language Artificial Dedicated & Diligent Intelligence System) - it's an AI chatbot.

Downloads

1

Readme

Description

Obsidian exists to help you build a second brain. Gladdis exists to give that brain a pen (let it do the writing for once), ears (talking is easier than typing) and multiple split personalities (give your system prompts names). Further plans for v1.0 include: a brush (let it paint like a true artist), a voice (listening is easier than reading), an internal monologue (together we are more than our sum) and the ability to execute code (what could possibly go wrong ?).

Current Features

  • Simple Markdown Syntax: the conversation window is any open Markdown file, the streaming LLM response is appended.
  • Whisper Transcription: audio files WikiLinks are auto-transcribed, use the Obsidian "audio recorder" core plugin.
  • Document Loading: text files WikiLinks are auto-loaded, just drag and drop files into the conversation window.
  • PDF & Web Support: load PDF WikiLinks just like text files, load web pages external links as well using <URL>.
  • System Prompts: name your system prompts, create personalities and use FrontMatter to choose whom to talk to.

Documentation

Obsidian Commands

Gladdis provides 3 commands, map them to hotkeys in the settings or create buttons with the Commander plugin.

  • Chat with Gladdis: the main command to perform the full processing, including the call to the LLM model.
  • Process the Content: to check that all links and transcriptions are correct, and get a full token count.
  • Process the Prompt (or Selection): to check just the prompt or selection and get a specific token count.

Settings / Options

The settings panel let you specify the plugin data folder, your OpenAI API key and the FrontMatter defaults.

  • Data Root Path: Gladdis will search for config files in the configs subfolder, and will write the chat and call logs in the history subfolder.
  • OpenAI Secret Key: create an OpenAI API account, generate an API key and paste it in the settings panel.
  • FrontMatter Defaults: adjust the various defaults for the Gladdis and Whisper options.

FrontMatter Config

The defaults from the settings panel can be overridden using FrontMatter in any conversation or config file.

---
gladdis:
    label: Gladdis    # name the AI in the config
    config: Gladdis   # switch the AI you talk to
    model: gpt-3.5-turbo # switch the model at any time
    temperature: 42   # test different temperatures
    top_p_param: 100  # or various probability mass
whisper:
    config: Whisper   # switch transcription language
    model: whisper-1  # only one model at the moment
    temperature: 24   # test different temperatures
    echoOutput: true  # output transcription callout
    deleteFile: false # cleanup after transcription
---

Markdown Syntax

The same familiar Obsidian syntax from your notes is used for the conversation history (it's all just text).

Just use standard Markdown text for `User` messages and prompts.
The content of the Gladdis config file will be prepended to this.
Use triple dashes to separate messages / sections of conversation.

---

__UserName:__ labels also start a new message with custom names.

__Gladdis:__ Gladdis' label and `Assistant` are for AI messages.

__System:__ is for System Prompts (the default in config files).

---

> Quoted lines are ignored, error and token counter callouts too.

[[path/file.md|WikiLinks to file]] and ![[audio_recording.mp3]] will be parsed.
Static Web pages can be loaded using angle brackets: <https://www.example.com>.

The very last message is the prompt, the LLM response streams below.

Available Models

Only the OpenAI models are supported at the moment, however more APIs and local models are coming.

| Label | Token Limit | Notes | | ----- | :-----------: | ----- | | gpt-4-turbo-preview | 128 k | The most powerful and expensive. | | gpt-4-32k | 32 k | The old GPT-4, with large context. | | gpt-4 | 8 k | The original GPT-4, from June 2023. | | gpt-3.5-turbo | 16 k | The updated GPT-3.5, cheaper than 4. | | gpt-3.5-turbo-16k | 16 k | The old GPT-3.5, with large context. | | gpt-3.5-turbo-0613 | 4 k | The original GPT-3.5, from June 2023. |

Future Development

  • Image & Audio Out: create images with DALL·E, speak with ElevenLabs or other API accessible models.
  • Code Execution: add Templater code to your prompts, run any code the AI generates (are you sure ?!).
  • AI-2-AI Prompt: let your various AI configs talk to each other, create your own "Council of Gladdises".

Installation

From within Obsidian

  1. Open the "Community plugins" tab in the settings.
  2. Click the "Browse" button and search for "Gladdis".
  3. Click the "Install" button and enable the plugin.

With the BRAT plugin

  1. Install the Beta Reviewers Auto-update Tool plugin.
  2. Follow the instructions for "Adding a beta plugin".

Manually from GitHub

  1. Download the main.js & manifest.json files from the latest release into your vault's plugins folder: <vault>/.obsidian/plugins/gladdis/.

How to Contribute ?

Feel free to open new issues or submit PRs, while the Gladdis community is growing.

About the Author

Gladdis is created by Aurélien Stébé, a senior French freelance Toptal Software Engineer.