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

community: chroma error patch(attribute changed on chroma) #27827

Merged
merged 35 commits into from
Nov 5, 2024

Commits on Nov 1, 2024

  1. ChromaDB error fix

    shjunn committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    4d345dc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0ad9715 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2024

  1. backward compatibility

    shjunn committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    7b31bfe View commit details
    Browse the repository at this point in the history
  2. docs: Reference new databricks-langchain package (langchain-ai#27828)

    Thank you for contributing to LangChain!
    
    Update references in Databricks integration page to reference our new
    partner package databricks-langchain
    https://github.com/databricks/databricks-ai-bridge/tree/main/integrations/langchain
    
    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.
    
    ---------
    
    Signed-off-by: Prithvi Kannan <[email protected]>
    prithvikannan authored and shjunn committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    99faf40 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8da6211 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a1fad0f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b0a73a3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    76f4b11 View commit details
    Browse the repository at this point in the history
  7. core: fix CommaSeparatedListOutputParser to handle columns that may c…

    …ontain commas in it (langchain-ai#26365)
    
    - **Description:**
    Currently CommaSeparatedListOutputParser can't handle strings that may
    contain commas within a column. It would parse any commas as the
    delimiter.
    Ex. 
    "foo, foo2", "bar", "baz"
    
    It will create 4 columns: "foo", "foo2", "bar", "baz"
    
    This should be 3 columns:
    
    "foo, foo2", "bar", "baz"
    
    - **Dependencies:**
    Added 2 additional imports, but they are built in python packages.
    
    import csv
    from io import StringIO
    
    - **Twitter handle:** @jkyamog
    
    - [ ] **Add tests and docs**: 
    1. added simple unit test test_multiple_items_with_comma
    
    ---------
    
    Co-authored-by: Erick Friis <[email protected]>
    Co-authored-by: Bagatur <[email protected]>
    Co-authored-by: Bagatur <[email protected]>
    4 people authored and shjunn committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    a48e475 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    09258cc View commit details
    Browse the repository at this point in the history
  9. docs: fix undefined 'data' variable in document_loader_csv.ipynb (lan…

    …gchain-ai#27872)
    
    **Description:** 
    This PR addresses an issue in the CSVLoader example where data is not
    defined, causing a NameError. The line `data = loader.load()` is added
    to correctly assign the output of loader.load() to the data variable.
    ono-hiroki authored and shjunn committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    029186f View commit details
    Browse the repository at this point in the history
  10. community: read function call from tool_calls for Qianfan (langchai…

    …n-ai#26208)
    
    I added one more 'elif' to read tool call message from `tool_calls`
    
    ---------
    
    Co-authored-by: Chester Curme <[email protected]>
    2 people authored and shjunn committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    af350c4 View commit details
    Browse the repository at this point in the history
  11. community: set default output_token_limit value for `PowerBIToolkit…

    …` to fix validation error (langchain-ai#26308)
    
    ### Description:
    This PR sets a default value of `output_token_limit = 4000` for the
    `PowerBIToolkit` to fix the unintentionally validation error.
    
    ### Problem:
    When attempting to run a code snippet from [Langchain's PowerBI toolkit
    documentation](https://python.langchain.com/v0.1/docs/integrations/toolkits/powerbi/)
    to interact with a `PowerBIDataset`, the following error occurs:
    
    ```
    pydantic.v1.error_wrappers.ValidationError: 1 validation error for QueryPowerBITool
    output_token_limit
      none is not an allowed value (type=type_error.none.not_allowed)
    ```
    
    ### Root Cause:
    The issue arises because when creating a `QueryPowerBITool`, the
    `output_token_limit` parameter is unintentionally set to `None`, which
    is the current default for `PowerBIToolkit`. However, `QueryPowerBITool`
    expects a default value of `4000` for `output_token_limit`. This
    unintended override causes the error.
    
    
    https://github.com/langchain-ai/langchain/blob/17659ca2cdc418436edf2f8c7f50e800dbbf31ca/libs/community/langchain_community/agent_toolkits/powerbi/toolkit.py#L63
    
    https://github.com/langchain-ai/langchain/blob/17659ca2cdc418436edf2f8c7f50e800dbbf31ca/libs/community/langchain_community/agent_toolkits/powerbi/toolkit.py#L72-L79
    
    https://github.com/langchain-ai/langchain/blob/17659ca2cdc418436edf2f8c7f50e800dbbf31ca/libs/community/langchain_community/tools/powerbi/tool.py#L39
    
    ### Solution:
    To resolve this, the default value of `output_token_limit` is now
    explicitly set to `4000` in `PowerBIToolkit` to prevent the accidental
    assignment of `None`.
    
    Co-authored-by: ccurme <[email protected]>
    2 people authored and shjunn committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    b91c70a View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    c2b78a9 View commit details
    Browse the repository at this point in the history
  13. Revert "infra: add neo4j to package list" (langchain-ai#27887)

    Reverts langchain-ai#27833
    
    Wait for release
    efriis authored and shjunn committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    822abaf View commit details
    Browse the repository at this point in the history
  14. Add nvidia as provider for embedding, llm (langchain-ai#27810)

    Documentation: Add NVIDIA as integration provider
    
    cc: @mattf @dglogo
    
    Co-authored-by: Erick Friis <[email protected]>
    2 people authored and shjunn committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    7a1790c View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    8509d10 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    4a5c4dd View commit details
    Browse the repository at this point in the history
  17. docs: Update broken vectorstore urls in retrievers.ipynb (langchain-a…

    …i#27838)
    
    **Description**: Update outdated `VectorStore` api reference urls in
    `retrievers.ipynb`
    
    Co-authored-by: Erick Friis <[email protected]>
    2 people authored and shjunn committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    a9014ca View commit details
    Browse the repository at this point in the history
  18. docs: Update VectorStore api reference url in rag.ipynb (langchain-ai…

    …#27841)
    
    **Description**: Update VectorStore api reference url in `rag.ipynb`
    
    Co-authored-by: Erick Friis <[email protected]>
    2 people authored and shjunn committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    c8faa72 View commit details
    Browse the repository at this point in the history
  19. community: fixed bug in GraphVectorStoreRetriever (langchain-ai#27846)

    Description:
    
    This fixes an issue that mistakenly created in
    langchain-ai#27253. The issue
    currently exists only in `langchain-community==0.3.4`.
    
    Test cases were added to prevent this issue in the future.
    
    Co-authored-by: Erick Friis <[email protected]>
    2 people authored and shjunn committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    2d4487b View commit details
    Browse the repository at this point in the history
  20. docs: Update VectorStore .as_retriever method url in vectorstore_retr…

    …iever.ipynb (langchain-ai#27842)
    
    **Description**: Update VectorStore `.as_retriever` method url in
    `vectorstore_retriever.ipynb`
    
    Co-authored-by: Erick Friis <[email protected]>
    2 people authored and shjunn committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    ee5167b View commit details
    Browse the repository at this point in the history
  21. docs: Update max_marginal_relevance_search api reference url in multi…

    …_vector.ipynb (langchain-ai#27843)
    
    **Description**: Update VectorStore `max_marginal_relevance_search` api
    reference url in `multi_vector.ipynb`
    
    Co-authored-by: Erick Friis <[email protected]>
    2 people authored and shjunn committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    f4f02e4 View commit details
    Browse the repository at this point in the history
  22. docs: Update VectorStore as_retriever method url in qa_chat_history_h…

    …ow_to.ipynb (langchain-ai#27844)
    
    **Description**: Update VectorStore `as_retriever` method api reference
    url in `qa_chat_history_how_to.ipynb`
    
    Co-authored-by: Erick Friis <[email protected]>
    2 people authored and shjunn committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    5f73f76 View commit details
    Browse the repository at this point in the history
  23. docs: Update messages.mdx (langchain-ai#27856)

    ### Description
    Updates phrasing for the header of the `Messages` section.
    
    Co-authored-by: Erick Friis <[email protected]>
    2 people authored and shjunn committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    791c5b4 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    71fd18a View commit details
    Browse the repository at this point in the history
  25. community: update Vectara integration (langchain-ai#27869)

    Thank you for contributing to LangChain!
    
    - **Description:** Updated Vectara integration
    - **Issue:** refresh on descriptions across all demos and added UDF
    reranker
    - **Dependencies:** None
    - **Twitter handle:** @ofermend
    
    ---------
    
    Co-authored-by: Bagatur <[email protected]>
    Co-authored-by: Erick Friis <[email protected]>
    3 people authored and shjunn committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    b3d84ea View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    646c074 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    125230c View commit details
    Browse the repository at this point in the history
  28. community: ✨ Use new OVHcloud batch embedding (langchain-ai#26209)

    - **Description:** change to do the batch embedding server side and not
    client side
    - **Twitter handle:** @wildagsx
    
    ---------
    
    Co-authored-by: ccurme <[email protected]>
    2 people authored and shjunn committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    c7dc8b7 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    29ef558 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    b2266db View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    c459892 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2024

  1. Configuration menu
    Copy the full SHA
    ebe0fe6 View commit details
    Browse the repository at this point in the history
  2. x

    efriis committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    0abf065 View commit details
    Browse the repository at this point in the history