kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
fix: typos
rodzic
1a4ef44f2b
commit
75fc0f9a68
|
@ -39,10 +39,13 @@ const baseId = bases[0]!.id
|
||||||
const tables = await airtable.listTables({ baseId })
|
const tables = await airtable.listTables({ baseId })
|
||||||
console.log('tables', tables)
|
console.log('tables', tables)
|
||||||
|
|
||||||
|
const tableId = tables[0]!.id
|
||||||
const searchResults = await airtable.searchRecords({
|
const searchResults = await airtable.searchRecords({
|
||||||
baseId,
|
baseId,
|
||||||
tableId: tables[0]!.id,
|
tableId,
|
||||||
searchTerm: 'Travis'
|
searchTerm: 'Travis'
|
||||||
})
|
})
|
||||||
console.log('search results', searchResults)
|
console.log('search results', searchResults)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
(this is just an example of how you'd use the client)
|
||||||
|
|
|
@ -33,7 +33,7 @@ export class AirtableClient extends AIFunctionsProvider {
|
||||||
} = {}) {
|
} = {}) {
|
||||||
assert(
|
assert(
|
||||||
apiKey,
|
apiKey,
|
||||||
`AirtableClient missing required "username" (defaults to "AIRTABLE_API_KEY")`
|
`AirtableClient missing required "apiKey" (defaults to "AIRTABLE_API_KEY")`
|
||||||
)
|
)
|
||||||
super()
|
super()
|
||||||
|
|
||||||
|
|
|
@ -293,7 +293,7 @@ export class ApolloClient extends AIFunctionsProvider {
|
||||||
} = {}) {
|
} = {}) {
|
||||||
assert(
|
assert(
|
||||||
apiKey,
|
apiKey,
|
||||||
`ApolloClient missing required "username" (defaults to "APOLLO_API_KEY")`
|
`ApolloClient missing required "apiKey" (defaults to "APOLLO_API_KEY")`
|
||||||
)
|
)
|
||||||
super()
|
super()
|
||||||
|
|
||||||
|
|
|
@ -131,7 +131,7 @@ export class LeadMagicClient extends AIFunctionsProvider {
|
||||||
} = {}) {
|
} = {}) {
|
||||||
assert(
|
assert(
|
||||||
apiKey,
|
apiKey,
|
||||||
`LeadMagicClient missing required "username" (defaults to "LEADMAGIC_API_KEY")`
|
`LeadMagicClient missing required "apiKey" (defaults to "LEADMAGIC_API_KEY")`
|
||||||
)
|
)
|
||||||
super()
|
super()
|
||||||
|
|
||||||
|
|
|
@ -163,7 +163,7 @@ export class RocketReachClient extends AIFunctionsProvider {
|
||||||
} = {}) {
|
} = {}) {
|
||||||
assert(
|
assert(
|
||||||
apiKey,
|
apiKey,
|
||||||
`RocketReachClient missing required "username" (defaults to "ROCKETREACH_API_KEY")`
|
`RocketReachClient missing required "apiKey" (defaults to "ROCKETREACH_API_KEY")`
|
||||||
)
|
)
|
||||||
super()
|
super()
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue