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

feat(cohere): add cohere to be able to use instill credit #213

Merged
merged 6 commits into from
Jul 14, 2024

Conversation

chuang8511
Copy link
Contributor

@chuang8511 chuang8511 commented Jul 12, 2024

Because

  • we should expose users' input & output for instill credit calculation
  • The logic between cloud & local should align

This commit

  • expose users' input & output
  • refactor the embedding function to make the business logic function exposed

Copy link

linear bot commented Jul 12, 2024

@chuang8511 chuang8511 marked this pull request as draft July 12, 2024 13:56
@chuang8511 chuang8511 marked this pull request as ready for review July 12, 2024 19:13
@chuang8511
Copy link
Contributor Author

Test result is in the ticket.

@donch1989 donch1989 merged commit 80415b1 into main Jul 14, 2024
8 checks passed
@donch1989 donch1989 deleted the chunhao/ins-5281 branch July 14, 2024 13:18
donch1989 pushed a commit that referenced this pull request Jul 16, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.22.0-beta](v0.21.0-beta...v0.22.0-beta)
(2024-07-16)


### Features

* add GitHub component
([#177](#177))
([46e5a8e](46e5a8e))
* add JQ input field that accepts any type
([#201](#201))
([cba4aac](cba4aac))
* **cohere:** add Cohere component
([#187](#187))
([63fd578](63fd578))
* **cohere:** add cohere to be able to use instill credit
([#213](#213))
([80415b1](80415b1))
* GitHub component pagination
([#212](#212))
([4b8bbc7](4b8bbc7))
* **instill:** send requester UID, if present, on model trigger
([#202](#202))
([31422cd](31422cd))
* **mistral:** add Mistral AI component
([#204](#204))
([12aaf4f](12aaf4f))
* **openai:** add dimensions in openai component
([#200](#200))
([0d08912](0d08912))
* **text:** add input and output and fix bugs
([#209](#209))
([56ab3eb](56ab3eb))
* unify pipeline and component usage handlers
([#197](#197))
([e27e46c](e27e46c))


### Bug Fixes

* fix instillUpstreamTypes not correctly render the JSON schema
([#216](#216))
([bb603bd](bb603bd))
* **mistralai:** svg naming is wrong
([#218](#218))
([108817a](108817a))
* **text:** hotfix the bug from langchaingo without importing the
function o… ([#217](#217))
([4cfc263](4cfc263))
* typo ([#195](#195))
([d6b2a42](d6b2a42))

---
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
Status: 👋 Done
Development

Successfully merging this pull request may close these issues.

3 participants