openai_embeddings: An exception occurred when trying to view index stats.

Created on 27 April 2023, about 1 year ago
Updated 3 November 2023, 8 months ago

Problem/Motivation

I am having some issues setting up embedding using Pinecone. I am not sure the proper steps to take. Here is what I have done.
1. Install Module
2. Drupal Configuration / OpenAI Settings / Settings / Enter API Key and Org ID from OpenAI Account.
3. Create Pinecone Free Account
4. Drupal Configuration / OpenAI Settings / Embeddings Settings
A. Select Content and Taxonomy to be used in the embedding
B. Pinecone / Enter API and Host name from Pinecone
5. Save
6. Pinecone Interface:

First I created an Index, that did not work so I started by Creating a Collection and then creating an index from that collection. It seemed like it pulled data from my drupal instance. I think either way will work, create Index then create collection from that index.

7. Drupal Configuration / OpenAI Settings / Embeddings Settings / Index Stats

No statistics are available.

This step throws an error in the Error log however there is no alert to tell the user that an error has occurred.
Error:
Type: openai_embeddings,
Location: .../web/admin/config/openai/openai-embeddings/settings/stats
Message: An exception occurred when trying to view index stats. It is likely either configuration is missing or a network error occurred.

Thoughts?

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: cannot reproduce

Version

1.0

Component

Documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States DrupalRanger

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024