openai-cookbook
openai-cookbook copied to clipboard
Examples and guides for using the OpenAI API
https://github.com/openai/openai-cookbook/commit/fd181ec78fa57e14583e27915ccdad3a084296ae updated what was previously two different get_embedding() calls w/ different models to be two identical calls. Rather than doing the same API call twice in a row, we can...
Is there any way to speed up the a sequence of completion API calls to the GPT3 models? I have a use case where the response of the completion API...
I'm attempting to run olympics-2-create-qa.ipynb, but I'm getting the not-very-helpful error "That model does not exist", presumably referring to davinci-instruct-beta-v2.
* Updated `api_version`s to `2022-12-01` (GA) * Added completions notebook * Adjusted fine-tuning and embedding example
Also, 'ada_similarity' and 'ada_search' should be replaced by the column name 'embedding' to reduce confusion.
In the 'User_and_product_embeddings.ipynb' there is a requirement to load 'output/embedded_babbage_similarity_50k.csv'. A comment states that this file needs to be generated in advance, but there is no clear file to use...
I am having problems starting with this repo Is there a requirements.txt? Cant find
This PR contains a notebook running through an example of using our embeddings to embed Simple Wikipedia and then indexing and searching it in both Weaviate and Pinecone.
This is what I used ` import os from dotenv import load_dotenv print("Loading environment") load_dotenv() import pandas as pd input_datapath = 'data/rpi-data-feed_1.csv' # to save space, we provide a pre-filtered...