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

AI-Asset-Assistant #90

Closed
13 tasks done
Tracked by #87 ...
Mookse opened this issue Nov 6, 2023 · 2 comments · Fixed by #203
Closed
13 tasks done
Tracked by #87 ...

AI-Asset-Assistant #90

Mookse opened this issue Nov 6, 2023 · 2 comments · Fixed by #203
Assignees
Labels
enhancement New feature or request required functionality required for primary pre-alpha release to family and friends system-avatar MyLife Core Intelligence

Comments

@Mookse
Copy link
Member

Mookse commented Nov 6, 2023

Asset Assistant

Upload functionality

Recently, openai released beta v2 of their GPT assistant tech; as a result, file structuring has changed, theoretically for the better, where they have the vector store, which obviates a branch of development internally for the moment. Original specifications are found now in comments

  • upload endpoint
    • routes.mjs: member-route only /upload
    • functions.mjs, api-functions.mjs: upload(ctx) function routes to avatar
      • storing in api-functions, with member validation wrapper
    • mylife-avatar.mjs: instantiates Asset Assistant
    • asset-assistant.mjs: enhance/refactor for new vector-store
    • mylife-factory.mjs: stores vectorstoreId to datacore
    • mylife-llm-services.mjs: upload(), list() from openAI
  • frontend upload
  • frontend collections: note - avoid local cosmos for now on this, everything from openAI
    • Asset Agent must be transferred to singleton for permanence of file assets
    • refresh triggers collection call
    • asset agent (via avatar) delivers file-list on-demand
    • upon collection receipt (or upload), update file-collection list
@Mookse Mookse self-assigned this Nov 6, 2023
@Mookse Mookse added enhancement New feature or request good first issue system-avatar MyLife Core Intelligence required functionality required for primary pre-alpha release to family and friends labels Nov 6, 2023
@Mookse Mookse added this to the mylife pre-alpha milestone Nov 6, 2023
@Mookse Mookse changed the title file widget AI-Asset-Agent Nov 6, 2023
@Mookse Mookse changed the title AI-Asset-Agent AI-Asset-Assistant Nov 6, 2023
@Mookse
Copy link
Member Author

Mookse commented Nov 6, 2023

/members/upload endpoint
_Router.post('/members/upload', upload) in routes.js

  • create upload in functions.js

@Mookse
Copy link
Member Author

Mookse commented May 13, 2024

  • AI Asset Assistant
    • upload: internally-stored; 2 of 3 successive/additive states
      • validity check (if exists, ignore/select, no overwrites at this moment)
      • define and create endpoint /upload
        • file
        • name
        • context
        • content summary
        • other standard metadata
      • state-1: vector-encode file
      • state-2: noSQL creation of asset in db
      • state-3: store raw (out-of-scope of issue)
    • link: externally-saved ingestible (or even undigestible, I assume, would just continue to try to better consume itself)
      • ai-connection-assistant embed
    • assign/change purpose
    • execute purpose
    • suggest
      • produce a sensible question-blurb shown beneath its thumbnail; sensible here implying contextual awareness - i.e., what it has, what it doesn't have
      • from: What other categories should I have in order to best represent a jpg photo of blurbity?
      • to (after # maturation epochs or gpt-benched competency): what info, and formulate question thereof, would help expand category this understanding ${ send text } of blurbity-stuff
  • secure Assistant
    • protect all functionality behind known login
  • frontend interface
    • visual partially distinct from chatGPT
      • essentially has some additional icons, maybe is a sub-agent sitting inside of a parent? (Don't like it initially, give it another think)
      • full-screen concept with sub-widget architecture
    • 'files' themselves capable of being in 3 states, not exclusive, but distinct
      • stored in noSql as object
        • each asset can have its own intelligent wrapper from which to query itself, based upon what skills 'core' has
      • vector concepts stored
      • raw file stored

Out-of-Scope

  • raw file storage
    • obviously this is a must-have, but foresee relationship with `permenant.org

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request required functionality required for primary pre-alpha release to family and friends system-avatar MyLife Core Intelligence
Projects
Status: Done
Status: Todo
1 participant