Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion google_integration/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ SambaCloud-Google-Integration
App Scripts intended for those with SambaCloud API keys to integrate LLMs into Google Workspaces

Getting Started:
1. Sign up for an API key at <a href="https://cloud.sambanova.ai/apis">SambaNova Cloud</a>. It's free and will give you access to the Llama 3 405B model.
1. Sign up for an API key at <a href="https://cloud.sambanova.ai/apis">SambaNova Cloud</a>. It's free and will give you access to the Llama 3.3 70B model.
2. Open your document/sheet and select the menu item Extension > App Script
3. Copy the respective JS script for your Google application into the App Script window
4. Replace the 0 in `api_key = 0` with the API key in your email.
Expand Down
6 changes: 3 additions & 3 deletions google_integration/google_docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function onOpen() {

/**
* Clean grammar option, which replaces highlighted text with
* Llama3 405B generated text with proper grammar
* Llama 3.3 70B generated text with proper grammar
*/
function clean_grammar() {
var body = DocumentApp.getActiveDocument().getSelection();
Expand Down Expand Up @@ -44,7 +44,7 @@ function clean_grammar() {
}

/**
* Rephrase option, which appends Llama3 405B generated text to the document
* Rephrase option, which appends Llama 3.3 70B generated text to the document
*/
function professionalize() {
var input = get_input();
Expand Down Expand Up @@ -74,7 +74,7 @@ function make_api_call(context, input) {
{"role": "user", "content": input}
],
"stop": ["<|eot_id|>"],
"model": "Meta-Llama-3.1-405B-Instruct",
"model": "Meta-Llama-3.3-70B-Instruct",
"stream": true, "stream_options": {"include_usage": true}
}

Expand Down
2 changes: 1 addition & 1 deletion google_integration/google_sheets.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function make_api_call(context, input) {
{"role": "user", "content": input}
],
"stop": ["<|eot_id|>"],
"model": "Meta-Llama-3.1-405B-Instruct",
"model": "Meta-Llama-3.3-70B-Instruct",
"stream": true, "stream_options": {"include_usage": true}
}

Expand Down
2 changes: 1 addition & 1 deletion google_integration/walkthrough.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function SAMBA_AI_QUESTION(input) {
{"role": "user", "content": input}
],
"stop": ["<|eot_id|>"],
"model": "Meta-Llama-3.1-405B-Instruct",
"model": "Meta-Llama-3.3-70B-Instruct",
"stream": true, "stream_options": {"include_usage": true}
}

Expand Down
Loading