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

added a planning interface and renamed the DDL interface to learners. … #53

Merged
merged 22 commits into from
Oct 11, 2023

Conversation

Evana13G
Copy link
Contributor

@Evana13G Evana13G commented Oct 5, 2023

…Now we have planners and learners. Closes #50

Copy link
Contributor

@the-other-james the-other-james left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we want to get the 18_rebase branch merged in first just to make sure there aren't conflicts.

I would like to talk through the differences between the learners and planners since they seem very similar. I was also expecting to see how they are connected together, but I'm missing where that is. How does the learner inform the planner?

We need to start updating the Readme as we add new concepts (I should update it with the datasoure/adapter changes as well).

Planners interface class for managing all planning-based AI components
"""
import importlib.util
import importlib.util
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Import twice?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, it's done in learners_interface.py as well

return diagnoses



Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extra new lines

@codecov-commenter
Copy link

codecov-commenter commented Oct 6, 2023

Codecov Report

Merging #53 (2d84335) into main (814bef0) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #53   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           21        22    +1     
  Lines          917       942   +25     
  Branches       130       131    +1     
=========================================
+ Hits           917       942   +25     
Files Coverage Δ
...r/src/ai_components/ai_plugin_abstract/__init__.py 100.00% <ø> (ø)
onair/src/ai_components/ai_plugin_abstract/core.py 100.00% <ø> (ø)
onair/src/ai_components/learners_interface.py 100.00% <100.00%> (ø)
onair/src/ai_components/planners_interface.py 100.00% <100.00%> (ø)
onair/src/reasoning/agent.py 100.00% <100.00%> (ø)

@Evana13G Evana13G marked this pull request as draft October 6, 2023 01:56
@asgibson asgibson force-pushed the 50-add-interface-to-planners branch from 7fc6c23 to 8b38584 Compare October 6, 2023 20:42
@Evana13G Evana13G marked this pull request as ready for review October 9, 2023 19:01
Evana13G pushed a commit that referenced this pull request Oct 9, 2023
Removed unused test
Changed str(MagicMock())
Removed extra line feeds
@Evana13G Evana13G merged commit aa27888 into main Oct 11, 2023
2 checks passed
Evana13G pushed a commit that referenced this pull request Oct 11, 2023
Evana13G pushed a commit that referenced this pull request Oct 12, 2023
asgibson pushed a commit that referenced this pull request Oct 25, 2023
@asgibson asgibson deleted the 50-add-interface-to-planners branch November 3, 2023 17:15
the-other-james pushed a commit to dennisafa/OnAIR that referenced this pull request Feb 23, 2024
added a planning interface and renamed the DDL interface to learners. …
the-other-james pushed a commit to dennisafa/OnAIR that referenced this pull request Feb 23, 2024
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.

Add an interface to planners
4 participants