Add supported parameter type, validation and tests (#88)

* Add supported parameter type and validation

* make the tools format more compliant with openai

* more updates

* fix more

* fix unit test
This commit is contained in:
Adil Hafeez 2024-09-27 13:33:05 -07:00 committed by GitHub
parent 59229b8fc9
commit 75cf5e5304
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 273 additions and 11 deletions

View file

@ -60,8 +60,7 @@ services:
- OLLAMA_ENDPOINT=${OLLAMA_ENDPOINT:-host.docker.internal}
# uncomment following line to use ollama endpoint that is hosted by docker
# - OLLAMA_ENDPOINT=ollama
- OLLAMA_MODEL=Arch-Function-Calling-1.5B:Q4_K_M
# - OLLAMA_MODEL=Bolt-Function-Calling-1B:Q4_K_M
# - OLLAMA_MODEL=Arch-Function-Calling-1.5B:Q4_K_M
api_server:
build: