Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
51131cc6
Unverified
Commit
51131cc6
authored
Dec 06, 2023
by
Matt Williams
Committed by
GitHub
Dec 06, 2023
Browse files
Update examples/python-simplechat/client.py
Co-authored-by:
Bruce MacDonald
<
brucewmacdonald@gmail.com
>
parent
43027789
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
examples/python-simplechat/client.py
examples/python-simplechat/client.py
+0
-2
No files found.
examples/python-simplechat/client.py
View file @
51131cc6
...
@@ -32,8 +32,6 @@ def chat(messages):
...
@@ -32,8 +32,6 @@ def chat(messages):
def
main
():
def
main
():
messages
=
[]
messages
=
[]
context
=
(
[]
)
# the context stores a conversation history, you can use this to make the model more context aware
)
# the context stores a conversation history, you can use this to make the model more context aware
while
True
:
while
True
:
user_input
=
input
(
"Enter a prompt: "
)
user_input
=
input
(
"Enter a prompt: "
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment