You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-9
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,16 @@
1
1
# Hypercode
2
2
3
-
`Hypercode` is a npm package for Node.js that allows you to consume the [Hyper APIs](https://docs.gethyper.ai) easily in your JavaScript or TypeScript projects with complete **type-safety**. `Hypercode` handles the complexity of context management and response formatting, allowing you to focus on creating dynamic and intelligent features that enhance user experience. It is a friendly npm package that makes it easy to get live, structured LLM responses with custom contexts in useful formats like integers, booleans, strings, dates, and lots more.
3
+
`Hypercode` is a npm package for Node.js that allows you to consume the [Hyper APIs](https://docs.gethyper.ai) easily in your JavaScript or TypeScript projects with complete **type-safety**. `Hypercode` handles the complexity of context management and response formatting, allowing you to focus on creating dynamic and intelligent features that enhance the user experience. It is a friendly npm package that makes it easy to get live, structured LLM responses with custom contexts in useful formats like integers, booleans, strings, dates, and lots more.
4
4
5
-
Create a free account today on [Hyper](https://app.gethyper.ai) to start building your own custom contexts, integrating them into your applications, generate API Keys, and use them in your projects with `Hypercode`!
5
+
Create a free account today on [Hyper](https://app.gethyper.ai) to start building your own custom contexts, integrating them into your applications, generating API keys, and using them in your projects with `Hypercode`!
6
6
7
7
Find the npm package [here](https://www.npmjs.com/package/hypercode)
You can also pass information along with your queries in the form of `context`. Context represents bundles of live data with relevance to the query, ensuring the LLM his given all the information necessary to product an accurate response. You can build context objects in the [Hyper app](https://app.gethyper.ai), then use them in Hypercode:
25
+
You can also pass information along with your queries in the form of `context`. Context represents bundles of live data with relevance to the query, ensuring the LLM is given all the information necessary to produce an accurate response. You can build context objects in the [Hyper app](https://app.gethyper.ai), then use them in Hypercode:
> **_NOTE:_** A context object is a collection of resources made up of files, web pages, and data from integrations like Google Drive, Slack, and GitHub. When you link a resource to a Context in Hyper, we generate embeddings that stay automatically synced with changes to your data.
39
39
40
-
The combination of structure and context in Hypercode is a powerful tool for adding sophisticated natural language understanding into your apps. Instead of complex setups, you can simply write async code that directly leverages AI insights for real-time decision-making and content creation:
40
+
The combination of structure and context in Hypercode is a powerful tool for adding sophisticated natural language understanding to your apps. Instead of complex setups, you can simply write async code that directly leverages AI insights for real-time decision-making and content creation:
Make sure to replace `your_api_key_here` with your actual Hyper API key obtained from the Hyper app.
112
112
113
-
### Step 3: Import Hypercode in Your Project
113
+
### Step 3: Import Hypercode into Your Project
114
114
115
115
Import Hypercode in your JavaScript or TypeScript file to start using it:
116
116
@@ -127,11 +127,11 @@ const hyper = new Hyper(process.env.HYPER_API_KEY);
127
127
128
128
### Step 4: Start Querying
129
129
130
-
Now you're ready to start querying language models with your own created custom contexts with Hypercode!
130
+
Now you're ready to start querying language models with your own custom contexts created with Hypercode!
131
131
132
132
## Examples
133
133
134
-
**You can find diferent example code in the [examples](https://github.com/gethyperai/hypercode/tree/main/examples) folder.**
134
+
**You can find different example codes in the [examples](https://github.com/gethyperai/hypercode/tree/main/examples) folder.**
135
135
136
136
## Context Management
137
137
@@ -254,7 +254,7 @@ console.log(data);
254
254
255
255
## Wrapping Up
256
256
257
-
With Hypercode, integrating live, structured responses in specific `types` from language models into your application has never been easier. By handling the complexity of managing the `contexts` and response formatting, Hypercode empowers you to focus on creating dynamic and intelligent features that enhance user experience. With the powerful `search` feature, developers can perform nuanced search across integrated third-party data sources and internal documents to get the most relevant results from the context.
257
+
With Hypercode, integrating live, structured responses in specific `types` from language models into your application has never been easier. By handling the complexity of managing the `contexts` and response formatting, Hypercode empowers you to focus on creating dynamic and intelligent features that enhance the user experience. With the powerful `search` feature, developers can perform nuanced searchs across integrated third-party data sources and internal documents to get the most relevant results from the context.
258
258
259
259
Remember, the examples provided are just a starting point. The potential uses of Hypercode are limited only by your imagination and the needs of your application. Whether you're building smart assistants, data analysis tools, content generators, or any other AI-driven application, Hypercode is designed to streamline your workflow and bring the power of LLMs to your fingertips.
0 commit comments