pgosar / ChatGDB

Harness the power of ChatGPT inside the GDB or LLDB debugger!
MIT License
900 stars 31 forks source link

Enhance URL configuration to support openai-compatible APIs #11

Closed FRAOTIAC closed 12 months ago

FRAOTIAC commented 12 months ago

This PR introduces compatibility for API providers that follow OpenAI's specicifcations.

pgosar commented 12 months ago

Could you explain what the other API providers are? Is this just for modified versions of GPT for example?

FRAOTIAC commented 12 months ago
  1. For organizations that might have purchased services like Azure's OpenAI service and are self-hosting a version with an API interface similar to OpenAI's, they can easily customize the API endpoint. This way, they can seamlessly integrate with their self-hosted version without having to alter the core logic of the tool.

  2. Additionally, there are regions where direct access to the official OpenAI API might be restricted or not optimal. With this feature, users from those regions can effortlessly modify the API endpoint to use a local or more accessible server that offers a compatible API.

I hope this clarifies the intent behind the PR. Let me know if there are any other questions

pgosar commented 12 months ago

Sounds good thanks!