create a python code that uses pinecone and open ai library Please reply with exactly 3 paragraphs and separate each paragraph with two new lines. The very last paragraph must start with the word "records".
user