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

feat(instill): generate enumeration for model_name automatically #100

Merged
merged 2 commits into from
Jan 12, 2024

Conversation

donch1989
Copy link
Member

Because

  • Originally, we used model_namespace and model_id to set up the Model connector. However, users may struggle to identify the correct values for these settings. To enhance user-friendliness, we should employ enumerations (options).

This commit

  • generate enumeration for model_name automatically

Copy link

linear bot commented Jan 12, 2024

Copy link

codecov bot commented Jan 12, 2024

Codecov Report

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

Comparison is base (9bc4048) 39.17% compared to head (1c27781) 37.75%.

Files Patch % Lines
pkg/instill/main.go 0.00% 70 Missing ⚠️
pkg/instill/client.go 0.00% 14 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #100      +/-   ##
==========================================
- Coverage   39.17%   37.75%   -1.42%     
==========================================
  Files          30       30              
  Lines        2157     2238      +81     
==========================================
  Hits          845      845              
- Misses       1194     1275      +81     
  Partials      118      118              
Flag Coverage Δ
unittests 37.75% <0.00%> (-1.42%) ⬇️

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.

@donch1989 donch1989 merged commit dabfc19 into main Jan 12, 2024
10 of 11 checks passed
@donch1989 donch1989 deleted the huitang/ins-2761 branch January 12, 2024 03:33
jvallesm pushed a commit that referenced this pull request Jan 15, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.10.0-beta](v0.9.0-beta...v0.10.0-beta)
(2024-01-15)


### Features

* add end-user messages to HTTP errors
([#92](#92))
([d597648](d597648))
* Extend Pinecone tasks with namespace and threshold
([#106](#106))
([17c1fc8](17c1fc8))
* **instill:** adopt latest Instill Model task format
([#95](#95))
([84778a7](84778a7))
* **instill:** enforces chat_history order pattern
([#99](#99))
([9bc4048](9bc4048))
* **instill:** generate enumeration for `model_name` automatically
([#100](#100))
([dabfc19](dabfc19))
* **instill:** mark `prompt_images` as required in
TASK_VISUAL_QUESTION_ANSWERING
([#110](#110))
([b0c21bf](b0c21bf))
* **instill:** unify the chat_history format across different LLM tasks
([#96](#96))
([b09e7dd](b09e7dd))
* **instill:** use grpc client for all request
([#108](#108))
([548a78d](548a78d))
* **restapi:** inject the `output_body_schema` into component OpenAPI
schema ([#101](#101))
([bd68d14](bd68d14))
* **restapi:** remove base_url in restapi connector
([#102](#102))
([34d1a20](34d1a20))
* **website:** add `https` protocol to the url automatically
([#97](#97))
([62eb7e2](62eb7e2))


### Bug Fixes

* **googlesearch,website:** fix potential memory leak by disabling http
keep-alive ([#103](#103))
([7613561](7613561))
* **instill:** accumulate the pagination when getting models
([#112](#112))
([cd077b0](cd077b0))
* **instill:** fix wrong required field in json-schema
([#98](#98))
([2d04474](2d04474))
* **stabilityai:** add the missing datauri prefix in image-to-image task
([#105](#105))
([e89f7ec](e89f7ec))

---
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