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 Ollama to VSCode Offering #3611

Closed
5 tasks
Gary-H9 opened this issue Mar 6, 2024 · 3 comments
Closed
5 tasks

📖 Add Ollama to VSCode Offering #3611

Gary-H9 opened this issue Mar 6, 2024 · 3 comments
Assignees
Labels
data-platform-apps-and-tools This issue is owned by Data Platform Apps and Tools Large Language Model (Epic #2975) story

Comments

@Gary-H9
Copy link
Contributor

Gary-H9 commented Mar 6, 2024

User Story

As a… AP product engineer
I need/want/expect to… offer LLMs to our users
To satisfy user needs

Value / Purpose

No response

Useful Contacts

No response

User Types

No response

Hypothesis

If we... add ollama
We will provide functionality our users desire

Proposal

We are about to launch a vscode tool as part of the AP offering, a long-requested feature. As proposed by @Gary-H9, we could set up a restricted release with ollama or similar tool rolled into the vscode environment. That said, as this is a sandbox, it would be highly undesirable to allow access to actual AP data. Therefore, the proposal is as following:

  • A restricted vscode release that deploys either in the AP or the DPAT EKS cluster with
  • Custom role that allows access to only one bucket
  • All users of the restricted release have access to the same bucket and everyone is able to see its contents (to prevent people loading up restricted data in it..
  • With minimal support

Additional Information

No response

Definition of Done

  • Add ollama to the visual studio code release
  • Test locally

TBC:

  • Add ollama to a vscode release
  • Release in development
  • Test functionality
@Gary-H9 Gary-H9 added data-platform-apps-and-tools This issue is owned by Data Platform Apps and Tools Large Language Model (Epic #2975) story labels Mar 6, 2024
@github-project-automation github-project-automation bot moved this to 👀 TODO in Analytical Platform Mar 6, 2024
@julialawrence julialawrence moved this from 👀 TODO to 🚀 In Progress in Analytical Platform Mar 15, 2024
@AntFMoJ
Copy link
Contributor

AntFMoJ commented Mar 18, 2024

Container for VS Code running locally as expected.
Added installation of Ollama to Dockerfile in analytical-platform-visual-studio-code.
Tested ollama serve and ollama run llama2, working correctly.

Next steps:

  • Generate SHA256 checksum for ollama binary and add check to Dockerfile in order. There isn't one available from Ollama currently, Jacob W has requested this from them.
  • Add link and description of ollama to analytical-platform-visual-studio-code documentation, along with command for getting SHA256 for ollama binary.
  • Add test for ollama version to container-structure-test.yml
  • Update AP docs to include link to Ollama website/Github repo, and include instructions for ollama serve and ollama run <model_name>.
  • Raise PRs.

@BrianEllwood
Copy link
Contributor

User documentation updated and PR created

@AntFMoJ
Copy link
Contributor

AntFMoJ commented Mar 20, 2024

Steps above completed, ticket it done

@AntFMoJ AntFMoJ moved this from 🚀 In Progress to 🛂 In Review in Analytical Platform Mar 20, 2024
@AntFMoJ AntFMoJ moved this from 🛂 In Review to 🎉 Done in Analytical Platform Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data-platform-apps-and-tools This issue is owned by Data Platform Apps and Tools Large Language Model (Epic #2975) story
Projects
Archived in project
Development

No branches or pull requests

5 participants