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: add LLM function calling support #724

Merged
merged 42 commits into from
Feb 26, 2024
Merged

feat: add LLM function calling support #724

merged 42 commits into from
Feb 26, 2024

Conversation

venjiang
Copy link
Contributor

Description

add LLM function calling support

@venjiang venjiang requested a review from woorui as a code owner February 18, 2024 10:33
Copy link

vercel bot commented Feb 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
yomo ⬜️ Ignored (Inspect) Visit Preview Feb 26, 2024 3:49pm

@venjiang venjiang self-assigned this Feb 18, 2024
Copy link

codecov bot commented Feb 19, 2024

Codecov Report

Attention: Patch coverage is 47.40260% with 81 lines in your changes are missing coverage. Please review.

Project coverage is 59.28%. Comparing base (3a44b2d) to head (f8a6b51).
Report is 3 commits behind head on master.

❗ Current head f8a6b51 differs from pull request most recent head 792bb3e. Consider uploading reports for the commit 792bb3e to get more accurate results

Files Patch % Lines
core/client.go 19.11% 53 Missing and 2 partials ⚠️
...me-codec/y3codec/ai_register_function_ack_frame.go 70.96% 6 Missing and 3 partials ⚠️
.../frame-codec/y3codec/ai_register_function_frame.go 76.92% 6 Missing and 3 partials ⚠️
core/client_options.go 0.00% 5 Missing ⚠️
options.go 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #724      +/-   ##
==========================================
- Coverage   59.46%   59.28%   -0.19%     
==========================================
  Files          37       39       +2     
  Lines        2810     2957     +147     
==========================================
+ Hits         1671     1753      +82     
- Misses       1034     1091      +57     
- Partials      105      113       +8     

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

fix: ai provider data race

update dependencies

wip: remove app.go

wip: split interface and service

wip: read conf

wip: pass credential to function calling service from api server

update comment

fix test

code comments

code comments

rename main.go to ai.go

service will not be expired in BasicAPIServer

wip: check finish_reason

prompt

remove app_id

refactor FunctionCallContext

fix bug

BasicAPIServer response with struct data and retrieval data

update example readme

groq.com style response

json key naming

rename to FunctionCall instead of FunctionCallObject

follow SSE format

use api request instead mock for get_exchange_rate example

typo

typo

fix: make lint

Update README.md

fix: undo delete doc.go
@fanweixiao fanweixiao merged commit 65bd27b into master Feb 26, 2024
5 of 6 checks passed
@fanweixiao fanweixiao deleted the next branch February 26, 2024 15:50
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.

2 participants