mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-23 20:21:03 +02:00
Fix LLM launch bugs
This commit is contained in:
parent
6be0ca1990
commit
a792206d32
2 changed files with 1 additions and 1 deletions
|
|
@ -5,6 +5,7 @@ Input is prompt, output is response.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from openai import OpenAI
|
from openai import OpenAI
|
||||||
|
import os
|
||||||
|
|
||||||
from .... exceptions import TooManyRequests
|
from .... exceptions import TooManyRequests
|
||||||
from .... base import LlmService, LlmResult
|
from .... base import LlmService, LlmResult
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,6 @@ from .... base import LlmService, LlmResult
|
||||||
|
|
||||||
default_ident = "text-completion"
|
default_ident = "text-completion"
|
||||||
|
|
||||||
default_subscriber = module
|
|
||||||
default_model = 'gpt-3.5-turbo'
|
default_model = 'gpt-3.5-turbo'
|
||||||
default_temperature = 0.0
|
default_temperature = 0.0
|
||||||
default_max_output = 4096
|
default_max_output = 4096
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue