Giter Club home page Giter Club logo

ai4pharo's Introduction

LLMDebugger

This is an extension of the Pharo Debugger to query an LLM using the Pharo HuggingFace API to do what ever we want.

Installation

Execute the following in a Pharo Playground

Metacello new
  githubUser: 'Evref-BL' project: 'AI4Pharo' commitish: 'main' path: 'src';
  baseline: 'AI4Pharo';
  load

Then, in Settings > Tools > Debugging > DebuggerExtension > LLMDebugger > Activate the extension.

Also, set the API key for hugging face

Usage

When the debugger popup, you have a right panel that allows you to prompt the LLM

ai4pharo's People

Contributors

badetitou avatar

Stargazers

Petter Egesund avatar

Watchers

 avatar Nicolas Anquetil avatar

ai4pharo's Issues

ERROR: Instance of StDebugger did not understand #stack

Description

Issue occurs when trying to call the #stack method on an instance of StDebugger. The error message suggests that the StDebugger instance does not recognize this message. This issue can be caused by a few reasons:

  • The #stack message might be misspelled or not implemented in the StDebugger class.
  • The object receiving the #stack message might not be an instance of the StDebugger class.
  • There could be logical errors in the implementation of the #stack method within the StDebugger class.
  • There may be other error messages preceding this one, which could indicate the root cause.

Steps to Reproduce (if applicable)

  1. Check the spelling and implementation of the #stack message in the StDebugger class.
  2. Ensure that the object receiving the #stack message is an instance of the StDebugger class using the isKindOf: or respondsTo: messages.
  3. Verify that there are no other error messages preceding this one, which might indicate the root cause.
  4. If you don't have access to the source code or are unsure how to fix the issue, consider reaching out to the developers/maintainers of the library for assistance.

Expected Behavior

The StDebugger instance should understand and properly execute the #stack message without throwing an error.

Actual Behavior

The current behavior is that the error message: "Instance of StDebugger did not understand #stack" is thrown when trying to call the #stack method on an StDebugger instance.

Environment (if applicable)

  • Operating System: [e.g., macOS Sonoma]
  • Programming Language Version: [e.g., Pharo 10.0, ]
  • Library or Framework Version: [e.g., StDebugger ]

Additional Context (if applicable)

Add any other context about the problem here, such as relevant code snippets or a description of the overall project.

PS: this issue has been generated by LLM-Debugger

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.