mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-06-19 12:14:20 +00:00
* GPT4All API Scaffolding. Matches OpenAI OpenAI spec for engines, chats and completions * Edits for docker building * FastAPI app builds and pydantic models are accurate * Added groovy download into dockerfile * improved dockerfile * Chat completions endpoint edits * API uni test sketch * Working example of groovy inference with open ai api * Added lines to test * Set default to mpt
11 lines
192 B
Python
11 lines
192 B
Python
from pydantic import BaseSettings
|
|
|
|
|
|
class Settings(BaseSettings):
|
|
app_environment = 'dev'
|
|
model: str = 'ggml-mpt-7b-chat.bin'
|
|
gpt4all_path: str = '/models'
|
|
|
|
|
|
settings = Settings()
|