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

merge master correctly #25999

Merged
merged 11 commits into from
Sep 3, 2024
Merged

merge master correctly #25999

merged 11 commits into from
Sep 3, 2024

Commits on Sep 3, 2024

  1. Configuration menu
    Copy the full SHA
    7457949 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fb642e1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1dfc8c0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    035d8cf View commit details
    Browse the repository at this point in the history
  5. community[patch]: change default Neo4j username/password (#25226)

    **Description:**
    
    Change the default Neo4j username/password (when not supplied as
    environment variable or in code) from `None` to `""`.
    
    Neo4j has an option to [disable
    auth](https://neo4j.com/docs/operations-manual/current/configuration/configuration-settings/#config_dbms.security.auth_enabled)
    which is helpful when developing. When auth is disabled, the username /
    password through the `neo4j` module should be `""` (ie an empty string).
    
    Empty strings get marked as false in
    `langchain_core.utils.env.get_from_dict_or_env` -- changing this code /
    behaviour would have a wide impact and is undesirable.
    
    In order to both _allow_ access to Neo4j with auth disabled and _not_
    impact `langchain_core` this patch is presented. The downside would be
    that if a user forgets to set NEO4J_USERNAME or NEO4J_PASSWORD they
    would see an invalid credentials error rather than missing credentials
    error. This could be mitigated but would result in a less elegant patch!
    
    **Issue:**
    Fix issue where langchain cannot communicate with Neo4j if Neo4j auth is
    disabled.
    danodonovan authored Sep 3, 2024
    Configuration menu
    Copy the full SHA
    f49da71 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0af447c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ac92210 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    bc3b026 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    9eb9ff5 View commit details
    Browse the repository at this point in the history
  10. community: delta in openai choice can be None, creates handler for th…

    …at (#25954)
    
    Thank you for contributing to LangChain!
    
    - [X ] **PR title**
    
    - [X ] **PR message**: 
    
         **Description:** adds a handler for when delta choice is None
    
         **Issue:** Fixes #25951
         **Dependencies:** Not applicable
    
    
    - [ X] **Add tests and docs**: Not applicable
    
    - [X ] **Lint and test**: Run `make format`, `make lint` and `make test`
    from the root of the package(s) you've modified. See contribution
    guidelines for more: https://python.langchain.com/docs/contributing/
    
    Additional guidelines:
    - Make sure optional dependencies are imported within a function.
    - Please do not add dependencies to pyproject.toml files (even optional
    ones) unless they are required for unit tests.
    - Most PRs should not touch more than one package.
    - Changes should be backwards compatible.
    - If you are adding something to community, do not re-import it in
    langchain.
    
    If no one reviews your PR within a few days, please @-mention one of
    baskaryan, efriis, eyurtsev, ccurme, vbarda, hwchase17.
    
    Co-authored-by: Grande <Tom.Daniel.Grande@statsbygg.no>
    Co-authored-by: Erick Friis <erick@langchain.dev>
    3 people authored Sep 3, 2024
    Configuration menu
    Copy the full SHA
    0207dc1 View commit details
    Browse the repository at this point in the history
  11. openai[patch]: Upgrade @root_validators in preparation for pydantic 2…

    … migration (#25491)
    
    * Upgrade @root_validator in openai pkg
    * Ran notebooks for all but AzureAI embeddings
    
    ---------
    
    Co-authored-by: Bagatur <baskaryan@gmail.com>
    eyurtsev and baskaryan authored Sep 3, 2024
    Configuration menu
    Copy the full SHA
    bc3b851 View commit details
    Browse the repository at this point in the history