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

Search image data from /api/conversation/custom #750

Open
4 of 6 tasks
Tracked by #323
adamdougal opened this issue Apr 24, 2024 · 0 comments
Open
4 of 6 tasks
Tracked by #323

Search image data from /api/conversation/custom #750

adamdougal opened this issue Apr 24, 2024 · 0 comments
Labels
subtask A subtask

Comments

@adamdougal
Copy link
Collaborator

adamdougal commented Apr 24, 2024

Required by #323

Description

When calling the /api/conversation/custom endpoint, generate embeddings of the question using computer vision and query the image embeddings using the question embeddings. We should continue to create question embeddings using text-embeddings-ada-002 in addition to be used to search the image description.

Tasks

  • Stop using langchain in the quesiton answer tool and post prompt tool
  • Generate question embeddings using computer vision
  • Query the search index using the generated embeddings
  • Pass any returned images to gpt-4-vision along with the chat
  • Add a limit on the number of images passed to vision
  • Update post answering prompt to include images
@adamdougal adamdougal changed the title Allow image based questions from /api/conversation/custom using openai_functions Search image data from /api/conversation/custom when using openai_functions Apr 24, 2024
@adamdougal adamdougal added the subtask A subtask label Apr 24, 2024
@cecheta cecheta changed the title Search image data from /api/conversation/custom when using openai_functions Search image data from /api/conversation/custom May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
subtask A subtask
Projects
None yet
Development

No branches or pull requests

1 participant