Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic implementation of an plugin system for OA #2765

Merged
merged 19 commits into from
May 2, 2023

Commits on Apr 19, 2023

  1. Configuration menu
    Copy the full SHA
    404a62d View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2023

  1. - pre-commit fix

    - added mussing types
    - fixed typos in react imports
    agi committed Apr 20, 2023
    Configuration menu
    Copy the full SHA
    4a77762 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    436f0c0 View commit details
    Browse the repository at this point in the history
  3. Updated prompts and removed some unused parametes

    - swaped "Question" from prompt with "New Input", works better with llama-SFT-7E3
    - seed -> 43
    - similarity coef for tool selection reduced
    draganjovanovich committed Apr 20, 2023
    Configuration menu
    Copy the full SHA
    8e4bda1 View commit details
    Browse the repository at this point in the history
  4. More of a prompt compostions tweaking to better suite model that i am

    currently testing: llama-sft-7-e3 and small fixes
    - small prompt composition tweaks
    - fix for chat memory deletion
    - tweaking of sampling parameters
    - increased limit of request result truncation
    draganjovanovich committed Apr 20, 2023
    Configuration menu
    Copy the full SHA
    7cb6378 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2023

  1. More prompt tweaks and small bug fixes

    - tweaked sampling settings for plugin usage
    - tweaked prompting templage
    - fix for tool extraction function
    - fix in final prompt when plugin is not used
    draganjovanovich committed Apr 21, 2023
    Configuration menu
    Copy the full SHA
    27efd7a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a61604d View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2023

  1. Updated plugins.md

    draganjovanovich committed Apr 22, 2023
    Configuration menu
    Copy the full SHA
    c2919a7 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2023

  1. Upldated prompts, tools prompts compositions and various fixes

    - updated main instruction prompts
    - updated opeanapi parsers, with some basic support for post requests,
      and fixes for unsafe accessing of elements
    - updated tools composition so now it is kind of usable for post
      requests
    - removed unnecessary imports of Tuple, List etc...
    - updated fetching of plugins to use aiohttp
    - fix for frontend part, so now when user switches between presets,
      plugin config is preserved
    draganjovanovich committed Apr 23, 2023
    Configuration menu
    Copy the full SHA
    ad2dc78 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2023

  1. rebase with main

    draganjovanovich committed Apr 28, 2023
    Configuration menu
    Copy the full SHA
    620c5cf View commit details
    Browse the repository at this point in the history
  2. prompt tweaks, small chain utils updates and implementation of plugin…

    … sampling settings to the UI with locking functionality
    draganjovanovich committed Apr 28, 2023
    Configuration menu
    Copy the full SHA
    c5fa46e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4cb5098 View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2023

  1. - Improved prompts and plugins system business logic, so now system w…

    …orks much
    
    better with current RLHF llama based models
    - Implemented naive mechanism for fixing LLM generated JSON action input data
    - Implemented truncation of the prompt template sequences from the final generation
    to help prevention of the prompt leaks that mainly occurs when using RLHF llama
    models or with any llama model, when truncate_prompt kicks and we end up loosing
    beginning of the final composed prompt
    - Removed included calculator plugin
    - Various small fixes for UI based
    - In RenderedMarkdown now images are supported, when appropriate input prop is provided
    draganjovanovich committed Apr 30, 2023
    Configuration menu
    Copy the full SHA
    0fb5fb5 View commit details
    Browse the repository at this point in the history
  2. Added back package-lock.json

    deleted package-lock.json in the root of the repo
    draganjovanovich committed Apr 30, 2023
    Configuration menu
    Copy the full SHA
    cbc914c View commit details
    Browse the repository at this point in the history

Commits on May 1, 2023

  1. Added used_plugin to db message

    yk committed May 1, 2023
    Configuration menu
    Copy the full SHA
    e85833a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fef5151 View commit details
    Browse the repository at this point in the history
  3. Update chat.py

    olliestanley authored May 1, 2023
    Configuration menu
    Copy the full SHA
    9a588f4 View commit details
    Browse the repository at this point in the history
  4. fixed alembic

    yk committed May 1, 2023
    Configuration menu
    Copy the full SHA
    57f30fa View commit details
    Browse the repository at this point in the history
  5. Extracted used_plugin from work_parameters

    - fixed conflicts with frontend part of the app
    draganjovanovich committed May 1, 2023
    Configuration menu
    Copy the full SHA
    6e32971 View commit details
    Browse the repository at this point in the history