Comments (5)
Hi guys,
I have an additional information. I downloaded the single header file library "openai-cpp" and it is working. I don't have the ssl certificate issue. Which may indicate that the issue is with liboai.
I have and additional information that may help find the issue, I'm using curl-8.1.2
Thank you,
Stay safe
from liboai.
Hi,
Sorry for the late response.
In liboai
's core network back-end source code, I do not force the library to verify certificate of peers. The default for this setting, according to cURL, is enabled - so peer certificates will be verified (see here).
I can easily add an option to enable or disable this, and this will fix your issue. I can easily do this in due time, and once done, I will update here.
Best.
from liboai.
from liboai.
Hi,
I have released a quick-fix PR (#52) for this issue. Please update the file changed and use the new pre-processor definition described in the PR, as well as the debug pre-processor definition LIBOAI_DEBUG
to ensure the peer verification is being disabled on your end (see line 2 in the terminal output below).
Let me know the results and, if successful, I will push to main branch.
Best.
from liboai.
from liboai.
Related Issues (20)
- Proxy issue HOT 2
- error LNK2019: unresolved external symbol with brand new project HOT 11
- Raw_json is null when providing a stream parameter to ChatCompletion->create_async HOT 7
- Azure endpoint HOT 3
- Why thi repo include nlohmann as library? I can't build nlohmann success on widows. HOT 10
- Question about stream . HOT 7
- How do I use cmake to import a compiled library HOT 1
- cmake: find_package(CURL CONFIG REQUIRED) can't find curl on Ubuntu
- DLL building error in VS 2019 HOT 2
- can't get stream response since no examples.
- static bool _flag = false;
- Is this library up-to-date with the latest and greatest OpenAI API features? HOT 1
- error: use of deleted function HOT 3
- Error from cURL: Failed writing received data to disk/application HOT 1
- The AppendStreamData() function may lose some data. HOT 2
- Remove final from class OpenAI HOT 1
- audio transcription with buffer not work
- chat component missing function name
- Cannot Download images HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from liboai.