Class: Ruby::OpenaiPinecone::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby/openai_pinecone/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_keyObject

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_keyObject

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_endpointObject

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_endpointObject

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