Skip to content
This repository has been archived by the owner on Jan 9, 2025. It is now read-only.

feat: Add Archetype AI connector #113

Merged
merged 5 commits into from
Jan 26, 2024

Conversation

jvallesm
Copy link
Collaborator

@jvallesm jvallesm commented Jan 24, 2024

CleanShot 2024-01-24 at 15 30 05

CleanShot 2024-01-24 at 15 29 01

CleanShot 2024-01-24 at 15 27 29

Because

  • We want to support Archetype AI API in VDP

This commit

  • Adds Archetype AI connector with summarize, describe and upload tasks

Notes 🗒️

In order to have a working prototype early, some parts were left out of the feature:

  • Connector should be documented in instill.tech -> Should be done as part of the auto-doc discussion.
  • We're lacking an icon for the connector -> Design will take care of that.
  • API offers an "upload by S3 link" endpoint which isn't supported here -> future implementation.

@jvallesm jvallesm self-assigned this Jan 24, 2024
Copy link

linear bot commented Jan 24, 2024

Copy link

codecov bot commented Jan 24, 2024

Codecov Report

Attention: 33 lines in your changes are missing coverage. Please review.

Comparison is base (c1f68ef) 62.14% compared to head (8e1ec0e) 62.18%.

Files Patch % Lines
pkg/archetypeai/main.go 75.91% 22 Missing and 11 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #113      +/-   ##
==========================================
+ Coverage   62.14%   62.18%   +0.04%     
==========================================
  Files          15       18       +3     
  Lines        1305     1489     +184     
==========================================
+ Hits          811      926     +115     
- Misses        382      440      +58     
- Partials      112      123      +11     
Flag Coverage Δ
unittests 62.18% <78.14%> (+0.04%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jvallesm jvallesm merged commit d12b6f8 into main Jan 26, 2024
10 checks passed
@jvallesm jvallesm deleted the jvalles/ins-3445-archetype-ai-connector branch January 26, 2024 08:57
jvallesm added a commit to instill-ai/pipeline-backend that referenced this pull request Jan 26, 2024
Because

- instill-ai/connector#113 introduced an
[end-user
error](https://github.com/instill-ai/connector/pull/113/files#diff-ccd0d26c1e8d29bcffb2741e853132db31305425679cdc929b82eb8af6c3824cR79)
in a `CreateExecution` function, which isn't displayed correctly in
console.

This commit

- Checks the response from `CreateExecution` and adds any potential
end-user error as a Temporal error message.
jvallesm added a commit to instill-ai/pipeline-backend that referenced this pull request Jan 26, 2024
Because

- instill-ai/connector#113 introduced a new
connector, Archetype AI.

This commit

- go.mod is updated in order to reflect the addition of the connector in
VDP.
donch1989 pushed a commit that referenced this pull request Jan 30, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.11.0-beta](v0.10.0-beta...v0.11.0-beta)
(2024-01-30)


### Features

* accept videos in Archetype upload task
([#115](#115))
([9b6fdb7](9b6fdb7))
* add Archetype AI connector
([#113](#113))
([d12b6f8](d12b6f8))
* add task title and description
([#116](#116))
([7688b0f](7688b0f))
* **numbers:** use only Capture registration API to streamline the
process ([#117](#117))
([f6d6896](f6d6896))
* **openai:** update OpenAI schema to support latest models
([#121](#121))
([7b64a70](7b64a70))
* **redis:** update task name
([#120](#120))
([48fa414](48fa414))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants