Company
Resources to start creating Company data
Client Template
from evrim import Evrim
from evrim.types.template import Template
from evrim.types.field import Field
import os
import time
# create a template using the provided types
template = Template(
name="company",
description="Collect high level information about a company",
fields=[
Field(
name="name",
description="Official legal name of the company",
type="str",
),
Field(
name="description",
description="A short description of the company",
type="str",
),
Field(
name="industry",
description="The industry the company operates in",
type="str",
),
Field(
name="employees",
description="The number of employees in the company",
type="int",
),
Field(
name="website",
description="The company's website",
type="str",
),
],
questions=["What are the main products or services offered by the company?"],
)
client = Evrim(api_token=os.getenv("EVRIM_API_KEY"))
template = client.templates.create(template)
Last updated