Skip to content

Releases: log10-io/log10

0.8.0

18 Apr 22:14
f97d912
Compare
Choose a tag to compare

What's Changed

New

  • Additional documentation for Feedback by @delip in #129

  • [feature] add cli to rerun and compare a logged completion with other models by @wenzhe-log10 in #141

    log10 completions benchmark_models --help
    Usage: log10 completions benchmark_models [OPTIONS]
    
    Options:
      --ids TEXT            Completion ID
      --tags TEXT           Filter completions by specific tags. Separate multiple
                            tags with commas.
      --limit TEXT          Specify the maximum number of completions to retrieve.
      --offset TEXT         Set the starting point (offset) from where to begin
                            fetching completions.
      --models TEXT         Comma separated list of models to compare
      --temperature FLOAT   Temperature
      --max_tokens INTEGER  Max tokens
      --top_p FLOAT         Top p
      --analyze_prompt      Run prompt analyzer on the messages.
      -f, --file TEXT       Specify the filename for the report in markdown
                            format.
      --help                Show this message and exit.
    

    examples:

    • compare using a completion id with models
    log10 completions benchmark_models --ids 25572f3c-c2f1-45b0-9de8-d96be4c4e544 --models=gpt-3.5-turbo,mistral-small-latest,claude-3-haiku-20240307
    
    • compare with tags summ_test and use 2 completions with model claude-3-haiku. Also we call the analyze_prompt to get suggestions on the prompt, and save everything into a report.md file.
    log10 completions benchmark_models --tags summ_test --limit 2 --models=claude-3-haiku-20240307 --analyze_prompt -f report.md
    
  • add load.log10(lamini) to support lamini sdk and add example by @wenzhe-log10 in #143

import lamini

from log10.load import log10


log10(lamini)

llm = lamini.Lamini("meta-llama/Llama-2-7b-chat-hf")
response = llm.generate("What's 2 + 9 * 3?")

print(response)

Fixes

New Contributors

Full Changelog: 0.7.5...0.8.0

0.7.5

10 Apr 04:30
b43c76f
Compare
Choose a tag to compare

What's Changed

Performance optimization for async completions

Full Changelog: 0.7.4...0.7.5

0.7.4

05 Apr 23:27
d751355
Compare
Choose a tag to compare

What's Changed

New LLM models support:

Fix

Full Changelog: 0.7.3...0.7.4

0.7.3

29 Mar 16:46
ee96a25
Compare
Choose a tag to compare

What's Changed

  • rename logging examples by @wenzhe-log10 in #126
  • revert python requirements to 3.9+ by @wenzhe-log10 in #127
    • Install dependency for autofeedback feature using
      pip install log10-io[autofeedback_icl]
      

Full Changelog: 0.7.2...0.7.3

0.7.2

26 Mar 03:03
fa2cf26
Compare
Choose a tag to compare

What's Changed

Feature

import vertexai
from vertexai.preview.generative_models import GenerationConfig, GenerativeModel

from log10.load import log10


log10(vertexai)

# change these to your own project and location
project_id = "YOUR_PROJECT_ID"
location = "YOUR_LOCATION"
vertexai.init(project=project_id, location=location)

model = GenerativeModel("gemini-1.0-pro")
chat = model.start_chat()

prompt = "What's the top 5 largest constellations you can find in North American during March?"
generation_config = GenerationConfig(
    temperature=0.9,
    max_output_tokens=128,
)
response = chat.send_message(prompt, generation_config=generation_config)
print(response.text)

Fixes

Full Changelog: 0.7.1...0.7.2

0.7.1: Set kind field completion in log_sync

18 Mar 19:37
808eb6f
Compare
Choose a tag to compare

What's Changed

Fixes

  • Set kind field completion in log_sync func by @kxtran in #121

Full Changelog: 0.7.0...0.7.1

0.7.0: CLI docs, Claude-3 and stream support

15 Mar 21:33
4aa874d
Compare
Choose a tag to compare

What's Changed

Features

Fixes

  • call flatten_messages when retrieving the completions for examples by @wenzhe-log10 in #119

Full Changelog: 0.6.7...0.7.0

0.6.7 CLI compeltions, feedback, and feedback-task; AutoFeedback ICL

08 Mar 22:33
4cb7a1c
Compare
Choose a tag to compare

What's Changed

Features

  • CLI for completions, feedback, and feedback-task by @nqn @wenzhe-log10 in #113
    • list, get, and download your completions. You can filter by tags name, created date, etc.
    • list, get, and download feedback. You can filter by task_id.
    • list and get feedback tasks.
    • Run log10 --help and its subcommand to get detailed usage info.
  • add autofeedback ICL and cli log10 feedback predict by @wenzhe-log10 in #115
    • Leverage your current feedback and AI by using our AutoFeedback feature to generate feedback automatically. More info here.

Full Changelog: 0.6.6...0.6.7

0.6.6

26 Feb 22:42
3d3f957
Compare
Choose a tag to compare

What's Changed

Bug fix

Full Changelog: 0.6.5...0.6.6

0.6.5

23 Feb 01:07
016c45d
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.6.4...0.6.5