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

QA backend #4

Open
6 of 8 tasks
michal-hradis opened this issue Jul 18, 2024 · 2 comments · May be fixed by #7
Open
6 of 8 tasks

QA backend #4

michal-hradis opened this issue Jul 18, 2024 · 2 comments · May be fixed by #7
Assignees
Labels
in progress This issue is being actively worked on

Comments

@michal-hradis
Copy link
Contributor

michal-hradis commented Jul 18, 2024

  • create QA API
  • route to FE
  • implement error handling
  • login
  • history
  • DB (for history)?
  • delete
  • v config modely pre jednotlive kolekcie
@michal-hradis michal-hradis changed the title QA backend - zpřístupnění QA přes API QA backend - create QA API Jul 18, 2024
@NovakovaMaria NovakovaMaria changed the title QA backend - create QA API QA backend Jul 20, 2024
@NovakovaMaria NovakovaMaria added the in progress This issue is being actively worked on label Jul 20, 2024
@michal-hradis
Copy link
Contributor Author

michal-hradis commented Jul 25, 2024

  • get_collections - výstup: [{"id": UUID, "name", "preview", "url"}, ...]
  • question - POST /chat/ --- vstup: {"chat_id": UUID, "collection_id": UUID, history: [{"id": UUID, "role": user/assistant, "message": "text", "feedback": UP,DOWN,NONE}, ...]}
  • GET /history/ --- výstup [{"chat_id": UUID, "name"}, ...]
  • GET /history/UUID - {"chat_id": UUID, "name": "some_name", "collection_id": UUID, history: [{"id": UUID, "role": user/assistant, "message": "text", "feedback": UP,DOWN,NONE}, ...]}
  • question update - POST /history/UUID - {"chat_id": UUID, "name": "some_name", "collection_id": UUID, history: [{"id": UUID, "role": user/assistant, "message": "text", "feedback": UP,DOWN,NONE}, ...]}

Users - login, logout, registration

@michal-hradis
Copy link
Contributor Author

michal-hradis commented Jul 25, 2024

DB:

  • collection: id, name, preview, qa_id
  • history: chat_id, user_id, name, collection_id, history

@DianaDrzikova DianaDrzikova linked a pull request Jul 30, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in progress This issue is being actively worked on
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants