Skip to content

Commit

Permalink
0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
scottwey committed Jul 28, 2024
1 parent a00538e commit 4780da7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 178 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ dist
.cache
coverage
*.pyc
venv
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "starpoint"
version = "0.6.2"
version = "0.7.0"
authors = [{ name = "pointable", email = "package-maintainers@pointable.ai" }]
description = "SDK for Starpoint DB"
readme = "README.md"
Expand All @@ -15,7 +15,6 @@ classifiers = [
"Operating System :: OS Independent",
]
dependencies = [
"openai~=0.27",
"requests~=2.31",
"validators~=0.21",
"pandas~=2.0",
Expand Down
12 changes: 2 additions & 10 deletions starpoint/db.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
import logging
from pathlib import Path
from typing import Any, Dict, Iterable, List, Optional, Union
from typing import Any, Dict, List, Optional
from uuid import UUID

import openai
import requests
import validators

from starpoint import reader, writer, _utils
from starpoint import reader, writer

LOGGER = logging.getLogger(__name__)

Expand All @@ -25,9 +20,6 @@ def __init__(
self.writer = writer.Writer(api_key=api_key, host=writer_host)
self.reader = reader.Reader(api_key=api_key, host=reader_host)

# Consider a wrapper around openai once this class gets bloated
self.openai = None

def delete(
self,
documents: List[str],
Expand Down
166 changes: 0 additions & 166 deletions starpoint/openai.py

This file was deleted.

0 comments on commit 4780da7

Please sign in to comment.