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(bing): enable the image generation function(BIC) for cli mode (#401) #10

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

danny-avila
Copy link
Owner

@timefox if you would like to look this over, I'm looking to keep this repo updated with features like this

  1. Enable the image generation function(BIC) for cli mode. Now it can return a list of image urls in plain text or markdown syntax format. And it also works in server mode with an option.
  2. The 'returnData' of BingAIClient's sendMessage will contain a 'bic' object if bic is used in this message. This object is under 'details'. It contains prompt used and the type of bic result. Further more, if a url list is retruned, it can be obtained through an array object called 'images'.
  3. This the image generation function can now be switched on and off separately in both server and cli modes. And you can use 3 different types of generation, see settings.example.js for details.
  4. Since the 'creative' tone style is required for BIC, add an option to set the default tone style in settings.js.
  5. For server mode, fix the 'genImage' option which is set by client side(It can't be turn off once turn on at before).
  6. bump @timefox/bic-sydney.

@danny-avila
Copy link
Owner Author

resolving conflicts

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.

4 participants