Prefix of "v1" is always added in my open AI URL
Post here questions and problems related to bundled or custom AI actions, connectors and in general configuring and working with the AI Positron Assistant add-ons.
-
- Posts: 13
- Joined: Thu Mar 20, 2014 5:10 pm
Prefix of "v1" is always added in my open AI URL
Hi,
I would like to verify if we can remove the prefix of "/v1" of the openAI connection that added to the URL.
e.g, my on prem AI api is expecting API call of https://myai/chat/completions without any api versioning prefix.
I have configured the open AI address in the plugin Preference to "https://myai"
but the AI positron plugin always add the "/v1" which becomes https://myai/v1/chat/completions.
my on prem returned http 404 when AI positron posted with URL https://myai/v1/chat/completions
I would like to verify if we can remove the prefix of "/v1" of the openAI connection that added to the URL.
e.g, my on prem AI api is expecting API call of https://myai/chat/completions without any api versioning prefix.
I have configured the open AI address in the plugin Preference to "https://myai"
but the AI positron plugin always add the "/v1" which becomes https://myai/v1/chat/completions.
my on prem returned http 404 when AI positron posted with URL https://myai/v1/chat/completions
-
- Posts: 9470
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Prefix of "v1" is always added in my open AI URL
Hi,
You need to obey exactly the API end point specification and use "/v1/chat/completions".
https://platform.openai.com/docs/api-re ... hat/create
Regards,
Radu
You need to obey exactly the API end point specification and use "/v1/chat/completions".
https://platform.openai.com/docs/api-re ... hat/create
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “Artificial Intelligence (AI Positron Assistant add-on)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service