Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
jxnl committed Jul 24, 2023
1 parent 42ff9ae commit bc658c0
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 14 deletions.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import openai
from typing import List, Union
from pydantic import BaseModel, Field
from openai_function_call import OpenAISchema
from .. import OpenAISchema
from .messages import ChainOfThought, Message, MessageRole, SystemMessage


Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from pydantic import BaseModel, create_model, Field
from typing import Optional, List, Type, Union
from openai_function_call import OpenAISchema
from .. import OpenAISchema


class MultiTaskBase:
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[tool.poetry]
name = "openai-function-call"
name = "instruction"
version = "0.2.1"
description = "Helper functions that allow us to improve openai's function_call ergonomics"
description = "Helper functions that allow us to improve ergonomics of structured outputs of language models"
authors = ["Jason <[email protected]>"]
license = "MIT"
readme = "README.md"
packages = [{include = "openai_function_call"}]
packages = [{include = "instruction"}]
repository = "https://github.com/jxnl/openai_function_call"

[tool.poetry.dependencies]
Expand Down
8 changes: 4 additions & 4 deletions tests/test_dsl.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from openai_function_call import OpenAISchema, MultiTask
from openai_function_call.dsl import ChatCompletion
from openai_function_call.dsl import messages as m
from openai_function_call.dsl.messages import messages as s
from instruction import OpenAISchema, MultiTask
from instruction.dsl import ChatCompletion
from instruction.dsl import messages as m
from instruction.dsl.messages import messages as s


def test_chatcompletion_has_kwargs():
Expand Down
2 changes: 1 addition & 1 deletion tests/test_function_calls.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import pytest
from pydantic import BaseModel

from openai_function_call import openai_schema, OpenAISchema
from instruction import openai_schema, OpenAISchema


def test_openai_schema():
Expand Down
4 changes: 2 additions & 2 deletions tests/test_messages.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from openai_function_call.dsl import messages as m
from openai_function_call.dsl.messages import messages as s
from instruction.dsl import messages as m
from instruction.dsl.messages import messages as s


def test_create_message():
Expand Down
4 changes: 2 additions & 2 deletions tests/test_multitask.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from openai_function_call import OpenAISchema
from openai_function_call.dsl import MultiTask
from instruction import OpenAISchema
from instruction.dsl import MultiTask


def test_multi_task():
Expand Down

0 comments on commit bc658c0

Please sign in to comment.