Code Monkey home page Code Monkey logo

aix's People

Contributors

dependabot[bot] avatar ehsandeep avatar ramanareddy0m avatar tarunkoyalwar avatar xm1k3 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aix's Issues

Refactor to enable library use

While not explicitly mentioned in this projects documentation as a feature (compared to others), the convention to have a static example in the examples directory typically shows how to integrate with a projectdicovery library. However, in the case of this project, the runner lives in an internal directory and will cause go build to fail.

package steampipe-plugin-projectdiscovery
        steampipe-plugin-projectdiscovery/projectdiscovery
        projectdiscovery/table_projectdiscovery_ai_x.go:10:2: use of internal package github.com/projectdiscovery/aix/internal/runner not allowed

Could a small refactor be done to allow integration?

File input not working

It looks like file input isn't working.

Works:

aix -p "Write a haiku

CleanShot 2023-05-19 at 09 20 05@2x

Doesn't work:

  • cat ./aiinput
  • Write a haiku
CleanShot 2023-05-19 at 09 20 32@2x
  • aix -p ./aiinput
  • Error:
CleanShot 2023-05-19 at 09 19 35@2x

Add abstraction to runner package for separated output as a library

Currently, the runner package does not offer an abstraction for separated output, which makes it difficult to use as a library in other projects.

Goal

The goal of this modification is to allow developers to use the runner package as a library in other projects without having to depend on a specific output. This will make the package more flexible and suitable for a wide range of applications

add documentation

add readme with:

  • installation
  • help command
  • configuration
  • usage
  • licence (?)

Feat add LLM options , markdown rendering and stream output

Proposed Changes

  • add option to stream response from openai LLM
  • by default render markdown and skip rendering with -nm or -no-markdown
  • adds -temperature and -topp flag to tune LLM
  • adds -system-context flag to pass a system message to LLM . (also support file as input)

fix and improve output

Proposed Changes

- Print output on stdout in default mode
- Fix output option
- Add color to in verbose mode to [prompt] and [completion] block
- Support for positional input without `-p` option

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.