Skip to content

Commit

Permalink
Bump to version 0.0.8 (#20)
Browse files Browse the repository at this point in the history
* Bump to version 0.0.8

* Upgrade langchain
  • Loading branch information
ultmaster authored Oct 8, 2024
1 parent 9143767 commit 46f7452
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
3 changes: 2 additions & 1 deletion coml/configagent/experience.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import orjson
import pandas as pd
from langchain.cache import InMemoryCache
from langchain.globals import set_llm_cache
from peewee import ModelSelect, fn

from .constants import *
Expand All @@ -17,7 +18,7 @@
SAVE_OPTIONS = orjson.OPT_SERIALIZE_NUMPY | orjson.OPT_SERIALIZE_DATACLASS


langchain.llm_cache = InMemoryCache()
set_llm_cache(InMemoryCache())


def ingest_experience(
Expand Down
2 changes: 1 addition & 1 deletion coml/configagent/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from typing import Any, Callable, Dict, List, Optional, Tuple, Union

from langchain.embeddings import OpenAIEmbeddings
from langchain.llms import OpenAI
from langchain_openai import OpenAI

from .constants import *

Expand Down
2 changes: 1 addition & 1 deletion coml/magics.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
no_var_expand,
)
from IPython.display import HTML, Code, clear_output, display
from langchain.chat_models import ChatOpenAI
from langchain_openai import ChatOpenAI

from .core import CoMLAgent
from .ipython_utils import (
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "coml",
"version": "0.0.7",
"version": "0.0.8",
"description": "JupyterLab extension for CoML.",
"keywords": [
"jupyter",
Expand Down
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ build-backend = "hatchling.build"

[project]
name = "mlcopilot"
version = "0.0.7"
version = "0.0.8"
dependencies = [
"click",
"colorama",
"langchain",
"langchain-community",
"langchain-openai",
"numpy",
"orjson",
"pandas",
Expand Down

0 comments on commit 46f7452

Please sign in to comment.