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

[MLOB-1524] feat(llmobs): Introduce LLM Observability SDK #4742

Merged
merged 20 commits into from
Oct 29, 2024

Commits on Sep 18, 2024

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

Commits on Sep 25, 2024

  1. [MLOB-1555] LLM Observability writers (#4699)

    LLM Observability writers
    sabrenner authored Sep 25, 2024
    Configuration menu
    Copy the full SHA
    5b215f6 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2024

  1. [MLOB-1556] LLM Observability tagger (#4718)

    LLM Observability tagger
    sabrenner authored Sep 26, 2024
    Configuration menu
    Copy the full SHA
    feeeb89 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bddfa3d View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2024

  1. [MLOB-1560] LLMObs Span Processor (#4738)

    * span processor
    
    * tests
    
    * remove agent exporter log and do not stringify tags
    
    * remove llmobs from exporter tests
    
    * add in default unserializable value
    
    * review comments
    
    * warning log for metric
    
    * todo-ify
    
    * remove some duplicate logic
    
    * decouple llmobs span processing with a channel
    
    * use a static weakmap to store llmobs tags/annotations instead of span tags
    
    * do not register span in map if it does not have an llmobs span kind
    
    * span is passed on an object from sp publisher
    
    * re-clarify TODOs
    
    * only send span in publish
    
    * log multiple warnings and return conditional undefined
    
    * update error logic
    sabrenner authored Oct 9, 2024
    Configuration menu
    Copy the full SHA
    38225ed View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2024

  1. Configuration menu
    Copy the full SHA
    7ba7ab8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b6452ad View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2024

  1. [MLOB-1561] LLM Observability SDK API (#4773)

    * wip
    
    * type definitions
    
    * active + try/catch eval metric writer append
    
    * test ts
    
    * use tagger map and processor as a channel subscriber
    
    * change decorate and add in dev changes
    
    * try some api changes
    
    * add decorate to noop
    
    * fix breaking proxy tests
    
    * experimental decorators for TS docs
    
    * api changes, fix unit + e2e tests
    
    * try removing global log mocks
    
    * add some util tests
    
    * remove logger mocks
    
    * add module tests + do not enable when not specified
    
    * fix eval metric integration test
    
    * wip
    
    * memoize getFunctionArguments
    
    * move any subscriber and global writer to the module enablement level instead of sdk
    
    * should fix TS tests
    
    * add ts integration test and fix decorator
    
    * devex for ts versions
    
    * add noop typescript test
    
    * remove startSpan
    
    * remove unneeded change
    
    * dedup decorator code
    
    * Update index.d.ts
    
    Co-authored-by: Yun Kim <35776586+Yun-Kim@users.noreply.github.com>
    
    * map metrics names
    
    * change validKind to validateKind and throw
    
    * tagger for metrics follow-up
    
    * review feedback
    
    * add some tests for not auto-annotating in certain cases
    
    ---------
    
    Co-authored-by: Yun Kim <35776586+Yun-Kim@users.noreply.github.com>
    sabrenner and Yun-Kim authored Oct 24, 2024
    Configuration menu
    Copy the full SHA
    7e8e0f7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4370228 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a76f5ad View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    96aa49a View commit details
    Browse the repository at this point in the history
  5. resolve ts test

    sabrenner committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    d1ee649 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2024

  1. Configuration menu
    Copy the full SHA
    18b0491 View commit details
    Browse the repository at this point in the history
  2. tagger can soft fail

    sabrenner committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    adf8d67 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5b4f88b View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2024

  1. Configuration menu
    Copy the full SHA
    05533cb View commit details
    Browse the repository at this point in the history
  2. address review comments

    sabrenner committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    9ac9172 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3e6945b View commit details
    Browse the repository at this point in the history
  4. fix evaulations test

    sabrenner committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    cc6fec5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    845c840 View commit details
    Browse the repository at this point in the history