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

Move dataset creation functions #1197

Merged
merged 3 commits into from
May 30, 2024
Merged

Conversation

Josh-XT
Copy link
Owner

@Josh-XT Josh-XT commented May 30, 2024

  • Moved create_dataset_from_memories to XT.py from Memories.py to allow direct access to inference without circular imports.
  • Moved agent_dpo_qa to XT.py from Memories.py to allow direct access to inference without circular imports. Renamed function to dpo.
  • Improved batch_prompt function and moved it to XT.py from Memories.py to allow direct access to inference without circular imports. Renamed function to batch_inference.
  • Creating datasets in WORKSPACE/{agent_id} instead of agent_name to avoid special characters in the file name.

agixt/XT.py Fixed Show fixed Hide fixed
@Josh-XT Josh-XT marked this pull request as ready for review May 30, 2024 13:15
@Josh-XT Josh-XT merged commit e777052 into main May 30, 2024
7 checks passed
@Josh-XT Josh-XT deleted the move-dataaset-creation-functions branch May 30, 2024 13:47
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.

1 participant