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: SITES-26526 Import Assistant service phase 1 #573

Merged
merged 21 commits into from
Nov 18, 2024

Conversation

atopper
Copy link
Contributor

@atopper atopper commented Nov 13, 2024

Implementing the Import Assistant endpoint (phase 1). See Jira for more details.

Related Issues

https://jira.corp.adobe.com/browse/SITES-26526

@atopper atopper self-assigned this Nov 13, 2024
src/controllers/assistant.js Outdated Show resolved Hide resolved
src/controllers/assistant.js Show resolved Hide resolved
Copy link
Contributor

@arumsey arumsey left a comment

Choose a reason for hiding this comment

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

This is coming along nicely! Is that endpoint already accessible on stage?

Copy link

This PR will trigger no release when merged.

…apper for Firefall

- Hardcode Stage Firefall API for now
…apper for Firefall

- imageUrls was array of 1 undefined
…apper for Firefall

- coverage missing 1 line
…apper for Firefall

- setting IMS GRP ID and assistant configuration
…apper for Firefall

- assistant configuration validating
…apper for Firefall

- llmModel & responseFormat
src/controllers/assistant.js Show resolved Hide resolved
src/controllers/assistant.js Outdated Show resolved Hide resolved
Comment on lines 29 to 31
* There are certain commands that can be executed by the assistant. Depending on the command
* there has to be certain inputs such as prompt and imageUrl. A call is made to
* Firefall, and the response is returned.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
* There are certain commands that can be executed by the assistant. Depending on the command
* there has to be certain inputs such as prompt and imageUrl. A call is made to
* Firefall, and the response is returned.
* There are specific commands that can be executed by the assistant. Depending on the command
* there will be required inputs, such as prompt and imageUrl. A call is made to
* Firefall, and the response is returned.

findBlockCells: {
parameters: ['prompt', 'imageUrl'],
firefallArgs: {
llmModel: 'gpt-4-vision',
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
llmModel: 'gpt-4-vision',
llmModel: 'gpt-4-turbo',

},
},
findBlockCells: {
parameters: ['prompt', 'imageUrl'],
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
parameters: ['prompt', 'imageUrl'],
parameters: ['prompt'],

parameters: ['prompt'],
firefallArgs: {
llmModel: 'gpt-4-turbo',
responseFormat: 'json_object',
Copy link
Contributor

Choose a reason for hiding this comment

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

remove this line

Suggested change
responseFormat: 'json_object',

…apper for Firefall

- javadocs & parameter touch-ups
@atopper atopper merged commit a7b5f0c into main Nov 18, 2024
4 checks passed
@atopper atopper deleted the SITES-26526-firefall-prompts branch November 18, 2024 15:59
solaris007 pushed a commit that referenced this pull request Nov 18, 2024
# [1.76.0](v1.75.19...v1.76.0) (2024-11-18)

### Features

* SITES-26526 Import Assistant service phase 1 ([#573](#573)) ([a7b5f0c](a7b5f0c))
@solaris007
Copy link
Member

🎉 This PR is included in version 1.76.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants