Skip to content
This repository was archived by the owner on Dec 30, 2023. It is now read-only.

Support custom connector#55

Merged
Richasy merged 23 commits intomainfrom
richasy/customConnector
Jul 8, 2023
Merged

Support custom connector#55
Richasy merged 23 commits intomainfrom
richasy/customConnector

Conversation

@Richasy
Copy link
Owner

@Richasy Richasy commented Jul 8, 2023

Description

This is undoubtedly a blockbuster update. The application supports custom connectors, and consumers can write their own connectors to replace the default Open AI or Azure Open AI, so as to achieve compatible integration with open source communities and private deployments.

This connector is essentially an API service, so any language that can write API service can be used to write connector plugins. However, considering the actual application scenario, if you want to write a connector for the local model, Python is still the first choice.

PR type

What is the purpose of this PR?

  • Feature

What is the current behavior?

Apps only support Open AI or Azure Open AI as text-like AI models

What is the new behavior?

Multiple connectors are now available in the form of plugins, theoretically compatible with all text models, replacing the default Open AI model.

PR checklist

Please check that your PR meets the following requirements:

  • App successfully launched
  • New components
    • The documentation for the new component has been prepared, the documentation link: link
    • For controls, the controls have been placed in the Controls folder of the main project
  • File headers have been added to all source files
  • NOT Contains breaking updates

Remark

This PR takes a long time, so a lot of optimizations have been carried out at the same time. Includes model hints for Open AI/Azure Open AI, and more.

@Richasy Richasy added the enhancement New feature or request label Jul 8, 2023
@Richasy Richasy linked an issue Jul 8, 2023 that may be closed by this pull request
@Richasy Richasy merged commit c5cfc00 into main Jul 8, 2023
@Richasy Richasy deleted the richasy/customConnector branch July 8, 2023 14:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] 使用本地的Embedding能力

1 participant