Skip to content

v1.1.0 release - feature additions / refactors / fixes #16

@hsaeed3

Description

@hsaeed3

This issue will serve as a centralized source to gather thoughts/ideas and tasks in relation to the RC for zyx v1.1.0, and will contain both task-list based items along with general ideas.

Feature Additions

  • 'I don't know' litmus test of LLMs, for appropriate operations that receive source content, or specific context to mutate a target type/object, should provide some sort of parameterized functionality through semantic operations that allows choosing if:

    • Model should respond with only the context it does know (similar to selective in edit())
    • Model should attempt to infer/guess answers or content
    • A model should not respond ('I dont know')

Refactors

Core Graph API

This task set is in relation to semantic operations, but more specifically items that can be implemented for all semantic operations through the pydantic_graph.beta implementations within zyx._graph or the core utilities.

  • Optimize/refactor streaming (as-per issues with handling streaming for sync contexts through the pydantic_graph.beta API, as it is not yet natively supported the streaming logic for synchronous tasks is a bit messy and must be cleaned up.)
  • Integrate stronger internal handling over the various output_type components provided by pydantic_ai (eg. NativeOutput, ToolOutput)
  • !!! IMPORTANT: Implement generalized retry system on model failures, through an operation agnostic manner.

Semantic Operation Metrics & Optimization

This is a broad task-set, but is in context of ensuring the accuracy, response time as well as the templating/context injection performed when constructing requests for each individual semantic operation.

make() / amake()

  • Optimize request template
  • Ensure hallucinations are minimized
  • Ensure clean request flow

edit() / aedit()

  • Optimize request template
  • Ensure hallucinations are minimized
  • Ensure clean request flow
  • Integrate Attachment-like targets as an output source

select() / aselect()

  • Optimize request template
  • Ensure hallucinations are minimized
  • Ensure clean request flow

select() / aselect()

  • Optimize request template
  • Ensure hallucinations are minimized
  • Ensure clean request flow

parse() / aparse()

  • Optimize request template
  • Ensure hallucinations are minimized
  • Ensure clean request flow

validate() / avalidate()

  • Optimize request template
  • Ensure hallucinations are minimized
  • Ensure clean request flow

query() / aquery()

  • Optimize request template
  • Ensure hallucinations are minimized
  • Ensure clean request flow

run() / arun()

  • Optimize request template
  • Ensure hallucinations are minimized
  • Ensure clean request flow

expr()

  • Optimize request templates
  • Ensure hallucinations are minimized
  • Ensure clean request flow

Chores/Fixes

...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions