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/refactor exts #276

Merged
merged 13 commits into from
Sep 17, 2024
Merged

Feat/refactor exts #276

merged 13 commits into from
Sep 17, 2024

Conversation

plutoless
Copy link
Contributor

@plutoless plutoless commented Sep 11, 2024

  • refactor openai-chatgpt extension
  • now async.io is used
  • best practices for managing async.io loops
  • use async tasks to manage queue processing instead of using timestamps and loops
  • merge branches to reuse same code block for chat completion

- remove test code
- prevent sending full content again
- add queue logic
- chatflow
- refactor to simplify flow run
- added event emitter for intermedium execution
- change asyncio.queue to AsyncQueue
- change the way we abstract chatflow
- use eventEmitter for easier tool notification
- use queue to ensure task are processed one by one and cancellable
@wangyoucao577
Copy link
Collaborator

Some description for the PR will be better, so that other people will know what's done here.

@plutoless plutoless merged commit e5d8f04 into dev/0.5.0 Sep 17, 2024
@plutoless plutoless deleted the feat/refactor-exts branch September 17, 2024 06:24
plutoless added a commit that referenced this pull request Oct 2, 2024
* feat: doc update

* Feature/debugging (#271)

* feat: upgrade to ten 0.2

* feat: disable auto_start

* feat: allow customize build type

* feat: add debugging tools

* feat: add debugging and build configs

* fix: go debugging launch

* feat: update image

* feat: update version

* fix: greeting missed

* test: build docker

* Revert "test: build docker"

This reverts commit 06a4269.

---------

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

* feat: switch to native env

* Feat/refactor exts (#276)

* feat: openai extension refactoring

* feat: adding refactor code / async.io

* feat: fix refactoring bugs

* fix: add manifest.json

* feat: add queue logic

* fix: fix issues
- remove test code
- prevent sending full content again
- add queue logic

* feat: fix parseSentence

* fix: fix end_segment bug

* feat: add chatflow abstraction
- chatflow
- refactor to simplify flow run
- added event emitter for intermedium execution

* feat: refactor openai, support multi data-stream data pack

* feat: finalize openai extension refactoring
- change asyncio.queue to AsyncQueue
- change the way we abstract chatflow
- use eventEmitter for easier tool notification
- use queue to ensure task are processed one by one and cancellable

* feat: add docs

* feat: don't use private api

* feat: support on-demand build

* fix: fix type failures

* feat: update playground image

* feat: separate playground and demo (#282)

- support graph reading for playground
- support property adjusting

* fix: fix table type issue

* feat: image update

* feat: adjust demo ui

* feat: update build image (#301)

* feat:use axios instead of fetch

* replace all fetch in demo

* replace all fetch in playground with axios

---------

Co-authored-by: Zhang Qianze <[email protected]>
Co-authored-by: Ethan Zhang <[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