Skip to content

Feat: get_label endpoint #144

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
wants to merge 83 commits into
base: dev
Choose a base branch
from
Open

Feat: get_label endpoint #144

wants to merge 83 commits into from

Conversation

ZergLev
Copy link
Collaborator

@ZergLev ZergLev commented Mar 28, 2025

Description

Added the get_label new endpoint, takes run_id, user_id and message_id as its arguments. Returns the node label of the current turn.

Checklist

  • I tested the changes on my machine
  • I made a unit-test
  • I tested that the unit-test works
  • I have performed a self-review of the changes

To Consider

  • Update API reference / tutorials / guides
  • Update CONTRIBUTING.md (if devel workflow is changed)
  • Update .ignore files, scripts (such as lint), distribution manifest (if files are added/deleted)

ZergLev and others added 30 commits February 17, 2025 10:44
…sing the right template, revert this commit before merging the new template with main
** Like this, the path will be relative to the working-dir instead of repo root
…es, also changed the database_path config to the unified context_storage path
…ly opening it once instead of once per query (fix)
…oing it like in chatsky. Attempting to only connect once, testing for now
ZergLev added 30 commits April 6, 2025 22:30
…hatsky does it. get_chat_ids() has to be done without that via sqlite3 library, though
…age outside a Chatsky Pipeline. This may be a workaround, I will check with Chatsky devs
…d logging for exceptions and renamed the new endpoint according to review changes
…, the tests just had some very specific problems
…ime, because of pytest causing an asyncio error (Extractor can only support a single Event loop, just like Chatsky databases)
…ery time because of pytest creating an asyncio Error, it's explained in label_endpoints PR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants