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

Feature develop: add akasha-whisper as an openai provider in akasha-agent #1

Open
sunist-c opened this issue Jun 27, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@sunist-c
Copy link
Contributor

sunist-c commented Jun 27, 2024

Adding akasha-whisper as an OpenAI Provider in Akasha-Agent

Reference: how to add an openai compatible provider

Feature Overview

  1. New Provider Integration: Introduce a new OpenAI compatible provider named akasha-whisper in akasha-agent, akin to existing integrations like OpenAI and Zhipu.
  2. User Information Handling:
    • When sending a request to the chat/complete endpoint, utilize the user's email obtained via OAuth authentication to populate the user field in the request.
    • If the email is not available, default the user field to an empty string.

Configuration Parameters

To support this new provider, the following configuration fields should be added to the environment variables:

AW_API_KEY: 'sk_xxxxxxx'
AW_ENDPOINT: 'https://api.xxx.xxx/v1'
@sunist-c sunist-c added the enhancement New feature or request label Jun 27, 2024
@Jecosine
Copy link
Collaborator

Jecosine commented Jul 1, 2024

@sunist-c A SVG format icon for akasha-whisper is required for the feature update.

@sunist-c
Copy link
Contributor Author

sunist-c commented Jul 1, 2024

@sunist-c A SVG format icon for akasha-whisper is required for the feature update.

@Jecosine in progress

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants