fix naming
This commit is contained in:
parent
d65cc5fef1
commit
fd3d00d98d
@ -97,10 +97,10 @@ def phind_get_answer(question: str):
|
||||
result = phind.Completion.create(
|
||||
model="gpt-4",
|
||||
prompt=question,
|
||||
results=phind.Search.create(question, actualSearch=True),
|
||||
results=phind.Search.create(question, actual_search=True),
|
||||
creative=False,
|
||||
detailed=False,
|
||||
codeContext=""
|
||||
code_context=""
|
||||
)
|
||||
st.markdown(result.completion.choices[0].text)
|
||||
except Exception as e:
|
||||
|
Loading…
Reference in New Issue
Block a user