Skip to content
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

Add support for third-party LLM endpoints #78

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

vishwamartur
Copy link

Related to #49

Add support for third-party LLM endpoints, such as Ollama, in the data formulator.

  • Backend Changes:

    • Update get_client function in py-src/data_formulator/agents/client_utils.py to handle third-party LLM endpoints using LiteLLM.
    • Add import for LiteLLM in py-src/data_formulator/agents/client_utils.py.
  • Frontend Changes:

    • Add UI options for third-party LLM endpoints in src/views/ModelSelectionDialog.tsx.
    • Update the endpoint display logic in src/views/ModelSelectionDialog.tsx to include Ollama.
  • Documentation:

    • Add instructions for setting up third-party LLM endpoints in DEVELOPMENT.md.

Related to microsoft#49

Add support for third-party LLM endpoints, such as Ollama, in the data formulator.

* **Backend Changes:**
  - Update `get_client` function in `py-src/data_formulator/agents/client_utils.py` to handle third-party LLM endpoints using LiteLLM.
  - Add import for LiteLLM in `py-src/data_formulator/agents/client_utils.py`.

* **Frontend Changes:**
  - Add UI options for third-party LLM endpoints in `src/views/ModelSelectionDialog.tsx`.
  - Update the endpoint display logic in `src/views/ModelSelectionDialog.tsx` to include Ollama.

* **Documentation:**
  - Add instructions for setting up third-party LLM endpoints in `DEVELOPMENT.md`.
@vishwamartur
Copy link
Author

@microsoft-github-policy-service agree

@Sorry247
Copy link

hi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants