Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenAI Embeddings in embeddings.zip - please share the script #4

Open
sravzpublic opened this issue Mar 7, 2024 · 2 comments
Open

Comments

@sravzpublic
Copy link

HI @sewenew,

Did you use some script to create the OpenAI embeddings for the redis documentation in embeddings.zip?
Could you share the script?

I plan to create embeddings for my custom data.

Thanks,
Sampat.

@sewenew
Copy link
Owner

sewenew commented Mar 12, 2024

Sorry, but I don't have such a script by hand. However, it should be easy to write one. You can use the LLM.ADD and LLM.GET command to generate an embedding and get it back from Redis-llm.

Sorry for the late reply. Too busy, these days...

@sravzpublic
Copy link
Author

Hi @sewenew Thanks for the reply, No Problem. I used the logic here to create the OpenAI embedding: https://github.com/openai/openai-cookbook/blob/main/examples/Question_answering_using_embeddings.ipynb.
I'll use something else so I don't have to pay for OpenAI embeddings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants