Skip to content

Commit

Permalink
less requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
vaughanlove committed Nov 17, 2023
1 parent a938f15 commit b252da6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@ async def extract_url(payload: URLPayload, token: Annotated[str, Depends(oauth2_
# keeping it at zero allows us to better experiment and tweak things, knowing the LLM is a control.
response = co.summarize(
text=div.get_text(),
length='long',
length='short',
format='bullets',
model='command',
additional_command='ONLY EXTRACT REQUIRED QUALIFICATIONS.',
additional_command='extract the most important qualifications.',
extractiveness='high',
temperature=0.0,
)
Expand Down
4 changes: 2 additions & 2 deletions local-app/control_input.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"Machine Learning Engineering for Production (MLOps) Specialization\nCoursera\n10/2023 Online",
"Coursera\n10/2023 Online"
],
"model": {
"model" : "normal
"model": {
"model": "string"
}
}
4 changes: 2 additions & 2 deletions local-app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@ async def extract_url(payload: URLPayload): #, token: Annotated[str, Depends(oau
# keeping it at zero allows us to better experiment and tweak things, knowing the LLM is a control.
response = co.summarize(
text=div.get_text(),
length='long',
length='short',
format='bullets',
model='command',
additional_command='ONLY EXTRACT REQUIRED QUALIFICATIONS.',
additional_command='extract the most important qualifications.',
extractiveness='high',
temperature=0.0,
)
Expand Down

0 comments on commit b252da6

Please sign in to comment.