File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -24,9 +24,9 @@ Using this convenience API, requesting text completion from an already
2424loaded LLM is as straightforward as:
2525
2626``` python
27- import lmstudio as lm
27+ import lmstudio as lms
2828
29- llm = lm .llm()
29+ llm = lms .llm()
3030llm.complete(" Once upon a time," )
3131```
3232
@@ -35,15 +35,15 @@ setting up a `Chat` helper to manage the chat history and include
3535it in response prediction requests:
3636
3737``` python
38- import lmstudio as lm
38+ import lmstudio as lms
3939
4040EXAMPLE_MESSAGES = (
4141 " My hovercraft is full of eels!" ,
4242 " I will not buy this record, it is scratched."
4343)
4444
45- llm = lm .llm()
46- chat = lm .Chat(" You are a helpful shopkeeper assisting a foreign traveller" )
45+ llm = lms .llm()
46+ chat = lms .Chat(" You are a helpful shopkeeper assisting a foreign traveller" )
4747for message in EXAMPLE_MESSAGES :
4848 chat.add_user_message(message)
4949 print (f " Customer: { message} " )
You can’t perform that action at this time.
0 commit comments