-
Notifications
You must be signed in to change notification settings - Fork 1.8k
usecase: report generation with camel framework using excel templates #2448
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
base: master
Are you sure you want to change the base?
Conversation
| pass # No-op | ||
|
|
||
|
|
||
| def DatabaseInterpreter(db_config: Dict[str, Any]) -> BaseInterpreter: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we rename it to make it more clear?
| def DatabaseInterpreter(db_config: Dict[str, Any]) -> BaseInterpreter: | |
| def DatabaseQueryLanguageInterpreter(db_config: Dict[str, Any]) -> BaseInterpreter: |
| conn = sqlite3.connect(self.db_path) | ||
| cursor = conn.cursor() | ||
| cursor.execute(query) | ||
| rows = cursor.fetchall() | ||
| column_names = [desc[0] for desc in | ||
| cursor.description] if cursor.description else [] | ||
|
|
||
| conn.commit() | ||
| conn.close() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to connect and close for running each query?
|
Thanks @nitpicker55555. Thanks for building the amazing use cases with |
Cool~ Will do that |
|
thanks @nitpicker55555 ,A warm reminder:Does anything block you?please lets us know if you need any help |
|
Hey @nitpicker55555, Quick reminder of this PR |
Description
This usecase demonstrates how to use the EmbodiedAgent framework to automate a complete Excel → SQL → Excel workflow, powered by language agents and integrated interpreters.
Fixes #2351
Checklist
Go over all the following points, and put an
xin all the boxes that apply.Fixes #issue-numberin the PR description (required)pyproject.tomlanduv lock