Skip to main content

Memory

Configure your Pinecone and Neo4j (AuraDS) settings here to boost your bot's performance.

Setup Instructions

  1. Select your default database from the following options:

    • PostgreSQL
    • Pinecone
    • Neo4j
  2. Configure your database settings below. Our algorithms perform a similarity search on your database to provide better context to OpenAI for improved performance.

Pinecone Configuration

To set up Pinecone, provide the following details:

  • Index Name: The name of the index where your data will be stored and searched. Make sure it's unique and descriptive.
  • Environment Name: The environment where your Pinecone instance is hosted (e.g., production, development). This helps in managing different configurations for different stages.
  • API Key: Your Pinecone API key is a unique identifier that allows access to your Pinecone instance. Keep it secure and do not share it publicly.
  • Host: The URL or IP address where your Pinecone instance can be accessed. Ensure it is correctly set to avoid connectivity issues.

Neo4j (AuraDS) Configuration

To set up Neo4j (AuraDS), provide the following details:

  • Bot: The name or ID of your bot that will interact with the Neo4j database. This should be a unique identifier used within your application.
  • Username: The username for accessing the Neo4j database. This is required for authentication and should have the necessary permissions.
  • Password: The password associated with the username for database access. Ensure it is strong and secure to prevent unauthorized access.

Example Configuration

Here's an example of how your configuration might look:

Pinecone

  • Index Name: my_bot_index
  • Environment Name: production
  • API Key: 12345-abcde-67890-fghij
  • Host: https://my-pinecone-instance.svc.cluster.local

Neo4j (AuraDS)

  • Bot: my_bot
  • Username: neo4j_user
  • Password: strongpassword123

Tips for Secure Configuration

  • Keep your API keys and passwords secure: Do not hard-code them in your codebase. Use environment variables or a secure vault.
  • Regularly rotate your credentials: Change your API keys and passwords periodically to reduce the risk of unauthorized access.
  • Monitor your database usage: Keep an eye on access logs and usage patterns to detect any unusual activity.

Troubleshooting

  • Connection Issues: Ensure that your host URLs and API keys are correctly entered. Check your network connectivity and firewall settings.
  • Authentication Errors: Verify that your username and password are correct and have the necessary permissions for the operations you want to perform.
  • Performance Issues: Make sure your database indexes are properly configured to optimize search performance. Consult the Pinecone and Neo4j documentation for advanced configuration options.