Skip to content

Commit 9538bfc

Browse files
committed
new model
1 parent e6ecdff commit 9538bfc

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

ell-studio/src/components/LMPDetailsSidePanel.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ function StatItem({ icon: Icon, label, value }) {
1919
}
2020

2121
function LMPDetailsSidePanel({ lmp, uses, versionHistory }) {
22+
// TODO: update this for all versions aswell..
2223
const { data: invocations } = useInvocationsFromLMP(lmp.name, lmp.lmp_id, 0, 100);
2324

2425
const chartData = useMemo(() => {

examples/quick_chat.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020

2121

22-
@ell.lm(model="gpt-4o-mini", temperature=1.0)
22+
@ell.lm(model="gpt-4o-2024-08-06", temperature=1.0)
2323
def create_personality() -> str:
2424
"""You are backstoryGPT. You come up with a backstory for a character incljuding name. Choose a completely random name from the list. Format as follows.
2525
@@ -32,7 +32,7 @@ def create_personality() -> str:
3232
def format_message_history(message_history : List[Tuple[str, str]]) -> str:
3333
return "\n".join([f"{name}: {message}" for name, message in message_history])
3434

35-
@ell.lm(model="gpt-4o-mini", temperature=0.3, max_tokens=20)
35+
@ell.lm(model="gpt-4o-2024-08-06", temperature=0.3, max_tokens=20)
3636
def chat(message_history : List[Tuple[str, str]], *, personality : str):
3737

3838
return [

src/ell/models/openai.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ def register_openai_models(client : openai.Client):
1111
config.register_model("gpt-3.5-turbo", client)
1212
config.register_model("gpt-4-turbo", client)
1313
config.register_model("gpt-4", client)
14+
config.register_model("gpt-4o-2024-08-06", client)
1415

1516

1617

0 commit comments

Comments
 (0)