Skip to content

Create a backend function that uses OpenAI to answer questions using embeddings #243

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

Open
jackbravo opened this issue Jun 27, 2023 · 0 comments
Labels
backend Update of controllers, prisma, or express related changes
Milestone

Comments

@jackbravo
Copy link

Create a backend API (or function since we are using remix) that based on a user provided question:

  1. uses our vector storage and index to search for relevant questions (Choose a source of truth storage for embedding vectors for wize-q data #240, pgvector 1? opensearch? sqlite?)
  2. sends them as context to OpenAPI in the prompt (example prompt)
  3. requests OpenAPI to also provide sources for the answer
  4. returns the response

Example video here: https://www.youtube.com/watch?v=Yhtjd7yGGGA

@jackbravo jackbravo added this to the Generative AI milestone Jun 27, 2023
@jackbravo jackbravo added the backend Update of controllers, prisma, or express related changes label Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Update of controllers, prisma, or express related changes
Projects
None yet
Development

No branches or pull requests

1 participant