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

feat: support qianfan plugin & reset conversation in client #243

Merged
merged 6 commits into from
Feb 2, 2024

Conversation

ZingLix
Copy link
Collaborator

@ZingLix ZingLix commented Jan 31, 2024

@ZingLix ZingLix changed the title feat: support qianfan plugin in client feat: support qianfan plugin & reset conversation in client Jan 31, 2024

**Options 选项**:

* `--endpoint TEXT`:千帆插件的 endpoint [required]
Copy link
Collaborator

Choose a reason for hiding this comment

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

后面上一言的话可能要改成optional

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

对的,这版先这样,下个版本不提供endpoint就用一言插件

Copy link
Collaborator

@stonekim stonekim left a comment

Choose a reason for hiding this comment

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

LGTM

@stonekim stonekim merged commit b658f26 into main Feb 2, 2024
15 checks passed
@ZingLix ZingLix deleted the client_plugin branch February 2, 2024 08:59
danielhjz added a commit that referenced this pull request Feb 2, 2024
* merge code local_evaluator.py

* merge code local_evaluator.py

* merge code local_evaluator.py

* merge code local_evaluator.py

* merge code local_evaluator.py
fix ckbk local_eval_with_qianfan.ipynb

* merge code local_evaluator.py

* fix make lint

* adjust parameters

* fix: render negative prompt with non-str variable (#239)

* fix prompt render

* revert format

* enable negative prompt for non txt2image

* chore-sk-doc (#236)

* feat:Model list api (#245)

* add new api

* 1

* add doc

* remove

---------

Co-authored-by: root <[email protected]>

* fix: access token not refreshed when using stream (#240)

* fix stream access token expired

* fix async access token

* adjust local_eval_with_qianfan.ipynb

* feat: support qianfan plugin & reset conversation in client (#243)

* support qianfan plugin in client

* fix lint

* support extra_parameters

* add doc

* fix lint

* optimize input

* feat: golang version sdk (#224)

* feat: mv src to python

* init go

* optimize

* support stream

* optimize code

* optimize code

* add ut

* add ut

* add ci

* update go version

* update ci

* fix mock server

* update script

* update script

* fix makefile

* update script

* update script

* fix

* optimize setting

* fix

* compat

* fix lint

* add python version

* fix ci

* fix script

* fix script

* update script

* fix script

* fix script

* fix script

* fix script

* fix script

* fix script

* update version

* add ut

* add lint

* fix ci

* fix folder

* update readme && move doc template

* update readme

* refactor

* refactor option

* test

* test

* test

* test

* fix lint

* rename

* refactor

* reset

* fix script

* update readme

* fix lint

* add comment

* add api error

* change go version

* add close in body

* update workflow

* Go (#4)

* feat: mv src to python

* init go

* optimize

* support stream

* optimize code

* optimize code

* add ut

* add ut

* add ci

* update go version

* update ci

* fix mock server

* update script

* update script

* fix makefile

* update script

* update script

* fix

* optimize setting

* fix

* compat

* fix lint

* add python version

* fix ci

* fix script

* fix script

* update script

* fix script

* fix script

* fix script

* fix script

* fix script

* fix script

* update version

* add ut

* add lint

* fix ci

* fix folder

* update readme && move doc template

* update readme

* refactor

* refactor option

* test

* test

* test

* test

* fix lint

* rename

* Multi language go (#3)

* fix: dataset, trainer, evaluaton bug fix (#237)

* fix

* add more import on __init__.py in dataset package

* cookbook update

* refactor

* reset

* fix script

* update readme

* fix lint

* add comment

* add api error

* change go version

* add close in body

* update workflow

---------

Co-authored-by: Dobiichi-Origami <[email protected]>

---------

Co-authored-by: shikuan <[email protected]>
Co-authored-by: Dobiichi-Origami <[email protected]>

* fix workflow

* add cache to actions

* fix workflow

* update workflow

* update workflow

* remove changelog

* fix rtd

* add go release action

* add copyright

---------

Co-authored-by: shikuan <[email protected]>
Co-authored-by: Dobiichi-Origami <[email protected]>

* support mixtral (#249)

* fix thread work pool concurrent bug (#248)

* feat:Eval only support (#238)

* fix

* add more import on __init__.py in dataset package

* cookbook update

* improve local evaluation

* format

* add eval local function

* add comment

* fix unit test

* add

* small optimization

* add subtitle

* fix

* fix thread work pool concurrent bug

* merge code local_evaluator.py

* merge code local_evaluator.py

* merge code local_evaluator.py

* merge code local_evaluator.py
fix ckbk local_eval_with_qianfan.ipynb

* merge code local_evaluator.py

* fix make lint

* adjust parameters

* adjust local_eval_with_qianfan.ipynb

---------

Co-authored-by: guoweiming <[email protected]>
Co-authored-by: Liu Jun <[email protected]>
Co-authored-by: NuODaniel <[email protected]>
Co-authored-by: Dobiichi-Origami <[email protected]>
Co-authored-by: shikuan <[email protected]>
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.

3 participants