openai-cookbook
openai-cookbook copied to clipboard
[PROBLEM]
[optional format]
Identify the file to be fixed utils?
Describe the problem I tried to replicate the reproducable-outputs-with-seed-parameter guide: https://cookbook.openai.com/examples/reproducible_outputs_with_the_seed_parameter.
When importing
import asyncio
from IPython.display import display, HTML
from utils.embeddings_utils import (
get_embedding,
distances_from_embeddings
)
I get this error: ModuleNotFoundError: No module named 'utils'
I Updated to openai=1.3.3 but still got the error.
I assume the utils library is something imported by openai?
Thanks for your help.
Hi [adkiem] (https://github.com/adkiem) this guide reproducable-outputs-with-seed-parameter guide: is working properly utils module is already present in the example folder. All you need is to setup your .env file( for OPENAI_API_KEY ) and environment
here are some screenshot
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 10 days.
This issue was closed because it has been stalled for 10 days with no activity.