Class: ActivePinecone::Openai
- Inherits:
-
OpenAI::Client
- Object
- OpenAI::Client
- ActivePinecone::Openai
- Defined in:
- lib/active_pinecone/openai.rb
Instance Method Summary collapse
-
#initialize ⇒ Openai
constructor
A new instance of Openai.
Constructor Details
#initialize ⇒ Openai
Returns a new instance of Openai.
3 4 5 6 7 8 |
# File 'lib/active_pinecone/openai.rb', line 3 def initialize super( access_token: ActivePinecone.configuration.openai_access_token, request_timeout: ActivePinecone.configuration.openai_request_timeout ) end |