Code Monkey home page Code Monkey logo

ulauncher-gpt's Introduction

ULauncher Chat GPT Extension

Disclaimer: Not affiliated with OpenAI

This extension enables you to use ChatGPT custom system prompts to create your own custom assistant

Screen shot

Feel free to fork for a more domain specific assistant

Install

  • Open Ulauncher
  • Click on the cog wheel to open your preferences
  • Click on the EXTENSIONS tab
  • Click on Add extension
  • Paste this repository's URL

ulauncher-gpt's People

Contributors

seofernando25 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

ulauncher-gpt's Issues

Failed to parse response

Attaching an image of an error I saw after I set up this plugin today using a new API key from OpenAI generated today. I'm seeing responses, but they appear to be plan related.

IMG_20231104_140128_edit_66881565859064.jpg

Can't get it to run

It's just Loading.... Ulauncher logs this on terminal:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/ulauncher/api/client/Client.py", line 54, in on_message
    self.extension.trigger_event(event)
  File "/usr/lib/python3/dist-packages/ulauncher/api/client/Extension.py", line 52, in trigger_event
    action = listener.on_event(event, self)
  File "/home/fsevenm/.local/share/ulauncher/extensions/com.github.seofernando25.ulauncher-gpt/main.py", line 165, in on_event
    item_string = ' | '.join([item.name for item in items])
  File "/home/fsevenm/.local/share/ulauncher/extensions/com.github.seofernando25.ulauncher-gpt/main.py", line 165, in <listcomp>
    item_string = ' | '.join([item.name for item in items])
AttributeError: 'ExtensionResultItem' object has no attribute 'name'

Persist message history

Something like an in-memory message history that would reset when user closes and re-opens ulauncher?
Might be an idea, but I'm not sure if it would be a good idea ๐Ÿค”

Bug

Hi there, wanted to report a bug that i'm encountering while trying to use your extension.

<Response [200]>
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/ulauncher/api/client/Client.py", line 54, in on_message
    self.extension.trigger_event(event)
  File "/usr/lib/python3/dist-packages/ulauncher/api/client/Extension.py", line 52, in trigger_event
    action = listener.on_event(event, self)
  File "/home/djmbritt/.local/share/ulauncher/extensions/com.github.seofernando25.ulauncher-gpt/main.py", line 149, in on_event
    item_string = ' | '.join([item.name for item in items])
  File "/home/djmbritt/.local/share/ulauncher/extensions/com.github.seofernando25.ulauncher-gpt/main.py", line 149, in <listcomp>
    item_string = ' | '.join([item.name for item in items])

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.