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

add logger #272

Merged
merged 3 commits into from
Jan 15, 2024
Merged

add logger #272

merged 3 commits into from
Jan 15, 2024

Conversation

zzhangpurdue
Copy link
Collaborator

No description provided.

skyline2006 and others added 2 commits January 15, 2024 20:22
* update logger

* add dashscope log

* update user log

* add comment

---------

Co-authored-by: ly119399 <[email protected]>
# Conflicts:
#	modelscope_agent/tools/doc_parser.py
@zzhangpurdue zzhangpurdue merged commit 5fce22c into release/0.3.0 Jan 15, 2024
3 of 5 checks passed
zzhangpurdue added a commit that referenced this pull request Feb 26, 2024
* update

* add style_repaint

* 恢复

* 恢复

* add style_repaint tool

* modify style_repaint

* fix error

* fix rate limit

* improve stability

* use dashscope to convert url

* modify and better

* fix

* refact framework: add base class for llm, tool, and agent

* refact llm

* refact llm for custom

* add role_play agent

* add unittest for role-play agent

* refactor/tool/image_gen

* fix pre-commit

* add agent_builder agent

* revert modelscope_agent/agent.py

* update agent and add react prompt

* adapt agentbuilder in apps

* update style_repaint

* update style_repaint

* change pipeline plugin tool (#248)

* change pipeline plugin tool

* Standardized input and output

* Standardized input and output

* Standardized input and output

* refactor ms agent

* save system to history

* avoid duplicated system in roleplay

* builder with history running

* test case

* update tool

* update

* modify import method

* code interpreter and knowledge

* running code interpreter with file

* Refactor/citest (#257)

* add citest

* cache dependency

* cache dependency update 1

* cache dependency update 2

* cache dependency update 3

---------

Co-authored-by: Zhicheng Zhang <[email protected]>

* add modelscope tool (#258)

* add modelscope tool

* add modelscope tool

* add modelscope tool

---------

Co-authored-by: Zhicheng Zhang <[email protected]>

* unittest-web search web browser

* update tool and unittest

* Refactor/gradio4 (#260)

* Feat/gradio4 (#229)

* feat: update gradio 4

* feat: chatbot requirement

* feat: update app.py to gradio 4

* fix: gradio 4 of process_configuration

* fix: typo

* fix: mschatbot

* feat: chatbot support copy

---------

Co-authored-by: nil.wyw <[email protected]>

* feat: update gradio 4

* feat: fileupload

* feat: MultimodalInput for appBot

* fix: ui

* feat: MultimodalInput for app.py

* feat: Textbox => MultimodalInput

* bump version to 0.2.4rc0

* fix: lint

* fix: lint

* fix: lint

* fix: lint

* fix: add quotes for src prop (#249)

* feat: update gradio 4

* feat: chatbot requirement

* feat: update app.py to gradio 4

* fix: gradio 4 of process_configuration

* fix: typo

* fix: mschatbot

* feat: chatbot support copy

* feat: fileupload

* fix: gradio 4 dataframe update

* fix: appBot

* fix: dataframe display when config update

* fix: src format

* fix: files path

---------

Co-authored-by: nil.wyw <[email protected]>

* fix pre-commit

* fix submit input.

* fix multimodal

* fix bugs & support appBot.py

* fix pre-commit

* fix auto-merge

---------

Co-authored-by: wyw <[email protected]>
Co-authored-by: nil.wyw <[email protected]>
Co-authored-by: Col0ring <[email protected]>
Co-authored-by: wenmeng.zwm <[email protected]>
Co-authored-by: Col0ring <[email protected]>
Co-authored-by: suluyan.sly <[email protected]>
Co-authored-by: skyline2006 <[email protected]>

* update reame and tool cfg

* Refactor/unittest (#264)

* update unittest

* update requirements

* update requirements

* update requirements

* update requirements

* update requirements

* update requirements

* update requirements

* update requirements

* update requirements

* update requirements

* update requirements

* update requirements

* update ci

* update ci

* update ci

* update ci

* update ci

* update ci

* update ci

* update ci

* update ci

* update ci

* merge gradio4

* update ci

* update ci

* update ci

* update ci

* pass unit test

* merge and pass unit test

---------

Co-authored-by: Zhicheng Zhang <[email protected]>

* merge origin master

* fix bugs

* fix video-to-image

* add qwen-max

* fix apps/agentfabric & update release version

* apps/agentfabric/user_core.py

* fix pre-commit

* fix bugs & add video play for code interpreter

* comment out translate

* Refactor log (#268)

* update logger

* add dashscope log

* update user log

* add comment

---------

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

* Refactor/knowledgeretrieval (#271)

* pass retrieval knowledge

* add unit test

* update requirements

* pass lint

* refact name

* refact name

---------

Co-authored-by: Zhicheng Zhang <[email protected]>

* add logger (#272)

* comment out translate

* Refactor log (#268)

* update logger

* add dashscope log

* update user log

* add comment

---------

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

---------

Co-authored-by: skyline2006 <[email protected]>
Co-authored-by: lylalala <[email protected]>
Co-authored-by: ly119399 <[email protected]>
Co-authored-by: Zhicheng Zhang <[email protected]>

* pass code unittest

* fix publish for missing MODELSCOPE_API_TOKEN alert & rm translation tool

* fix bugs

* update log

* fix bugs

* fix instruction

* fix tool log

* fix bugs

* fix pre-commit

* Zhipu-glm4 (#276)

support zhipu glm-4 model

---------

Co-authored-by: skyline2006 <[email protected]>
Co-authored-by: Zhicheng Zhang <[email protected]>

* add zhipuai to requirements.txt

* make sure .md file is parsed by nltk

* Update demo 20240118 (#275)

Co-authored-by: Jintao Huang <[email protected]>

* add zhipuai

* update retrieval knowledge logic to not load in agent fabric

* update name

* fix bugs

* fix pre-commit

* fix ci

* update max_token setting

* fix doc list extend method

* fix ci

* fix ci

* add docstr

* rm useless agent: function call, react, react_chat

* bugfix

* bugfix

* bugfix: change _detect_tool for role_play

* remove uuid related log in ms

* fix publish avatar

* version 0.3.0rc0

* fix bugs

* fix bug

* fix audio->video

* update demo

* bug fixed by comment

* lint pass

* bug fixed

* bug fixed

* fix ci (not complete)

* add hf tool unit test

* Openapi (#287)

* feat: openapi

* fix pre-commit

* fix bugs

---------

Co-authored-by: skyline2006 <[email protected]>
Co-authored-by: suluyan <[email protected]>

* bug fixed

* pass lint

* fix openapi bug

---------

Co-authored-by: wangyijunlyy <[email protected]>
Co-authored-by: tujianhong.tjh <[email protected]>
Co-authored-by: suluyan.sly <[email protected]>
Co-authored-by: Jianhong Tu <[email protected]>
Co-authored-by: mushenL <[email protected]>
Co-authored-by: Zhicheng Zhang <[email protected]>
Co-authored-by: Zhicheng Zhang <[email protected]>
Co-authored-by: suluyana <[email protected]>
Co-authored-by: wyw <[email protected]>
Co-authored-by: nil.wyw <[email protected]>
Co-authored-by: Col0ring <[email protected]>
Co-authored-by: wenmeng.zwm <[email protected]>
Co-authored-by: Col0ring <[email protected]>
Co-authored-by: skyline2006 <[email protected]>
Co-authored-by: ly119399 <[email protected]>
Co-authored-by: Jintao Huang <[email protected]>
zzhangpurdue pushed a commit that referenced this pull request Feb 27, 2024
* update

* add style_repaint

* 恢复

* 恢复

* add style_repaint tool

* modify style_repaint

* fix error

* fix rate limit

* improve stability

* use dashscope to convert url

* modify and better

* fix

* refact framework: add base class for llm, tool, and agent

* refact llm

* refact llm for custom

* add role_play agent

* add unittest for role-play agent

* refactor/tool/image_gen

* fix pre-commit

* add agent_builder agent

* revert modelscope_agent/agent.py

* update agent and add react prompt

* adapt agentbuilder in apps

* update style_repaint

* update style_repaint

* change pipeline plugin tool (#248)

* change pipeline plugin tool

* Standardized input and output

* Standardized input and output

* Standardized input and output

* refactor ms agent

* save system to history

* avoid duplicated system in roleplay

* builder with history running

* test case

* update tool

* update

* modify import method

* code interpreter and knowledge

* running code interpreter with file

* Refactor/citest (#257)

* add citest

* cache dependency

* cache dependency update 1

* cache dependency update 2

* cache dependency update 3

---------

Co-authored-by: Zhicheng Zhang <[email protected]>

* add modelscope tool (#258)

* add modelscope tool

* add modelscope tool

* add modelscope tool

---------

Co-authored-by: Zhicheng Zhang <[email protected]>

* unittest-web search web browser

* update tool and unittest

* Refactor/gradio4 (#260)

* Feat/gradio4 (#229)

* feat: update gradio 4

* feat: chatbot requirement

* feat: update app.py to gradio 4

* fix: gradio 4 of process_configuration

* fix: typo

* fix: mschatbot

* feat: chatbot support copy

---------

Co-authored-by: nil.wyw <[email protected]>

* feat: update gradio 4

* feat: fileupload

* feat: MultimodalInput for appBot

* fix: ui

* feat: MultimodalInput for app.py

* feat: Textbox => MultimodalInput

* bump version to 0.2.4rc0

* fix: lint

* fix: lint

* fix: lint

* fix: lint

* fix: add quotes for src prop (#249)

* feat: update gradio 4

* feat: chatbot requirement

* feat: update app.py to gradio 4

* fix: gradio 4 of process_configuration

* fix: typo

* fix: mschatbot

* feat: chatbot support copy

* feat: fileupload

* fix: gradio 4 dataframe update

* fix: appBot

* fix: dataframe display when config update

* fix: src format

* fix: files path

---------

Co-authored-by: nil.wyw <[email protected]>

* fix pre-commit

* fix submit input.

* fix multimodal

* fix bugs & support appBot.py

* fix pre-commit

* fix auto-merge

---------

Co-authored-by: wyw <[email protected]>
Co-authored-by: nil.wyw <[email protected]>
Co-authored-by: Col0ring <[email protected]>
Co-authored-by: wenmeng.zwm <[email protected]>
Co-authored-by: Col0ring <[email protected]>
Co-authored-by: suluyan.sly <[email protected]>
Co-authored-by: skyline2006 <[email protected]>

* update reame and tool cfg

* Refactor/unittest (#264)

* update unittest

* update requirements

* update requirements

* update requirements

* update requirements

* update requirements

* update requirements

* update requirements

* update requirements

* update requirements

* update requirements

* update requirements

* update requirements

* update ci

* update ci

* update ci

* update ci

* update ci

* update ci

* update ci

* update ci

* update ci

* update ci

* merge gradio4

* update ci

* update ci

* update ci

* update ci

* pass unit test

* merge and pass unit test

---------

Co-authored-by: Zhicheng Zhang <[email protected]>

* merge origin master

* fix bugs

* fix video-to-image

* add qwen-max

* fix apps/agentfabric & update release version

* apps/agentfabric/user_core.py

* fix pre-commit

* fix bugs & add video play for code interpreter

* comment out translate

* Refactor log (#268)

* update logger

* add dashscope log

* update user log

* add comment

---------

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

* Refactor/knowledgeretrieval (#271)

* pass retrieval knowledge

* add unit test

* update requirements

* pass lint

* refact name

* refact name

---------

Co-authored-by: Zhicheng Zhang <[email protected]>

* add logger (#272)

* comment out translate

* Refactor log (#268)

* update logger

* add dashscope log

* update user log

* add comment

---------

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

---------

Co-authored-by: skyline2006 <[email protected]>
Co-authored-by: lylalala <[email protected]>
Co-authored-by: ly119399 <[email protected]>
Co-authored-by: Zhicheng Zhang <[email protected]>

* pass code unittest

* fix publish for missing MODELSCOPE_API_TOKEN alert & rm translation tool

* fix bugs

* update log

* fix bugs

* fix instruction

* fix tool log

* fix bugs

* fix pre-commit

* Zhipu-glm4 (#276)

support zhipu glm-4 model

---------

Co-authored-by: skyline2006 <[email protected]>
Co-authored-by: Zhicheng Zhang <[email protected]>

* add zhipuai to requirements.txt

* make sure .md file is parsed by nltk

* Update demo 20240118 (#275)

Co-authored-by: Jintao Huang <[email protected]>

* add zhipuai

* update retrieval knowledge logic to not load in agent fabric

* update name

* fix bugs

* fix pre-commit

* fix ci

* update max_token setting

* fix doc list extend method

* fix ci

* fix ci

* add docstr

* rm useless agent: function call, react, react_chat

* bugfix

* bugfix

* bugfix: change _detect_tool for role_play

* remove uuid related log in ms

* fix publish avatar

* version 0.3.0rc0

* fix bugs

* fix bug

* fix audio->video

* update demo

* bug fixed by comment

* lint pass

* bug fixed

* bug fixed

* fix ci (not complete)

* add hf tool unit test

* Openapi (#287)

* feat: openapi

* fix pre-commit

* fix bugs

---------

Co-authored-by: skyline2006 <[email protected]>
Co-authored-by: suluyan <[email protected]>

* bug fixed

* pass lint

* fix openapi bug

---------

Co-authored-by: wangyijunlyy <[email protected]>
Co-authored-by: tujianhong.tjh <[email protected]>
Co-authored-by: suluyan.sly <[email protected]>
Co-authored-by: Jianhong Tu <[email protected]>
Co-authored-by: mushenL <[email protected]>
Co-authored-by: Zhicheng Zhang <[email protected]>
Co-authored-by: Zhicheng Zhang <[email protected]>
Co-authored-by: suluyana <[email protected]>
Co-authored-by: wyw <[email protected]>
Co-authored-by: nil.wyw <[email protected]>
Co-authored-by: Col0ring <[email protected]>
Co-authored-by: wenmeng.zwm <[email protected]>
Co-authored-by: Col0ring <[email protected]>
Co-authored-by: skyline2006 <[email protected]>
Co-authored-by: ly119399 <[email protected]>
Co-authored-by: Jintao Huang <[email protected]>
(cherry picked from commit 251b56f)
zzhangpurdue added a commit that referenced this pull request Feb 29, 2024
* update

* add style_repaint

* 恢复

* 恢复

* add style_repaint tool

* modify style_repaint

* fix error

* fix rate limit

* improve stability

* use dashscope to convert url

* modify and better

* fix

* refact framework: add base class for llm, tool, and agent

* refact llm

* refact llm for custom

* add role_play agent

* add unittest for role-play agent

* refactor/tool/image_gen

* fix pre-commit

* add agent_builder agent

* revert modelscope_agent/agent.py

* update agent and add react prompt

* adapt agentbuilder in apps

* update style_repaint

* update style_repaint

* change pipeline plugin tool (#248)

* change pipeline plugin tool

* Standardized input and output

* Standardized input and output

* Standardized input and output

* refactor ms agent

* save system to history

* avoid duplicated system in roleplay

* builder with history running

* test case

* update tool

* update

* modify import method

* code interpreter and knowledge

* running code interpreter with file

* Refactor/citest (#257)

* add citest

* cache dependency

* cache dependency update 1

* cache dependency update 2

* cache dependency update 3

---------

Co-authored-by: Zhicheng Zhang <[email protected]>

* add modelscope tool (#258)

* add modelscope tool

* add modelscope tool

* add modelscope tool

---------

Co-authored-by: Zhicheng Zhang <[email protected]>

* unittest-web search web browser

* update tool and unittest

* Refactor/gradio4 (#260)

* Feat/gradio4 (#229)

* feat: update gradio 4

* feat: chatbot requirement

* feat: update app.py to gradio 4

* fix: gradio 4 of process_configuration

* fix: typo

* fix: mschatbot

* feat: chatbot support copy

---------

Co-authored-by: nil.wyw <[email protected]>

* feat: update gradio 4

* feat: fileupload

* feat: MultimodalInput for appBot

* fix: ui

* feat: MultimodalInput for app.py

* feat: Textbox => MultimodalInput

* bump version to 0.2.4rc0

* fix: lint

* fix: lint

* fix: lint

* fix: lint

* fix: add quotes for src prop (#249)

* feat: update gradio 4

* feat: chatbot requirement

* feat: update app.py to gradio 4

* fix: gradio 4 of process_configuration

* fix: typo

* fix: mschatbot

* feat: chatbot support copy

* feat: fileupload

* fix: gradio 4 dataframe update

* fix: appBot

* fix: dataframe display when config update

* fix: src format

* fix: files path

---------

Co-authored-by: nil.wyw <[email protected]>

* fix pre-commit

* fix submit input.

* fix multimodal

* fix bugs & support appBot.py

* fix pre-commit

* fix auto-merge

---------

Co-authored-by: wyw <[email protected]>
Co-authored-by: nil.wyw <[email protected]>
Co-authored-by: Col0ring <[email protected]>
Co-authored-by: wenmeng.zwm <[email protected]>
Co-authored-by: Col0ring <[email protected]>
Co-authored-by: suluyan.sly <[email protected]>
Co-authored-by: skyline2006 <[email protected]>

* update reame and tool cfg

* Refactor/unittest (#264)

* update unittest

* update requirements

* update requirements

* update requirements

* update requirements

* update requirements

* update requirements

* update requirements

* update requirements

* update requirements

* update requirements

* update requirements

* update requirements

* update ci

* update ci

* update ci

* update ci

* update ci

* update ci

* update ci

* update ci

* update ci

* update ci

* merge gradio4

* update ci

* update ci

* update ci

* update ci

* pass unit test

* merge and pass unit test

---------

Co-authored-by: Zhicheng Zhang <[email protected]>

* merge origin master

* fix bugs

* fix video-to-image

* add qwen-max

* fix apps/agentfabric & update release version

* apps/agentfabric/user_core.py

* fix pre-commit

* fix bugs & add video play for code interpreter

* comment out translate

* Refactor log (#268)

* update logger

* add dashscope log

* update user log

* add comment

---------

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

* Refactor/knowledgeretrieval (#271)

* pass retrieval knowledge

* add unit test

* update requirements

* pass lint

* refact name

* refact name

---------

Co-authored-by: Zhicheng Zhang <[email protected]>

* add logger (#272)

* comment out translate

* Refactor log (#268)

* update logger

* add dashscope log

* update user log

* add comment

---------

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

---------

Co-authored-by: skyline2006 <[email protected]>
Co-authored-by: lylalala <[email protected]>
Co-authored-by: ly119399 <[email protected]>
Co-authored-by: Zhicheng Zhang <[email protected]>

* pass code unittest

* fix publish for missing MODELSCOPE_API_TOKEN alert & rm translation tool

* fix bugs

* update log

* fix bugs

* fix instruction

* fix tool log

* fix bugs

* fix pre-commit

* Zhipu-glm4 (#276)

support zhipu glm-4 model

---------

Co-authored-by: skyline2006 <[email protected]>
Co-authored-by: Zhicheng Zhang <[email protected]>

* add zhipuai to requirements.txt

* make sure .md file is parsed by nltk

* Update demo 20240118 (#275)

Co-authored-by: Jintao Huang <[email protected]>

* add zhipuai

* update retrieval knowledge logic to not load in agent fabric

* update name

* fix bugs

* fix pre-commit

* fix ci

* update max_token setting

* fix doc list extend method

* fix ci

* fix ci

* add docstr

* rm useless agent: function call, react, react_chat

* bugfix

* bugfix

* bugfix: change _detect_tool for role_play

* remove uuid related log in ms

* fix publish avatar

* version 0.3.0rc0

* fix bugs

* fix bug

* fix audio->video

* feat: openapi

* fix pre-commit

* update demo

* bug fixed by comment

* lint pass

* bug fixed

* bug fixed

* update

* update openai llm

* debug & fix pre-commit

* bugs fix & add demo

* fix lint

* fix ci

* fix bug in alpha_umi agent, change test case

* fix bug of alphaumi

* fix bug

* fix bug

* fix bug

* fix bug

* fix bug

* add tools and fix bug

* fix bug

* add alpha_umi demo

* fix bug & add rapidapi tool test

* add rapidapi tool test

* rename class name

* update sh

---------

Co-authored-by: wangyijunlyy <[email protected]>
Co-authored-by: tujianhong.tjh <[email protected]>
Co-authored-by: suluyan.sly <[email protected]>
Co-authored-by: Jianhong Tu <[email protected]>
Co-authored-by: mushenL <[email protected]>
Co-authored-by: Zhicheng Zhang <[email protected]>
Co-authored-by: Zhicheng Zhang <[email protected]>
Co-authored-by: wyw <[email protected]>
Co-authored-by: nil.wyw <[email protected]>
Co-authored-by: Col0ring <[email protected]>
Co-authored-by: wenmeng.zwm <[email protected]>
Co-authored-by: Col0ring <[email protected]>
Co-authored-by: skyline2006 <[email protected]>
Co-authored-by: lylalala <[email protected]>
Co-authored-by: ly119399 <[email protected]>
Co-authored-by: Jintao Huang <[email protected]>
Co-authored-by: shenweizhou.swz <[email protected]>
Co-authored-by: shenwzh3 <[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.

2 participants