-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/lmstudio integration #13557
Feat/lmstudio integration #13557
Conversation
for message in messages | ||
], | ||
"options": self._model_kwargs, | ||
"stream": False, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
stream is hardcoded to false here (I think we want to pass this in?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is not actually hardcoded. We can override the value by passing an argument in the function. In the returned dictionary, **kwargs will include all keyword arguments that are not explicitly listed in the function signature. If any of these keyword arguments match the keys in the dictionary, they will override the hardcoded values.
llama-index-integrations/llms/llama-index-llms-lmstudio/llama_index/llms/lmstudio/base.py
Outdated
Show resolved
Hide resolved
922b577
to
339489b
Compare
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
@logan-markewich Let me know if we have additional requirements before the merge into main. |
Description
Add Support for LM Studio
Resolves #13556
New Package?
Did I fill in the
tool.llamahub
section in thepyproject.toml
and provide a detailed README.md for my new integration or package?Version Bump?
Did I bump the version in the
pyproject.toml
file of the package I am updating? (Except for thellama-index-core
package)Type of Change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Suggested Checklist:
make format; make lint
to appease the lint gods