mirror of
https://github.com/katanemo/plano.git
synced 2026-04-27 01:36:33 +02:00
Integrate Arch-Function-Calling-1.5B model (#85)
* add arch support * add missing file * e2e tests * delete old files and fix response * fmt
This commit is contained in:
parent
9ea6bb0d73
commit
3511798fa8
12 changed files with 203 additions and 427 deletions
|
|
@ -1,14 +1,10 @@
|
|||
from typing import Any, Dict, List
|
||||
from pydantic import BaseModel
|
||||
|
||||
class Tool(BaseModel):
|
||||
name: str
|
||||
description: str
|
||||
parameters: dict
|
||||
|
||||
class Message(BaseModel):
|
||||
role: str
|
||||
content: str
|
||||
|
||||
class ChatMessage(BaseModel):
|
||||
messages: list[Message]
|
||||
tools: list[Tool]
|
||||
tools: List[Dict[str, Any]]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue