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

LangChain 271 #175

Merged
merged 8 commits into from
Aug 23, 2023
Merged

LangChain 271 #175

merged 8 commits into from
Aug 23, 2023

Conversation

kreneskyp
Copy link
Owner

@kreneskyp kreneskyp commented Aug 21, 2023

Description

Update to LangChain 0.0.268 for Conversational Retrieval Chain and other features.

Changes

  • updated to langchain==0.0.271
  • AgentProcess now calls chain.ainvoke instead of chain.arun

How Tested

  • unittests
  • manual test of agents
  • added unittest for OpenAPIFunctionChain

TODOs

File "/var/app/ix/chains/openapi.py", line 30, in get_openapi_chain_async
    chain = get_openapi_chain(**kwargs)
File "/var/app/langchain/libs/langchain/langchain/chains/openai_functions/openapi.py", line 271, in get_openapi_chain
    raise e
File "/var/app/langchain/libs/langchain/langchain/chains/openai_functions/openapi.py", line 267, in get_openapi_chain
    spec = conversion(spec)  # type: ignore[arg-type]
File "/var/app/langchain/libs/langchain/langchain/utilities/openapi.py", line 242, in from_url
    return cls.from_text(response.text)
File "/var/app/langchain/libs/langchain/langchain/utilities/openapi.py", line 227, in from_text
    return cls.from_spec_dict(spec_dict)
File "/var/app/langchain/libs/langchain/langchain/utilities/openapi.py", line 218, in from_spec_dict
    return cls.parse_obj(spec_dict)
File "/var/app/langchain/libs/langchain/langchain/utilities/openapi.py", line 202, in parse_obj
    return super().parse_obj(obj)

@kreneskyp kreneskyp changed the title LangChain 268 LangChain 271 Aug 23, 2023
@kreneskyp kreneskyp marked this pull request as ready for review August 23, 2023 15:48
@kreneskyp kreneskyp merged commit f5e19d5 into master Aug 23, 2023
5 checks passed
@kreneskyp kreneskyp deleted the langchain_268 branch August 23, 2023 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant