Skip to content

Commit

Permalink
new model
Browse files Browse the repository at this point in the history
  • Loading branch information
MadcowD committed Aug 6, 2024
1 parent e6ecdff commit 9538bfc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions ell-studio/src/components/LMPDetailsSidePanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ function StatItem({ icon: Icon, label, value }) {
}

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

const chartData = useMemo(() => {
Expand Down
4 changes: 2 additions & 2 deletions examples/quick_chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@



@ell.lm(model="gpt-4o-mini", temperature=1.0)
@ell.lm(model="gpt-4o-2024-08-06", temperature=1.0)
def create_personality() -> str:
"""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.
Expand All @@ -32,7 +32,7 @@ def create_personality() -> str:
def format_message_history(message_history : List[Tuple[str, str]]) -> str:
return "\n".join([f"{name}: {message}" for name, message in message_history])

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

return [
Expand Down
1 change: 1 addition & 0 deletions src/ell/models/openai.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ def register_openai_models(client : openai.Client):
config.register_model("gpt-3.5-turbo", client)
config.register_model("gpt-4-turbo", client)
config.register_model("gpt-4", client)
config.register_model("gpt-4o-2024-08-06", client)



Expand Down

0 comments on commit 9538bfc

Please sign in to comment.