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

Use Open AI Ada to convert input text to vector embeddings #8

Closed
shivankacker opened this issue Apr 1, 2023 · 0 comments · Fixed by #10
Closed

Use Open AI Ada to convert input text to vector embeddings #8

shivankacker opened this issue Apr 1, 2023 · 0 comments · Fixed by #10
Assignees
Labels

Comments

@shivankacker
Copy link
Member

shivankacker commented Apr 1, 2023

Create a POST API endpoint called chat that accepts a text string, sends an API request to OpenAI Ada to convert into vector embeddings, and return the vector embeddings as a response (for now)

Take the OpenAi key from the environment with the name OPENAI_API_KEY. Edit core/settings/base.py to include the Environment variable. Default it to a blank string

For reference: https://platform.openai.com/docs/guides/embeddings/what-are-embeddings

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

Successfully merging a pull request may close this issue.

2 participants