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

Feat/agents integration #209

Open
wants to merge 39 commits into
base: main
Choose a base branch
from
Open

Feat/agents integration #209

wants to merge 39 commits into from

Conversation

claramoreirag
Copy link
Contributor

LLMstudio Version X.X.X

What was done in this PR:

  • Extended the functionality of LLMstudio to support providers' agentic APIs, such as bedrock agents and OpenAI Assistants.
  • Created the an Abstract AgentManager class that can be extended to support the different providers
  • Implemented the core 3 methods to interact with agents: create_agent, run_agent, retrieve_response

How it was tested:

  • ...

Additional notes:

  • Any breaking changes? No
  • Any new dependencies added? No
  • Any performance improvements? No

MiNeves00 and others added 30 commits December 18, 2024 10:42
* chore: added unit tests for core provider. small bugfix on calculate_metrics of provider

* added unit tests and docstring for join chunks

* added unit tests and docstrings for calculate_cost on provider

* added unit tests and docstrings for input_to_string on provider

* added unit tests and docstrings for chat and achat

* added unit tests and docstrings for chat and achat

* chore: cleaned provider unit tests

* chore: separated provider tests into different files. fixed some of its tests

* chore: linted code

* chore: deleted some comments

* chore: linted

* chore: Added Azure Provider Unit Tests (#176)

* chore: added unit tests for azure provider

* chore: added more unit tests and docstrings on azure, removed redundant comments

* chore: added unit tests for generate client on Azure Provider

* chore: separated azure unit tests into separate files. fixed some of its tests.

* chore: linted code

* chore: new line

Signed-off-by: Diogo Goncalves <[email protected]>

---------

Signed-off-by: Diogo Goncalves <[email protected]>
Co-authored-by: Diogo Goncalves <[email protected]>
* [feat] prompt management

* [feat] testing

* [feat] only one active prompt
## LLMstudio Version X.X.X

### What was done in this PR:

- ...

### How it was tested:

- ...

### Additional notes:

- Any breaking changes?
- Any new dependencies added?
- Any performance improvements?
Signed-off-by: Diogo Goncalves <[email protected]>
## LLMstudio Version X.X.X

### What was done in this PR:

- Add bedrock agents

### How it was tested:

- ...

### Additional notes:

- Any breaking changes?
- Any new dependencies added?
- Any performance improvements?
brunoalho99 and others added 9 commits February 7, 2025 11:29
## LLMstudio Version X.X.X

### What was done in this PR:

- ...

### How it was tested:

- ...

### Additional notes:

- Any breaking changes?
- Any new dependencies added?
- Any performance improvements?
## LLMstudio Version X.X.X

### What was done in this PR:

- ...

### How it was tested:

- ...

### Additional notes:

- Any breaking changes?
- Any new dependencies added?
- Any performance improvements?

def run_agent(
self,
openai_agent: OpenAIAgent,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

instead of calling the param 'openai_agent' it should be just 'agent', to use the 2 agents interchangeably
also we should discuss between having it like this (with the 2 params) or wrapping it in a RunAgentRequest, which is what I did for bedrock


return openai_run

def retrieve_result(self, openai_run: OpenAIRun) -> OpenAIResult:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

instead of 'openai_run' , just 'run'

Base automatically changed from develop to main February 12, 2025 10:14
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.

5 participants