Closed chenweiyi closed 11 months ago
Thanks. It's very nice feature. Will add it in new version
Did some investigation about this feature and I want to implement universal mechanism to support different kinds of third party services. For example https://huggingface.co/microsoft/DialoGPT-large?text=Hey+my+name+is+Clara%21+How+are+you%3F or so. The problem is that different services have different api requests. Now I'm thinking how better to implement this
To the best of my knowledge, it is difficult to achieve a universal service. Different services have different configuration requirements, and the requests in terms of content and method may also vary. I believe that currently, we can support commonly used methods such as ChatGPT and BARD. These are the suggestions I can think of within my current scope of understanding. If you have good ideas and need help implementing them, I can assist by providing pr😊.
Very nice project, thank you.
In my work, I need to use a custom service, so I submitted this PR.
I add two options,
gptcommit.thirdParty.serviceUrl
support third-party service,gptcommit.output.generateMsgToFile
support generate temporary file to store messages.I add one commands,
gptcommit.registerThirdPartyServiceUrl
support add service url conveniently.I alse add output channel
GPT Commit
to conveniently view the output.