[5192][ADD] openai_connector, product_name_generator - #161
Conversation
f1b788c to
4b7b5fa
Compare
4b7b5fa to
8ff032c
Compare
|
@nobuQuartile Please test the |
There was a problem hiding this comment.
Can you please create new PR to run the pre-commit?
So, this file will not include in this PR.
There was a problem hiding this comment.
I have rebased this branch.
| api_key = self.env.company.openai_api_key | ||
| if not api_key: | ||
| raise UserError(_("OpenAI API key is not configured")) | ||
| client = OpenAI(api_key=api_key) |
There was a problem hiding this comment.
Is this correct variable name?
There was a problem hiding this comment.
I changed it to openai_client.
Is this good? How do you feel?
84cc478 to
7142490
Compare
|
@AungKoKoLin1997 |
|
@nobuQuartile Is this PR ready to review? |
|
@nobuQuartile Please review my last commit. I make some adjustments for |
There was a problem hiding this comment.
The file name should be xxx_views.xml.
Indentation should be fixed. Same for other .xml files.
|
I feel like using |
db72266 to
2735665
Compare
2735665 to
f6aacf8
Compare
3435850 to
292a5db
Compare
|
@nobuQuartile Check the latest changes and test it. |
|
@AungKoKoLin1997 |
I don't think that is needed. It is described in the CONFIGURE.md |
8129a5d to
3e9bcaa
Compare
|
I think the error will be fixed after the base_api_connection's PR is merged and this branch is rebased. |
|
@nobuQuartile Please check my last commit. |
|
yostashiro
left a comment
There was a problem hiding this comment.
Just some style adjustments. Otherwise, LGTM.
8b437a1 to
f389c82
Compare
|
I have force-pushed to solve the pre-commit error. |
|
I did the functional test in the test env. |
|
Could you merge this PR? |
|
Sorry, this one should be merged after the base_api_connector and rebase this branch. |
|
@AungKoKoLin1997 |
@nobuQuartile Please add base_api_connection in text-requirements.txt. |
a39d971 to
a6c53cc
Compare
a6c53cc to
234b43a
Compare
|
@AungKoKoLin1997 |
I don't see there is a pre-commit issue in the CIs. |
|
Please forget that, Sorry. |
|
Ready to merge |
5192