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

Create singular function to get embeddings from Ada. #17

Closed
shivankacker opened this issue Apr 3, 2023 · 2 comments · Fixed by #23
Closed

Create singular function to get embeddings from Ada. #17

shivankacker opened this issue Apr 3, 2023 · 2 comments · Fixed by #23
Assignees
Labels

Comments

@shivankacker
Copy link
Member

shivankacker commented Apr 3, 2023

Currently we are getting embeddings during upsert as well as in the /chat api through a function. Replace the logic of getting embeddings during upsert to also use this function.
Update the logic in the function to convert input into chunks

@siddnikh
Copy link
Contributor

siddnikh commented Apr 4, 2023

There is one already. I added it earlier, it's in ayushma/utils/openaiapi.py

@Ashesh3
Copy link
Member

Ashesh3 commented Apr 4, 2023

There is one already. I added it earlier, it's in ayushma/utils/openaiapi.py

Looks good, I will refactor the upsert to use the method in utils.

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.

3 participants