Class: Ruby::OpenaiPinecone::Configuration
- Inherits:
-
Object
- Object
- Ruby::OpenaiPinecone::Configuration
- Defined in:
- lib/ruby/openai_pinecone/configuration.rb
Instance Attribute Summary collapse
-
#openai_api_key ⇒ Object
Returns the value of attribute openai_api_key.
-
#pinecone_api_key ⇒ Object
Returns the value of attribute pinecone_api_key.
-
#pinecone_query_endpoint ⇒ Object
Returns the value of attribute pinecone_query_endpoint.
-
#pinecone_upsert_endpoint ⇒ Object
Returns the value of attribute pinecone_upsert_endpoint.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
8 9 10 11 12 13 |
# File 'lib/ruby/openai_pinecone/configuration.rb', line 8 def initialize @openai_api_key = nil @pinecone_api_key = nil @pinecone_upsert_endpoint = nil @pinecone_query_endpoint = nil end |
Instance Attribute Details
#openai_api_key ⇒ Object
Returns the value of attribute openai_api_key.
6 7 8 |
# File 'lib/ruby/openai_pinecone/configuration.rb', line 6 def openai_api_key @openai_api_key end |
#pinecone_api_key ⇒ Object
Returns the value of attribute pinecone_api_key.
6 7 8 |
# File 'lib/ruby/openai_pinecone/configuration.rb', line 6 def pinecone_api_key @pinecone_api_key end |
#pinecone_query_endpoint ⇒ Object
Returns the value of attribute pinecone_query_endpoint.
6 7 8 |
# File 'lib/ruby/openai_pinecone/configuration.rb', line 6 def pinecone_query_endpoint @pinecone_query_endpoint end |
#pinecone_upsert_endpoint ⇒ Object
Returns the value of attribute pinecone_upsert_endpoint.
6 7 8 |
# File 'lib/ruby/openai_pinecone/configuration.rb', line 6 def pinecone_upsert_endpoint @pinecone_upsert_endpoint end |