Skip to content

Conversation

@amullick-git
Copy link
Collaborator

  1. Add Support for SpannerGraphQAChain following https://api.python.langchain.com/en/latest/chains/langchain.chains.graph_qa.base.GraphQAChain.html
  2. Add integration test
  3. Add a notebook tutorial

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕

@amullick-git amullick-git requested review from a team as code owners November 26, 2024 02:47
@product-auto-label product-auto-label bot added the api: spanner Issues related to the googleapis/langchain-google-spanner-python API. label Nov 26, 2024
@amullick-git amullick-git changed the title Add Spanner Graph QA Chain feat: Add Spanner Graph QA Chain Nov 26, 2024
@conventional-commit-lint-gcf
Copy link

🤖 I detect that the PR title and the commit message differ and there's only one commit. To use the PR title for the commit history, you can use Github's automerge feature with squashing, or use automerge label. Good luck human!

-- conventional-commit-lint bot
https://conventionalcommits.org/

@mtyin
Copy link
Collaborator

mtyin commented Nov 27, 2024

/gcbrun

@amullick-git
Copy link
Collaborator Author

/gcbrun

@amullick-git
Copy link
Collaborator Author

/gcbrun

1 similar comment
@mtyin
Copy link
Collaborator

mtyin commented Nov 27, 2024

/gcbrun

…ollision for tests running parallely from different python environments
@mtyin
Copy link
Collaborator

mtyin commented Nov 28, 2024

/gcbrun

4 similar comments
@amullick-git
Copy link
Collaborator Author

/gcbrun

@amullick-git
Copy link
Collaborator Author

/gcbrun

@amullick-git
Copy link
Collaborator Author

/gcbrun

@amullick-git
Copy link
Collaborator Author

/gcbrun

:meta private:
"""
_output_keys = [self.output_key]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

directly return [self.output_key] ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

for edge in self.schema.edges.values()
]
],
{timeout: 300},
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed

op = self.database.update_ddl(ddl_statements=ddls)
print("Waiting for DDL operations to complete...")
return op.result(options.get("timeout", 60))
return op.result(options.get("timeout", 300))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe we should have

DEFAULT_DDL_TIMEOUT = 300

and use it here and in the cleanup function.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@averikitsch averikitsch merged commit e22abde into googleapis:main Dec 5, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: spanner Issues related to the googleapis/langchain-google-spanner-python API.

4 participants