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

Add an API route that converts text to vector embeddings using OpenAI API #10

Merged
merged 6 commits into from
Apr 4, 2023

Conversation

siddnikh
Copy link
Contributor

@siddnikh siddnikh commented Apr 2, 2023

Closes #8
Added an API route that converts a given string of text to vector embeddings (for any use). The API route can be accessed at /api/chat

Note: Setup API key in the env before usage

@siddnikh siddnikh linked an issue Apr 2, 2023 that may be closed by this pull request
ayushma/views/chat.py Outdated Show resolved Hide resolved
ayushma/views/chat.py Outdated Show resolved Hide resolved
@siddnikh
Copy link
Contributor Author

siddnikh commented Apr 4, 2023

@skks1212 please review the changes.

ayushma/views/chat.py Outdated Show resolved Hide resolved
@skks1212 skks1212 merged commit 11ff13e into coronasafe:master Apr 4, 2023
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 this pull request may close these issues.

Use Open AI Ada to convert input text to vector embeddings
4 participants