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

Feature/cicd #196

Closed

Conversation

sridharvikram
Copy link
Contributor

I have added cicd pipeline code and readme doc to set it up for migrating agent under examples folder. I would like contribute this to SCRAPI library. Please review the changes

@kmaphoenix kmaphoenix self-assigned this Jul 18, 2024
Copy link
Member

@kmaphoenix kmaphoenix left a comment

Choose a reason for hiding this comment

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

Hi @sridharvikram there are several changes I've tagged in the files that are Python style updates that need to be made.

In addition, please run pylint locally to see all of the linter errors that need to be corrected.
You can also view the latest pylint run directly in the repo here:
https://github.com/GoogleCloudPlatform/dfcx-scrapi/actions/runs/9990092140/job/27632420520?pr=196

examples/dfcx_agent_cicd/cicd_code/export/export.py Outdated Show resolved Hide resolved
examples/dfcx_agent_cicd/cicd_code/export/export.py Outdated Show resolved Hide resolved
examples/dfcx_agent_cicd/cicd_code/export/flowimpacted.py Outdated Show resolved Hide resolved
examples/dfcx_agent_cicd/cicd_code/export/flowimpacted.py Outdated Show resolved Hide resolved
examples/dfcx_agent_cicd/cicd_code/readme.md Outdated Show resolved Hide resolved
examples/dfcx_agent_cicd/cicd_code/shared/deployment.py Outdated Show resolved Hide resolved
examples/dfcx_agent_cicd/cicd_code/shared/enVsOtherLang.py Outdated Show resolved Hide resolved
examples/dfcx_agent_cicd/cicd_code/shared/testcaserun.py Outdated Show resolved Hide resolved
examples/dfcx_agent_cicd/cicd_code/shared/testcaserun.py Outdated Show resolved Hide resolved
kmaphoenix and others added 23 commits September 14, 2024 16:03
Similar to build_chat_engine_proto, this does the same but for search engines.
* chore: cleanup reqs

* feat: add map inputs for faster processing

* feat: add playbook processing support; add support for direct intent trigger

* fix: cleanup creds code and remove outdated code

* feat: new eval tool

* feat: add script for making code context file

* feat: add retry decorators

* fix: expand testing folder

* feat: add evaluations support

* fix: linting

* chore: update reqs

* fix: dataframe setup and reporting

* chore: bump version to 1.12.0
Update the link to point to the correct notebook vertex_agents_evals.ipynb
@sridharvikram
Copy link
Contributor Author

@kmaphoenix I have addressed all the lint issues you have mentioned and also fixed most of the lint errors that i ran in my IDE. Please re review it and do the needful.

@kmaphoenix
Copy link
Member

Hi @sridharvikram , did you perform a git rebase with main branch?

It's showing many edits to files that are not related to your CICD code and should not have been modified.

If you did not perform a rebase, you should do this first.
If you're not familiar with running a rebase, you can consider starting a new branch from the latest main branch.

Otherwise it makes it very difficult to review all of your code.

@kmaphoenix
Copy link
Member

@sridharvikram yeah after looking at the branch some more there are many merge conflicts.

Best course of action:

  • Start a new branch from main
  • Add your changes for CICD code
  • Submit PR

Otherwise we're going to have a lot of back and forth to get this fixed and you'll need to fix all of the merge conflicts locally.

@sridharvikram
Copy link
Contributor Author

@kmaphoenix I have created this new PR #239 as suggested. Hence closing this one. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants