Skip to content

Commit

Permalink
Simplify requirements list
Browse files Browse the repository at this point in the history
  • Loading branch information
kaancayli committed Apr 25, 2024
1 parent ad7839e commit 17d87b6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
7 changes: 0 additions & 7 deletions app/pipeline/chat/file_selector_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,8 @@ def __init__(self, callback: Optional[StatusCallback] = None):
super().__init__(implementation_id="file_selector_pipeline_reference_impl")
request_handler = CapabilityRequestHandler(
requirements=RequirementList(
input_cost=1,
output_cost=1,
gpt_version_equivalent=3.5,
context_length=4096,
vendor="OpenAI",
privacy_compliance=False,
self_hosted=False,
image_recognition=False,
json_mode=False,
)
)
completion_args = CompletionArguments(temperature=0, max_tokens=500)
Expand Down
8 changes: 1 addition & 7 deletions app/pipeline/chat/tutor_chat_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,9 @@ def __init__(self, callback: TutorChatStatusCallback):
# Set the langchain chat model
request_handler = CapabilityRequestHandler(
requirements=RequirementList(
input_cost=1,
output_cost=1,
gpt_version_equivalent=3.5,
context_length=4096,
vendor="OpenAI",
privacy_compliance=False,
self_hosted=False,
image_recognition=False,
json_mode=False,
privacy_compliance=True,
)
)
completion_args = CompletionArguments(temperature=0.2, max_tokens=2000)
Expand Down

0 comments on commit 17d87b6

Please sign in to comment.