-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
472b1db
commit 3431dfb
Showing
26 changed files
with
311 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
export interface FactRatingExamples { | ||
high?: string; | ||
low?: string; | ||
medium?: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
import * as Zep from "../index"; | ||
|
||
export interface FactRatingInstruction { | ||
/** | ||
* Examples is a list of examples that demonstrate how facts might be rated based on your instruction. You should provide | ||
* an example of a highly rated example, a low rated example, and a medium (or in between example). For example, if you are rating | ||
* based on relevance to a trip planning application, your examples might be: | ||
* High: "Joe's dream vacation is Bali" | ||
* Medium: "Joe has a fear of flying", | ||
* Low: "Joe's favorite food is Japanese", | ||
*/ | ||
examples?: Zep.FactRatingExamples; | ||
/** | ||
* A string describing how to rate facts as they apply to your application. A trip planning application may | ||
* use something like "relevancy to planning a trip, the user's preferences when traveling, | ||
* or the user's travel history." | ||
*/ | ||
instruction?: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
export type SearchScope = "messages" | "summary" | "facts"; | ||
|
||
export const SearchScope = { | ||
Messages: "messages", | ||
Summary: "summary", | ||
Facts: "facts", | ||
} as const; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
export type SearchType = "similarity" | "mmr"; | ||
|
||
export const SearchType = { | ||
Similarity: "similarity", | ||
Mmr: "mmr", | ||
} as const; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
export interface SessionFactRatingExamples { | ||
high?: string; | ||
low?: string; | ||
medium?: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
import * as Zep from "../index"; | ||
|
||
export interface SessionFactRatingInstruction { | ||
/** | ||
* Examples is a list of examples that demonstrate how facts might be rated based on your instruction. You should provide | ||
* an example of a highly rated example, a low rated example, and a medium (or in between example). For example, if you are rating | ||
* based on relevance to a trip planning application, your examples might be: | ||
* High: "Joe's dream vacation is Bali" | ||
* Medium: "Joe has a fear of flying", | ||
* Low: "Joe's favorite food is Japanese", | ||
*/ | ||
examples?: Zep.SessionFactRatingExamples; | ||
/** | ||
* A string describing how to rate facts as they apply to your application. A trip planning application may | ||
* use something like "relevancy to planning a trip, the user's preferences when traveling, | ||
* or the user's travel history." | ||
*/ | ||
instruction?: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
import * as serializers from "../index"; | ||
import * as Zep from "../../api/index"; | ||
import * as core from "../../core"; | ||
|
||
export const FactRatingExamples: core.serialization.ObjectSchema< | ||
serializers.FactRatingExamples.Raw, | ||
Zep.FactRatingExamples | ||
> = core.serialization.object({ | ||
high: core.serialization.string().optional(), | ||
low: core.serialization.string().optional(), | ||
medium: core.serialization.string().optional(), | ||
}); | ||
|
||
export declare namespace FactRatingExamples { | ||
interface Raw { | ||
high?: string | null; | ||
low?: string | null; | ||
medium?: string | null; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
import * as serializers from "../index"; | ||
import * as Zep from "../../api/index"; | ||
import * as core from "../../core"; | ||
import { FactRatingExamples } from "./FactRatingExamples"; | ||
|
||
export const FactRatingInstruction: core.serialization.ObjectSchema< | ||
serializers.FactRatingInstruction.Raw, | ||
Zep.FactRatingInstruction | ||
> = core.serialization.object({ | ||
examples: FactRatingExamples.optional(), | ||
instruction: core.serialization.string().optional(), | ||
}); | ||
|
||
export declare namespace FactRatingInstruction { | ||
interface Raw { | ||
examples?: FactRatingExamples.Raw | null; | ||
instruction?: string | null; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
import * as serializers from "../index"; | ||
import * as Zep from "../../api/index"; | ||
import * as core from "../../core"; | ||
|
||
export const SearchScope: core.serialization.Schema<serializers.SearchScope.Raw, Zep.SearchScope> = | ||
core.serialization.enum_(["messages", "summary", "facts"]); | ||
|
||
export declare namespace SearchScope { | ||
type Raw = "messages" | "summary" | "facts"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
import * as serializers from "../index"; | ||
import * as Zep from "../../api/index"; | ||
import * as core from "../../core"; | ||
|
||
export const SearchType: core.serialization.Schema<serializers.SearchType.Raw, Zep.SearchType> = | ||
core.serialization.enum_(["similarity", "mmr"]); | ||
|
||
export declare namespace SearchType { | ||
type Raw = "similarity" | "mmr"; | ||
} |
Oops, something went wrong.