Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: microsoft/kernel-memory
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: packages-0.95.241216.2
Choose a base ref
...
head repository: microsoft/kernel-memory
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: packages-0.96.250115.1
Choose a head ref
  • 13 commits
  • 91 files changed
  • 6 contributors

Commits on Dec 17, 2024

  1. Update README.md (#946)

    dluc authored Dec 17, 2024
    Configuration menu
    Copy the full SHA
    34600e4 View commit details
    Browse the repository at this point in the history
  2. Update README.md

    dluc authored Dec 17, 2024
    Configuration menu
    Copy the full SHA
    cafb63e View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2024

  1. Throw exception when mixing volatile and persistent data (#948)

    Multiple customers are reporting duplicate records or missing answers,
    most times because of an incorrect KM setup such as using a volatile
    document storage with a persistent vector store (or viceversa).
    
    This PR changes the memory builder behavior to detect these setups and
    throw an exception in such cases. The exception can be suppressed if the
    user needs such a setup, e.g. for testing purposes.
    dluc authored Dec 18, 2024
    Configuration menu
    Copy the full SHA
    0b006f8 View commit details
    Browse the repository at this point in the history
  2. RAG: discard duplicate facts by default (#952)

    ## Motivation and Context (Why the change? What's the scenario?)
    
    When importing chat messages or running tests with small files or
    without IDs, the storage might fill up with duplicate chunks of text
    that affect the number of tokens used when generating an answer.
    
    ## High level description (Approach, Design)
    
    When using the ASK API, after fetching N records from storage, discard
    duplicates and use only unique chunks in the RAG prompt.
    The behavior is configurable via
    `SearchClientConfig.IncludeDuplicateFacts` and request context
    `custom_rag_include_duplicate_facts_bool` arg.
    dluc authored Dec 18, 2024
    Configuration menu
    Copy the full SHA
    660d12f View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2024

  1. Update dotnet-build.yml

    dluc authored Dec 19, 2024
    Configuration menu
    Copy the full SHA
    05f2465 View commit details
    Browse the repository at this point in the history
  2. Update dotnet-unit-tests.yml

    dluc authored Dec 19, 2024
    Configuration menu
    Copy the full SHA
    c0b4e60 View commit details
    Browse the repository at this point in the history
  3. Dependencies upgrade (#953)

    dluc authored Dec 19, 2024
    Configuration menu
    Copy the full SHA
    385d8c4 View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2025

  1. Add service config check (#971)

    Add basic configuration check to detect some warnings and errors. The
    feature can be extended in future to check more services and more
    details, e.g. availability and permissions.
    
    How to use:
    ```
    cd service/Service
    dotnet run check
    ```
    dluc authored Jan 8, 2025
    Configuration menu
    Copy the full SHA
    df03deb View commit details
    Browse the repository at this point in the history
  2. Update OllamaSharp package to version 4.0.17 (#968)

    Updated the **OllamaSharp** package version in the
    `Directory.Packages.props` file from 4.0.11 to 4.0.17.
    
    See https://github.com/microsoft/kernel-memory/issues/963
    marcominerva authored Jan 8, 2025
    Configuration menu
    Copy the full SHA
    3c92e68 View commit details
    Browse the repository at this point in the history
  3. fix: Resolve streaming bug in MemoryWebClient (#959)

    Improve web client streaming performance
    westdavidr authored Jan 8, 2025
    Configuration menu
    Copy the full SHA
    6c3f50a View commit details
    Browse the repository at this point in the history
  4. Update AWS S3 Extension to allow for use of credential chain. (#969)

    ## Motivation and Context (Why the change? What's the scenario?)
    
    Allow the use of [instance
    metadata](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html)
    for authentication and the proper use of [credential
    chain](https://docs.aws.amazon.com/sdkref/latest/guide/standardized-credentials.html).
    
    ## High level description (Approach, Design)
    
    Added AWS S3 Extension CredentialChain authentication method to use
    default credentials
    
    ---------
    
    Co-authored-by: Armando Portill <aportillo@fingercheck.com>
    Co-authored-by: Devis Lucato <dluc@users.noreply.github.com>
    Co-authored-by: Devis Lucato <devis@microsoft.com>
    4 people authored Jan 8, 2025
    Configuration menu
    Copy the full SHA
    b3b285a View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2025

  1. Configuration menu
    Copy the full SHA
    f21cc53 View commit details
    Browse the repository at this point in the history
  2. Add token usage tracking (#947)

    ## Motivation and Context (Why the change? What's the scenario?)
    
    Adds a new TokenUsage property to MemoryAnswer to hold information about token usage.
    
    ## High level description (Approach, Design)
    
    * Include token count provided by the internal tokenizer
    * Include token count provided by the service, if available
    * Support streaming and multiple services, if needed
    
    ---------
    
    Co-authored-by: Devis Lucato <dluc@users.noreply.github.com>
    marcominerva and dluc authored Jan 15, 2025
    Configuration menu
    Copy the full SHA
    dd89a8e View commit details
    Browse the repository at this point in the history
Loading